Connecting SMOC with MCP to Claude or Any other AI based client
Simple guide showing how to connect SMOC to AI clients and development tools using MCP (Model Context Protocol). Once connected, tools like Claude Desktop, Claude Code, Cursor, or VS Code can read your SMOC data directly — contacts, companies, company assets, flowcharts, flow analytics, LinkedIn inbox threads, and message-flow conversations — scoped to your company.
Get your API key
The SMOC MCP integration authenticates with a private API key. Generate one in the SMOC console:
- Go to Settings → Integrations → MCP.
- Generate a new key and copy it immediately — it's shown only once, so store it somewhere secure.
Your key is tied to your company. Every request made with it is automatically scoped to your data — you'll only ever see contacts, companies, analytics, inbox threads, and conversations that belong to you.
What you can access
After connecting, the following read-only tools become available (exact availability depends on your account's permissions and the server's configured bindings):
Discovery
whoami— current role, company scope, and permissionsmcp_capabilities— visible tools, skills, and anything currently unavailableskills_search— find a recipe from a short task phraseskills_get— exact inputs and an example for one skill
Companies & assets
companies_get— company profile (title, key, URL, languages, settings)company_assets_get— products, positioning, website links, and filescompany_asset_extraction_results_list— extraction result summariescompany_asset_extraction_results_get— one extraction result, optionally with extracted datacompany_asset_extraction_templates_list— templates, tags, and freshness
Super-user keys can also call companies_list to browse every company before selecting a companyId.
Contacts
contacts_search— search with filters, sort, and paginationcontacts_get— one sanitized contact by idcontacts_get_stats— counts and engagement summarycontacts_get_filter_options— valid filter values (location, flow, device, and similar)
Inbox & conversations
inbox_threads_list— LinkedIn (and other) inbox threads, with unread / unanswered / sender / flow filtersinbox_threads_get— one thread; setincludeMessages: trueto include recent messagesinbox_messages_list— message history for a thread, including merged peer threadsconversations_list— message-flow runs (enrollment, status, current node)conversations_get— one conversation run, including milestones
Inbox tools require the inbox:read permission. They can read message bodies. They cannot send replies, archive threads, or mark messages unread.
Flowcharts
flowcharts_list— static flowcharts for the companyflowcharts_get— one flowchart summary or full graphflowchart_recommendations_list— recommendation documents for a flowchart
Flow analytics
analytics_flow_list_flows— flows ranked by trafficanalytics_flow_kpis— totals, conversion, previous-period deltasanalytics_flow_timeseries— daily or monthly trendsanalytics_flow_dimension_metrics— breakdowns by device, country, language, UTM, or day of weekanalytics_flow_filter_values— valid analytics filter values
Customer keys are always limited to your own company. Super-user keys can pass companyId on scoped tools.
Connect to Claude Desktop
Claude Desktop's built-in connector UI uses OAuth and can't take a plain API key, so SMOC connects through a small local bridge (mcp-remote) configured in Claude Desktop's config file.
- Open Claude Desktop → Settings → Developer → Edit Config. This opens
claude_desktop_config.json. - Add SMOC under
mcpServers:
{
"mcpServers": {
"smoc": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://v2.api.smoc.ai/mcp",
"--header",
"Authorization: Bearer YOUR_SMOC_API_KEY"
]
}
}
}
- Replace
YOUR_SMOC_API_KEYwith the key you generated. - Save the file and restart Claude Desktop.
SMOC will now appear in your tools list. Requires Node.js installed (for npx).
Connect to Claude Code
Claude Code can talk to the SMOC endpoint directly with an authentication header — no bridge needed.
claude mcp add --transport http smoc https://v2.api.smoc.ai/mcp \
--header "Authorization: Bearer YOUR_SMOC_API_KEY"
On Claude Code 2.1.1 and newer you can also add it as JSON:
claude mcp add-json smoc \
'{"type":"http","url":"https://v2.api.smoc.ai/mcp","headers":{"Authorization":"Bearer YOUR_SMOC_API_KEY"}}'
Verify it connected by running /mcp inside a Claude Code session — SMOC should show as connected with its tools listed.
Connect to other clients (Cursor, VS Code, Windsurf, etc.)
Most MCP-capable editors use a JSON config file (often mcp.json). Add an HTTP server entry pointing at the SMOC endpoint with your key in the Authorization header:
{
"mcpServers": {
"smoc": {
"type": "http",
"url": "https://v2.api.smoc.ai/mcp",
"headers": {
"Authorization": "Bearer YOUR_SMOC_API_KEY"
}
}
}
}
Refer to your editor's MCP documentation for the exact file location. After saving, restart or reload the editor.
Verify the connection
- Health check: the endpoint exposes
GET https://v2.api.smoc.ai/mcp/health. - Identity check: ask the AI to run the
whoamitool — it returns who you're connected as and your company scope. This is the quickest way to confirm the key works.
Discovering tools
The AI doesn't need to know SMOC's tool names in advance. The intended flow is:
mcp_capabilities— lists the available tools, your role, and your scope.skills_search— describe the task in a short phrase to find the right tool.skills_get— returns the exact inputs and an example for the chosen tool.- Call the tool.
In practice you can just ask in plain language (e.g. "search my SMOC contacts in Oslo" or "show unanswered LinkedIn inbox threads") and the client picks the right tool.
Security notes
- Your API key is shown once at creation — store it in a password manager or environment variable.
- Never commit the key to a Git repository or paste it into a shared/public config.
- Generating a new key does not revoke existing keys. To revoke old keys, do so from the Clerk dashboard.
- All access is read-only and confined to your company's data. MCP cannot send LinkedIn messages, change contacts, or publish flows.
- Inbox and conversation tools need
inbox:readon the key. New keys from Settings → Integrations → MCP include it; older keys need a rotation.
Troubleshooting
- Tools are missing from the list: the AI can run
mcp_capabilitiesand checkunavailableTools— it names the exact missing permission your key needs. - Authentication fails: confirm the key is correct, hasn't been revoked, and that the header is exactly
Authorization: Bearer <key>. - Claude Desktop won't connect: make sure Node.js is installed, the config JSON is valid, and you fully restarted the app after editing the config.
Stay close to the shift in AI sales
Get product updates and perspective on proactive AI agents, multichannel orchestration, and conversion—without the noise.


