Skip to content
VS Code

HubSpot for VS Code

io.github.ohneben/hubspot-mcp

HubSpot API: 1,000+ endpoints as safety-categorized, hub- and plan-aware MCP tools, stdio or HTTP.

client:VS Code transport:stdio runtime:oci

Install HubSpot in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "mcp-transport",
      "description": "MCP_TRANSPORT",
      "password": true
    },
    {
      "type": "promptString",
      "id": "hubspot-access-token",
      "description": "HUBSPOT_ACCESS_TOKEN",
      "password": true
    },
    {
      "type": "promptString",
      "id": "hubspot-base-url",
      "description": "HUBSPOT_BASE_URL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "hubspot-tool-mode",
      "description": "HUBSPOT_TOOL_MODE",
      "password": true
    },
    {
      "type": "promptString",
      "id": "hubspot-read-only",
      "description": "HUBSPOT_READ_ONLY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "hubspot-capability-check",
      "description": "HUBSPOT_CAPABILITY_CHECK",
      "password": true
    },
    {
      "type": "promptString",
      "id": "mcp-auth-token",
      "description": "MCP_AUTH_TOKEN",
      "password": true
    }
  ],
  "servers": {
    "hubspot-mcp": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/ohneben/hubspot-mcp:2.0.1"
      ],
      "env": {
        "MCP_TRANSPORT": "${input:mcp-transport}",
        "HUBSPOT_ACCESS_TOKEN": "${input:hubspot-access-token}",
        "HUBSPOT_BASE_URL": "${input:hubspot-base-url}",
        "HUBSPOT_TOOL_MODE": "${input:hubspot-tool-mode}",
        "HUBSPOT_READ_ONLY": "${input:hubspot-read-only}",
        "HUBSPOT_CAPABILITY_CHECK": "${input:hubspot-capability-check}",
        "MCP_AUTH_TOKEN": "${input:mcp-auth-token}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

HubSpot in other clients