MCP for AI tools
Point your AI host at Motif's HTTP MCP endpoint. Authenticate with a Bearer API key minted on Account. There is no binary to download.
1. Mint a key
Sign in, open Account, create an API key. Copy the secret once. It starts with mtk_live_ or mtk_test_. Revoke it on the same page.
2. Connect the host
claude mcp add --transport http motif https://api.motiftrace.com/mcp \
--header "Authorization: Bearer mtk_live_YOUR_KEY"
[mcp_servers.motif]
url = "https://api.motiftrace.com/mcp"
headers = { Authorization = "Bearer ${MOTIF_API_KEY}" }
- Grok CLI: url form plus Authorization header, same as above.
- Codex: mcp_servers.motif url + http headers.
- OpenCode: type remote/http, url https://api.motiftrace.com/mcp, Authorization header.
What it can read
- list_websites: sites on the authenticated account.
- analytics_snapshot: one website, including the channel recommendation.
- A website_id from another account returns not found.
- Unauthenticated requests return 401. Keys are read-only.