LinkedMash

v1.2.0
io.github.linkedmash/linkedmash Checked 4 days ago Published 3 months ago

Search, label and export your LinkedIn saved posts, then draft, schedule and publish from them.

Values you need

VariableWhat it is
LINKEDMASH_TOKENrequired secret LinkedMash API token. Create one at https://www.linkedmash.com/integrations/api

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add linkedmash -e 'LINKEDMASH_TOKEN=<LINKEDMASH_TOKEN>' -- npx -y --package=@linkedmash/mcp@1.2.0 linkedmash-mcp
Add to claude_desktop_config.json
{
  "mcpServers": {
    "linkedmash": {
      "args": [
        "-y",
        "--package=@linkedmash/mcp@1.2.0",
        "linkedmash-mcp"
      ],
      "command": "npx",
      "env": {
        "LINKEDMASH_TOKEN": "<LINKEDMASH_TOKEN>"
      }
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "linkedmash": {
      "args": [
        "-y",
        "--package=@linkedmash/mcp@1.2.0",
        "linkedmash-mcp"
      ],
      "command": "npx",
      "env": {
        "LINKEDMASH_TOKEN": "<LINKEDMASH_TOKEN>"
      }
    }
  }
}
Add to .vscode/mcp.json
{
  "inputs": [
    {
      "description": "LINKEDMASH_TOKEN",
      "id": "linkedmash-token",
      "password": true,
      "type": "promptString"
    }
  ],
  "servers": {
    "linkedmash": {
      "args": [
        "-y",
        "--package=@linkedmash/mcp@1.2.0",
        "linkedmash-mcp"
      ],
      "command": "npx",
      "env": {
        "LINKEDMASH_TOKEN": "${input:linkedmash-token}"
      },
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.linkedmash]
command = "npx"
args = ["-y", "--package=@linkedmash/mcp@1.2.0", "linkedmash-mcp"]
env = { "LINKEDMASH_TOKEN" = "<LINKEDMASH_TOKEN>" }

Remote (hosted)

Run in a terminal
claude mcp add --transport http linkedmash https://mcp.linkedmash.com/api/mcp --header 'Authorization: <Authorization>'
Add to Settings → Connectors → Add custom connector (or claude_desktop_config.json via mcp-remote)
{
  "mcpServers": {
    "linkedmash": {
      "args": [
        "-y",
        "mcp-remote",
        "https://mcp.linkedmash.com/api/mcp",
        "--header",
        "Authorization: <Authorization>"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "linkedmash": {
      "headers": {
        "Authorization": "<Authorization>"
      },
      "url": "https://mcp.linkedmash.com/api/mcp"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "linkedmash": {
      "headers": {
        "Authorization": "<Authorization>"
      },
      "type": "http",
      "url": "https://mcp.linkedmash.com/api/mcp"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.linkedmash]
command = "npx"
args = ["-y", "mcp-remote", "https://mcp.linkedmash.com/api/mcp", "--header", "Authorization: <Authorization>"]

For AI agents

  1. Ask the user for: LINKEDMASH_TOKEN. Never invent or guess these values; secrets go into the client config, not into chat logs.
  2. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  3. Restart or reload the client so it starts the server.
  4. Verify: the server should expose these tools: search_docs, list_bookmarks, search_bookmarks, get_bookmark_count, list_labels, add_labels, remove_labels, tag_bookmarks_by_filter, ….
  5. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json