KosmoKrator

marketing

HubSpot MCP, CLI, and Lua Integration for AI Agents

HubSpot integration docs for AI agents: MCP gateway setup, HubSpot CLI commands, Lua API reference, credentials, and function schemas.

7 functions 6 read 1 write Manual OAuth token auth

HubSpot for agents

Credentials can be configured manually in web or CLI hosts.

Use this integration from Lua code mode, the headless integrations CLI, or the KosmoKrator MCP gateway. The same package metadata powers all three surfaces.

Machine-Readable Metadata
integration_slug
hubspot3
route_slug
hubspot3
package
hubspot3
auth_strategy
oauth2_manual_token Manual OAuth token
cli_setup_supported
true
cli_runtime_supported
true
mcp_gateway_supported
true
lua_supported
true
supports_multi_account
true

Quick Links

HubSpot MCP Client Matrix

Use these pages when a specific agent client or framework needs copy-pasteable MCP setup for HubSpot.

HubSpot CLI Matrix

Use these pages for direct HubSpot CLI workflows in scripts, CI, cron, and agent wrappers.

Function Catalog

FunctionTypeParametersDescription
hubspot3.hubspot3_list_contacts Read read 3 List HubSpot contacts. Returns contact IDs, emails, names, and associated company IDs. Use limit and offset for pagination, and properties to select specific fields.
hubspot3.hubspot3_get_contact Read read 1 Retrieve a HubSpot contact by its ID (vid). Returns the full contact profile including all properties, form submissions, and lists.
hubspot3.hubspot3_create_contact Write write 6 Create a new HubSpot contact. Requires an email address. Optionally set first name, last name, phone, company, and other properties. Returns the created contact with its ID.
hubspot3.hubspot3_list_companies Read read 3 List HubSpot companies. Returns company IDs, names, domains, and other properties. Use limit and offset for pagination.
hubspot3.hubspot3_get_company Read read 1 Retrieve a HubSpot company by its ID. Returns the full company profile including name, domain, industry, and other properties.
hubspot3.hubspot3_list_deals Read read 3 List HubSpot deals. Returns deal IDs, names, stages, amounts, and associated contacts/companies. Use limit and offset for pagination.
hubspot3.hubspot3_get_current_user Read read 0 Retrieve the currently authenticated HubSpot user's information. Returns the user's ID, email, name, and portal information. Useful for identifying which account or token is in use.