Connecting AI Agents via MCP
The Helmdesk MCP (Model Context Protocol) server lets AI assistants like Claude Desktop, Cursor, Windsurf, and Claude Code interact with your helpdesk using natural language. Your AI agent can triage tickets, draft replies, search your knowledge base, and send emails — no code required.
What is MCP?
MCP is an open protocol that lets AI assistants connect to external tools and data sources. Instead of copying and pasting information between your helpdesk and your AI assistant, MCP gives the AI direct access to your support queue.
Prerequisites
Step 1: Create a Scoped API Key
tickets:read, tickets:write, articles:read, and ai:useStep 2: Configure Your AI Client
Claude Desktop
Add this to your claude_desktop_config.json:
{
"mcpServers": {
"helmdesk": {
"command": "npx",
"args": ["-y", "@helmdesk/mcp"],
"env": {
"HELMDESK_API_KEY": "sk_live_your_key_here"
}
}
}
}
On macOS, the config file is at ~/Library/Application Support/Claude/claude_desktop_config.json. On Windows, it is at %APPDATA%\Claude\claude_desktop_config.json.
Cursor / VS Code
Add the same block to your .cursor/mcp.json or VS Code MCP settings file.
Claude Code (CLI)
claude mcp add helmdesk -- npx -y @helmdesk/mcp
export HELMDESK_API_KEY="sk_live_your_key_here"
Step 3: Start Using It
Once connected, just talk to your AI assistant in natural language. Here are some things you can say:
The AI assistant automatically discovers the available tools and calls them based on your request.
Available Tools
The MCP server provides 9 tools:
Troubleshooting
"API key lacks the required scope" — Your key does not have permission for the operation. Edit the key in your dashboard and add the missing scope.
"IP address is not allowed" — The request came from an IP not in the key's allowlist. Add the IP or remove the allowlist.
MCP server not connecting — Make sure Node.js 18+ is installed and npx is in your PATH. Test manually with HELMDESK_API_KEY=sk_live_... npx @helmdesk/mcp.
Was this article helpful?