API Docs/For AI Agents/Connect Your Agent
For Agents

Connect Your Agent

Connect Linkedmash to your AI agent over MCP in under a minute. Pick your client below, paste the config, and your agent gets the full Linkedmash tool set.

Linkedmash runs a hosted MCP server at https://mcp.linkedmash.com/api/mcp — pass your API token as a ?token= URL parameter, or an Authorization: Bearer header. Get an API token from your Integrations → API page.
Config file paths and formats vary by client and version — these are authored to each client's documented format, but treat them as a starting point and check your client's current docs. See the MCP client directory for the latest per-client setup.

The Linkedmash MCP server

apiDocs.connectAgent.serverIntro

text
# Streamable HTTP — the token rides in the URL
https://mcp.linkedmash.com/api/mcp?token=<your token>

# …or pass it as a header instead of the query param
Authorization: Bearer <your token>

Connect your client

Choose your agent or editor. Each tab has the exact config to copy, where it goes, and how to verify the connection.

1. Get a token

apiDocs.connectAgent.steps.tokenBody

2. Add the config

Open claude_desktop_config.json (Settings → Developer → Edit Config) and add a linkedmash entry under mcpServers:

claude_desktop_config.json
{
  "mcpServers": {
    "linkedmash": {
      "url": "https://mcp.linkedmash.com/api/mcp?token=<your token>"
    }
  }
}

3. Restart and verify

Fully quit and reopen your client so it loads the new MCP server, then ask the agent “how many saved posts do I have?” — a real answer means Linkedmash is connected.

4. Prefer a coding agent like Claude Code or Cursor? Install the Linkedmash skill with one command — npx skills add linkedmash/agent-skills.