Corsen Context — Next.js WebMCP demo
This page is agent-native. The same four tools are exposed over three surfaces from a single definition — no scraping, no guessing the DOM.
- /llms.txt — static overview for discovery
POST /v1/mcp— MCP endpoint for agents outside the browserdocument.modelContext— WebMCP, for an agent running inside this page
Ask the agent
In a WebMCP-capable browser (Chrome with chrome://flags/#enable-webmcp-testing, or an agent browser with built-in support), the agent can call these tools directly:
search_site— search content by keywordget_page_content— read a page as clean markdownlist_content— browse by typeget_sitemap— the structured sitemap
Try: “Search this site for AI context, then summarise the top result.”
Or call it directly
curl -X POST http://localhost:3000/v1/mcp \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","method":"tools/call","id":1,\
"params":{"name":"search_site","arguments":{"query":"AI"}}}'Powered by Corsen Context — Built by Corsen AI