Build your link in bio with an agent
Page exposes a real Model Context Protocol server at https://yourspage.com/mcp after the owner signs in with Clerk. Agents can list blocks, create or update drafts, and theme a page. They cannot charge a card or publish.
What connects
- Streamable HTTP MCP at /mcp (robots disallow applies; OAuth still required).
- OpenAPI for tool shapes.
- Clerk OAuth metadata at /.well-known/oauth-authorization-server and protected-resource at /.well-known/oauth-protected-resource/mcp.
- Human-oriented steps in build.md and llms.txt.
What agents can and cannot do
After sign-in, agents can read the block catalog, check username availability, create or update drafts, set theme tokens, and unfurl URLs for icons. They cannot publish, charge a card, or fetch another person's draft. Public pages stay HTML at https://yourspage.com/username.
Implementation lives in src/app/mcp/route.ts and src/lib/mcp/register.ts in this repository.
FAQs
Does the Page MCP publish my page?
No. MCP tools save drafts for the signed-in owner. Publishing still happens in the dashboard checkout.
Is there an API key?
No. Agents use OAuth through Clerk. Metadata lives at /.well-known/oauth-authorization-server and /.well-known/oauth-protected-resource/mcp.
Which tools are on the MCP server?
list_catalog, get_account, check_username, create_page, get_page, update_profile, replace_blocks, update_theme, and unfurl_url. OpenAPI is at /openapi.json.
Can an agent read someone else's page?
No. get_page only returns pages the signed-in owner already has. Public pages are HTML at https://yourspage.com/username.