How to Use the HubSpot Service Hub MCP in Claude Code
Manage HubSpot Service Hub queues from the terminal. Claude Code executes ticket updates and pipeline queries via CLI.
Works with every AI agent you already use
…and any MCP-compatible client
Connect HubSpot Service Hub MCP to Claude Code
Create your Vinkius account to connect HubSpot Service Hub to Claude Code and route execution through our secure gateway. The platform manages server hosting, runtime updates, and security layers. Configuration requires no manual server provisioning.
Terminal Triage with Claude Code
`hs_search_tickets` queries your CRM directly from the command line. Claude Code accepts your search string, hits the endpoint, and pipes the matching subjects, priorities, and creation dates into your standard output. You get instant visibility into open cases without opening a browser. Once you identify a critical issue, the agent fires `hs_update_ticket` to escalate it. It targets the specific HubSpot ID, bumps the priority to HIGH, and shifts the pipeline stage. This happens entirely within your terminal session.
Pipeline Monitoring via Cron
`hs_tickets_by_status` retrieves all cases sitting in a specific stage, like Waiting on Us. You can run Claude Code in a headless cron job to pull this queue depth every hour using the MCP integration. It checks the volume and flags anomalies in your support load. To ensure accuracy, the script runs `hs_ticket_pipelines` first to grab the current stage IDs. If your support operations team modifies the workflow, the CLI tool adapts automatically by fetching the fresh layout before querying the queues.
Automated Incident Ticketing
`hs_create_ticket` pushes new cases into your support queue the moment a server alert fires. Claude Code reads the failure logs, formats them into a detailed description, and assigns the ticket to the correct pipeline. This connects your infrastructure alerts directly to the customer support team. After resolving the incident, the agent pulls recent metrics using `hs_list_feedback`. It checks if the downtime impacted your daily CSAT or CES scores. You review the raw customer responses right in your shell to measure the fallout.
Set up HubSpot Service Hub MCP in Claude Code
Prerequisites
- Claude Code CLI installed (
npm install -g @anthropic-ai/claude-code) - Active Vinkius subscription with a valid endpoint token
- 1
Run the add command
Open your terminal and run the command shown on the right. Replace
[YOUR_TOKEN_HERE]with your endpoint token from cloud.vinkius.com. Use--scope userto make it available across all projects. - 2
Verify the connection
Start a Claude Code session and type
/mcpto list connected servers. You should seehubspot-service-hub-mcpwith a green status indicator. - 3
Start using tools
Ask Claude Code something like "Check my latest HubSpot Service Hub transactions." It will automatically discover and invoke the available HubSpot Service Hub tools.
claude mcp add --transport http hubspot-service-hub-mcp https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp Why Choose Vinkius
Vinkius connects your tools to AI with real-time monitoring and automatic cost savings — all from one dashboard.
Real-time monitoring
Live
visibility into every interaction
Connect your favorite tools to your AI and see exactly what's happening — every request, every response, in real time.
Built-in savings
60%
lower AI costs
Vinkius compresses data between your apps and your AI automatically. Lower bills every month — no configuration required.
Single dashboard
One
place for every integration
Every tool your AI connects to, managed from a single screen. One account, complete control.
Common questions about HubSpot Service Hub MCP in Claude Code
Use it with your favorite AI tools
Connect this server to Cursor, Claude, VS Code, and more.
Start using the HubSpot Service Hub MCP today
We host it, we monitor it, we maintain it. You just paste one token.