Saltar al contenido

Esta documentación solo está disponible en inglés.

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

  1. request_api_key returns a code and a link for the user.
  2. After approval, claim_api_key with the request_id and device_code returns the key once. It is in the result, so it is also in the chat transcript.
  3. 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

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_usageyesPlan, period and new cards drawn (cache misses)
purge_cacheyesDrop cached cards (Pro, Business)
create_linkyesShort link to a page on a served domain
list_linksyesA site's links with click totals
get_statsyesClicks per day, referrers, countries, devices for a link
delete_linkyesDelete a link and its click history
set_short_domainyesServe links on a subdomain such as go.example.com (Business)
get_short_domainyesRe-check the short domain and return the DNS still needed
remove_short_domainyesRemove the short domain
start_checkoutyesStripe Checkout link to subscribe to Pro or Business
open_billing_portalyesStripe 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.

Los agentes pueden pedir cualquier página de este sitio en markdown enviando Accept: text/markdown.