Model Context Protocol

Connect Claude to your MacroMkt org

MacroMkt ships a hosted MCP server at mcp.macromkt.com. Mint a long-lived token, paste it into your Claude config, and the 13+ MacroMkt tools show up in any chat — drafts, monitors, scans, history, weekly briefs.

Step 1

Mint an API token

Go to Settings → API Tokens and click New token. Pick a name (e.g. claude-laptop), then check only the scopes the session needs. Start narrow.

The plaintext value (mk_live_…) is shown once on the green card. Copy it before navigating away — we only store a hash.

Step 2

Wire it into Claude

Claude Code (CLI)

One command, scoped to your current project:

claude mcp add --transport http mktops https://mcp.macromkt.com/mcp \
  --header "Authorization: Bearer mk_live_PASTE_TOKEN_HERE"

Add --scope user to install for every project on your machine. Don't use --scope project with a real token — it gets written to a checked-in .mcp.json.

Claude Desktop

Open ~/Library/Application Support/Claude/claude_desktop_config.json (create it if missing) and add:

{
  "mcpServers": {
    "mktops": {
      "url": "https://mcp.macromkt.com/mcp",
      "transport": "http",
      "headers": {
        "Authorization": "Bearer mk_live_PASTE_TOKEN_HERE"
      }
    }
  }
}

Restart Claude Desktop. The mktops server should appear in the MCP indicator.

Step 3

Verify it's connected

In Claude Code, run /mcp — you should see mktops connected with 15 tools. In Claude Desktop, look for the MCP indicator in the bottom-right of the input box.

Then in any chat:

Use the mktops whoami tool.

Claude should call whoami and quote back your email, the active org, and the scopes carried by the token. If you see a 401, double-check the token; if you see a 403 on subsequent calls, mint a new token with the missing scope.

Tool reference

Scope gates are enforced server-side. A token missing a scope gets a clean 403 with the missing scope named in the body.

Read tools — safe to grant broadly

ToolScopeDoes
whoami(none)Confirm token + discover scopes
list_postsposts:readDrafts and published posts in the active org
get_postposts:readSingle post by id
list_credentialscredentials:readWired-up platform keys (masked)
list_monitorsmonitors:readConfigured monitors per platform
list_historyhistory:readRecent findings / events per platform
weekly_briefposts:read + history:readOne-shot 7-day digest
pending_draftsposts:readPosts awaiting human approval

Write tools — grant deliberately

ToolScopeDoes
create_draftdrafts:writePOST /api/posts
update_draftdrafts:writePUT /api/posts/{id}
delete_draftdrafts:writeDELETE /api/posts/{id}
publish_postposts:publishPOST /api/posts/{id}/publish
create_monitormonitors:writePOST /api/{platform}/monitors
delete_monitormonitors:writeDELETE /api/{platform}/monitors/{id}
run_scanscans:runPOST /api/{platform}/scan