Skip to content

Connect your AI

kan.fyi runs an MCP server at mcp.kan.fyi. Connect a client to it once and your AI can publish on your behalf from then on.

1. Mint a token

In Settings → Access tokens, create one. It is shown once, so copy it then. See Tokens.

2. Connect the client

claude mcp add --transport http kan https://mcp.kan.fyi --header "Authorization: Bearer kan_pat_YOUR_TOKEN"
--transport http is required, not decorative. Without it the client treats the URL as a command to execute and the connection fails in a way that doesn’t mention transports at all.

3. Ask for a site

“Make a landing page for my coffee cart and publish it to kan.”

You get a link back in the conversation.

Any MCP client works

Anything that speaks Streamable HTTP. Claude Code, Claude Desktop and Cursor are just the ones with snippets above.

If it doesn’t connect

A bare 401 means “no token”, not “server down”. The server answers 401 with a WWW-Authenticate: Bearer challenge to any request without valid credentials, including one you make by hand in a browser. Seeing it means you reached us and weren’t authenticated — check the header, not the URL.

If the token is right and it still fails, confirm the transport flag. Those two account for essentially every failed connection.