streamable-httpMITupdated 1mo ago
Paste any docs URL β get a hosted, Cursor-ready MCP server in under 60 seconds.
What can you do with agentverse?
doc2mcp
Documentation infrastructure for AI agents
Paste any docs URL β get a hosted, Cursor-ready MCP server in under 60 seconds.
Live Β· Docs Β· SDK Β· Marketplace Β· Open Source
β Star this repo β it helps developers discover doc2mcp on GitHub and the MCP Registry.
Three ways to use doc2mcp

| Surface | Best for | Start here |
|---|---|---|
| Web | Instant convert in the browser | doc2mcp.site |
| CLI | Terminal + one-shot install into Cursor | npm i -g doc2mcp |
| SDK | Code, CI, LangChain / LangGraph / agents | doc2mcp-sdk |
API keys always come from doc2mcp.site (User PAT + project token). The SDK has no separate login.
The pipeline

Docs URL β crawl β analyze β MCP tools β hosted endpoint β Cursor / Claude / LangChain / LangGraph.
1) Web (normal)
- Sign in at doc2mcp.site/login
- Paste a docs URL (Stripe, LangChain, Mintlify, GitHubβ¦)
- Copy the hosted MCP URL + Bearer token into Cursor / Claude / VS Code
{
"mcpServers": {
"my-docs": {
"url": "https://doc2mcp.site/api/mcp/{project_id}/mcp",
"headers": { "Authorization": "Bearer <project-token>" }
}
}
}
2) CLI
npm install -g doc2mcp
doc2mcp login # creates User PAT (d2mcp_pat_β¦)
doc2mcp https://docs.example.com
Lists the same projects as the dashboard. Install helpers for Cursor / VS Code / Claude / Windsurf.
3) SDK (doc2mcp-sdk)

npm i doc2mcp-sdk
import { Doc2MCP } from "doc2mcp-sdk";
// User PAT from doc2mcp.site / `npx doc2mcp login` β SDK has no auth of its own
const client = new Doc2MCP({ token: process.env.DOC2MCP_API_TOKEN! }); // Settings β d2mcp_usr_β¦
const ready = await client.convertAndWait({
sourceUrl: "https://js.langchain.com/docs",
});
const answer = await client.callToolText({
mcpUrl: ready.mcp.url,
mcpToken: ready.mcp.token, // project token d2mcp_β¦
name: "search_documentation",
arguments: { query: "how do runnables work?" },
});
Full handbook (API keys, Cursor, Claude, LangChain, LangGraph, LangSmith, OpenAI, Vercel AI SDK, CrewAI, AutoGen, Mastra):
Product docs page: doc2mcp.site/docs/sdk
MCP tools generated per project
| Tool | What it does |
|---|---|
list_documentation_pages |
Every crawled page |
get_documentation_page |
Full markdown of one page |
search_documentation |
Heading-aware search |
get_documentation_overview |
Summary + index |
read_full_documentation |
All pages combined |
ask_documentation |
Q&A with citations |
Repos
| Repo | Purpose |
|---|---|
| doc2mcp/doc2mcp (this) | Next.js app, CLI, pipeline, MCP runtime |
| doc2mcp/doc2mcp-sdk | Programmatic JS/TS SDK + framework examples |
| doc2mcp/doc2mcp-registry | MCP Registry gateway manifest |
Contribute
- Read CONTRIBUTING.md and CODE_OF_CONDUCT.md
- Branch from
stagingβ open PR βstaging - AI review (
Gemini PR review) fails the check on must-fix β fix blockers before merge - Coupon
opensourcedoc2mcpβ Starter free for 12 months on Pricing
More: doc2mcp.site/open-source
Local development
pnpm install
cp .env.example .env.local
pnpm dev
pnpm check
pnpm exec tsc --noEmit --skipLibCheck
CI / CD
Feature β staging (preview) β main β v* tag deploys production on Vercel.
PR checks: Biome/Ultracite, TypeScript, Next build, CLI build, Gemini AI review (must-fix β failed check).
License
MIT β see LICENSE.
Install
Add agentverse to your client. Pick the one you use.
claude mcp add --transport http agentverse https://doc2mcp.site/api/mcp/353ba712-2c3b-4699-9c58-0dc4e54ff4eb/mcpcodex mcp add agentverse --url https://doc2mcp.site/api/mcp/353ba712-2c3b-4699-9c58-0dc4e54ff4eb/mcp{
"mcpServers": {
"agentverse": {
"url": "https://doc2mcp.site/api/mcp/353ba712-2c3b-4699-9c58-0dc4e54ff4eb/mcp"
}
}
}Add to `~/.cursor/mcp.json`, or `.cursor/mcp.json` for a single project.
{
"servers": {
"agentverse": {
"type": "http",
"url": "https://doc2mcp.site/api/mcp/353ba712-2c3b-4699-9c58-0dc4e54ff4eb/mcp"
}
}
}Add to `.vscode/mcp.json` in your workspace.
{
"mcpServers": {
"agentverse": {
"url": "https://doc2mcp.site/api/mcp/353ba712-2c3b-4699-9c58-0dc4e54ff4eb/mcp"
}
}
}Add to `claude_desktop_config.json`, then restart Claude Desktop.
{
"mcpServers": {
"agentverse": {
"serverUrl": "https://doc2mcp.site/api/mcp/353ba712-2c3b-4699-9c58-0dc4e54ff4eb/mcp"
}
}
}Add to `~/.codeium/windsurf/mcp_config.json`.
Score
39 / 100
Incomplete
- Documentation25/25
- Maintenance16/25
- Trust13/20
- Capability0/15
- Install experience12/15
- Documents what it does and how to connect
- Has a resolvable package or endpoint
- Exposes at least one tool, prompt or resource
- README has substantive content
- Includes a code example
- Documents its configuration
- Mentions credentials or security posture
- Last commit 30 days ago
- Has a release history
- Repository is not archived
- Licensed MIT
- Namespace verified in the official MCP registry
- Claimed by its owner
- Published under an organisation
- 0 tool(s) documented
- Provides prompt templates
- Provides resources
- 6 documented install method(s)
- Published to a package registry
- Offers a hosted endpoint β no local install
Version history
| Versions | Published |
|---|---|
| 1.0.1781779784Latest | Jun 18, 2026 |
| 1.0.1781647733 | Jun 16, 2026 |