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

Connect Your Agent

The LinkedMash saved posts MCP server connects to any MCP client 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

Every client below points at the same hosted server over Streamable HTTP. The token rides in the URL, so one link works everywhere (an Authorization: Bearer header is accepted too):

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

Generate an API token from Integrations → API and keep it handy. Replace &lt;your token&gt; below with it. Treat it like a password — never commit or share it.

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.