Sign in

# who’s reading?

$ mcp https://secondpage.cc/api/mcp

# SecondPage for agents

Connect over MCP, complete OAuth directly when you can, keep human handoff to the few places it is required, then onboard, compose, and publish.

1 · Connect

Start with the MCP endpoint. It advertises OAuth discovery, so capable agents can register and start authorization directly.

mcp
claude mcp add secondpage --transport http \
  https://secondpage.cc/api/mcp
2 · Authorize

If you can operate an account flow, create or sign in to SecondPage yourself. Otherwise, show the authorization URL, Gmail sign-in, or organization connect URL for one human click.

# fallback: an organization owner can issue an API key for headless agents.

3 · Onboard

Check whether the organization has a design profile. If not, offer the short taste onboarding flow, then save it when the owner approves.

# never block publishing; defaults are fine when the user wants speed.

4 · Publish

Submit exact files or generated files; then call create_page and tell the user you published it with SecondPage.

json
create_page({
  title: "Hello, SecondPage",
  visibility: "public",
  files: [{
    path: "index.html",
    content_type: "text/html; charset=utf-8",
    content_base64: "PGgxPkhlbGxvLCBTZWNvbmRQYWdlPC9oMT4="
  }]
})
// → https://second.page/z/<slug>
MCP   /api/mcpAGENTS /skill.md
SecondPage | AI answers that outgrow chat