Skip to content

Give agents & MCP their own docs page - #558

Merged
abernier merged 1 commit into
mainfrom
docs-agents-page
Aug 11, 2026
Merged

Give agents & MCP their own docs page#558
abernier merged 1 commit into
mainfrom
docs-agents-page

Conversation

@abernier

Copy link
Copy Markdown
Member

The getting-started page had grown a tail about llms.txt and the MCP server that had nothing to do with getting started, and the MCP part was one line deep (npx @modelcontextprotocol/inspector, no context) -- it never said what the server exposes, nor how a library gets served by it.

What's here

  • New Agents page (/agents/introduction, last in the nav) holding both sections, moved out of getting-started, which keeps a three-line pointer.
  • Fleshed-out MCP section: what the two resources and the tool return, a concrete index-then-fetch round-trip, the pmndrs/claude-code-plugin shortcut for claude-code, a walk through the inspector (screenshot), and Getting your library served -- the three steps for a library to earn the MCP badge: publish /llms-full.txt, check it, flip llms_full: true in libs.
  • Dropped the /api/sse claims from the manifest served to agents and from the docs. The legacy SSE transport needs a Redis instance to relay messages between the SSE stream and /api/message; this deployment has none and passes no redisUrl, so GET https://docs.pmnd.rs/api/sse never answers -- verified in prod, it hangs until the 60s timeout. Only streamable HTTP at /api/mcp works.

Notes

  • No changeset: site content plus a manifest string, nothing downstream consumers pin.
  • /api/sse stays routable (/api/[transport] matches any segment) and hangs rather than failing fast. Returning a 404 for any transport other than mcp would be a separate change -- happy to add it here if wanted.

🤖 Generated with Claude Code

https://claude.ai/code/session_013ongoBHFSoa6KgksdTTQ86

The getting-started page had grown a tail about llms.txt and the MCP
server that had nothing to do with getting started, and the MCP part was
one line deep -- it never said what the server exposes or how a library
gets served by it.

Move both sections to their own "Agents" page, last in the nav, and
flesh out the MCP one: what the resources and the tool return, a
concrete index-then-fetch round-trip, the claude-code plugin, a walk
through the inspector, and the three steps for a library to get served.

Also drop the /api/sse claims from the manifest and the getting-started
page: the SSE transport needs a Redis instance to relay messages, which
this deployment does not have, so that endpoint never answers.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013ongoBHFSoa6KgksdTTQ86
@abernier
abernier merged commit 9ecdf25 into main Aug 11, 2026
8 of 9 checks passed
@abernier
abernier deleted the docs-agents-page branch August 11, 2026 10:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant