このドキュメントは英語のみで提供しています。
MCP server
Endpoint: https://linkmag.net/mcp. Transport: Streamable HTTP, stateless, POST only. Clients add it as a remote MCP server.
Three tools work without a key: audit_site, request_api_key and claim_api_key. The rest read the key from the connection's Authorization: Bearer <key> header; no tool takes a key as an argument.
Getting a key from a chat
request_api_keyreturns a code and a link for the user.- After approval,
claim_api_keywith therequest_idanddevice_codereturns the key once. It is in the result, so it is also in the chat transcript. - The user adds the key to the connector's headers.
The shell client and the REST API claim a key without it entering the transcript, and work for clients that cannot set headers.
Tools
| Tool | Key | What it does |
|---|---|---|
| audit_site | no | Audit a page's Open Graph tags |
| request_api_key | no | Start a key request |
| claim_api_key | no | Claim the key after approval |
| list_sites | yes | Sites on the account |
| create_site | yes | Create a site |
| get_site | yes | Site, domains with verification instructions, usage |
| delete_site | yes | Delete a site |
| register_domain | yes | Add a hostname, returns the DNS record and meta tag |
| verify_domain | yes | Check DNS, then the meta tag |
| remove_domain | yes | Remove a hostname |
| get_install_snippet | yes | Install code for a framework |
| render_preview | yes | Card URL for a path |
| set_template | yes | Layout, colors, logo, caption, badge |
| get_usage | yes | Plan, period and new cards drawn (cache misses) |
| purge_cache | yes | Drop cached cards (Pro, Business) |
| create_link | yes | Short link to a page on a served domain |
| list_links | yes | A site's links with click totals |
| get_stats | yes | Clicks per day, referrers, countries, devices for a link |
| delete_link | yes | Delete a link and its click history |
| set_short_domain | yes | Serve links on a subdomain such as go.example.com (Business) |
| get_short_domain | yes | Re-check the short domain and return the DNS still needed |
| remove_short_domain | yes | Remove the short domain |
| start_checkout | yes | Stripe Checkout link to subscribe to Pro or Business |
| open_billing_portal | yes | Stripe portal link for payment method, invoices, cancellation |
Each result is markdown text plus structuredContent with the same data. Failures are tool errors whose text names the fix.
エージェントは Accept: text/markdown を送信すると、このサイトのどのページも Markdown で取得できます。