Skip to content

MCP server

Endpoint: https://linkmag.net/mcp. Transport: Streamable HTTP, stateless, POST only. Add it to your client as a remote MCP server.

Without a key, three tools work: audit_site, request_api_key and claim_api_key. Everything else needs an API key in the connection's Authorization: Bearer <key> header. Tools never take a key as an argument. claim_api_key does return the new key once in its result, so it appears in the chat transcript; to keep it out, claim the key with the shell client or the REST API instead.

Getting a key from inside a chat

  1. Call request_api_key. Show the user the code and link it returns.
  2. After they approve, call claim_api_key with the request_id and device_code. The key is in the result, and therefore in the transcript.
  3. The user adds the key to this connector's headers. Clients that cannot set headers can use the shell client or the REST API instead.

Tools

ToolKeyWhat it does
audit_sitenoAudit a page's Open Graph tags
request_api_keynoStart a key request
claim_api_keynoClaim the key after approval
list_sitesyesSites on the account
create_siteyesCreate a site
get_siteyesSite, domains with verification instructions, usage
delete_siteyesDelete a site
register_domainyesAdd a hostname, returns the DNS record and meta tag
verify_domainyesCheck DNS, then the meta tag
remove_domainyesRemove a hostname
get_install_snippetyesInstall code for a framework
render_previewyesCard URL for a path
set_templateyesLayout, colors, logo, caption, badge
get_usageyesRenders this month
purge_cacheyesDrop cached cards (Pro, Business)

Each result is markdown text plus structuredContent with the same data. Failures come back as tool errors whose text names the fix.

Agents can request any page on this site as markdown by sending Accept: text/markdown.