developer

io.github.doc2mcpPublished by GitHub account doc2mcpv1.0.1782461537Updated Oct 24, 2026

MCP server for developer documentation, generated by doc2mcp.

VerifiedStreamable HTTPWeb executableKnowledge & MemoryDeveloper Tools

Overview

AI-generated overview

Hosted MCP endpoint that turns a crawled developer documentation site into tools an assistant can search, read and query with citations.

What you can do
  • List and read documentation pages: enumerate every crawled page and fetch the full markdown of a single page
  • Search documentation with heading-aware search and get a summary plus index of the whole site
  • Read all pages combined, or ask questions answered with citations
  • Each project gets its own hosted endpoint and token, generated from a docs URL
When to use it
Useful when you want an assistant to answer questions from a specific product or SDK documentation site without pasting pages into the chat, and you are willing to host that documentation through the doc2mcp service.
Requirements
A remote streamable HTTP endpoint at doc2mcp.site, reachable over the network. A project MCP token from the project's Connect tab, sent as a bearer token in the Authorization header. The documentation project itself is created on the doc2mcp site from a docs URL.
Before you install
The Authorization bearer token is a project credential and should be treated like a password; anyone holding it can use the endpoint. Documentation content is crawled and hosted by a third-party service, so anything in the source docs is sent to and stored by that provider.

Installation

In SourceWeft

  1. Open developer in the dashboard and add it to a workspace.
  2. Connect Authorization token credentials. They are stored privately and never shown on public pages.
  3. Enable the server for the chats that should use its tools.

Web executable via Streamable HTTP. Remote servers run from the web runtime once configured in a workspace.

Use with an agent

Paste this prompt into Claude Code, Codex, Cursor or another agent — or into SourceWeft chat. The agent reads this server's install guide, shows you its publisher, endpoint and sign-in, and adds it to your client once you agree. Keys never go into a command.

Read https://sourceweft.com/mcp/io.github.doc2mcp%2Fdeveloper/install.md and connect the MCP server it describes to my client. Before changing any config, show me its publisher, endpoint and sign-in method and wait for my OK. Never put an API key in a command or in a file I would commit; ask me where it should come from.

Read the install guide the agent follows

Other MCP clients

Add this to your client's mcpServers config.

{
  "mcpServers": {
    "developer": {
      "type": "http",
      "url": "https://doc2mcp.site/api/mcp/c7dd7af1-84b9-4bc3-a3e8-0b3a324c8413/mcp",
      "headers": {
        "Authorization": "Bearer <YOUR_TOKEN>"
      }
    }
  }
}

README

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

[MCP Registry] [npm CLI] [npm SDK] [License: MIT] [GitHub stars]

⭐ Star this repo — it helps developers discover doc2mcp on GitHub and the MCP Registry.


Three ways to use doc2mcp

[Web · CLI · SDK]

SurfaceBest forStart here
WebInstant convert in the browserdoc2mcp.site
CLITerminal + one-shot install into Cursornpm i -g doc2mcp
SDKCode, CI, LangChain / LangGraph / agentsdoc2mcp-sdk

API keys always come from doc2mcp.site (User PAT + project token). The SDK has no separate login.


The pipeline

[The doc2mcp pipeline]

Docs URL → crawl → analyze → MCP tools → hosted endpoint → Cursor / Claude / LangChain / LangGraph.


1) Web (normal)

  1. Sign in at doc2mcp.site/login
  2. Paste a docs URL (Stripe, LangChain, Mintlify, GitHub…)
  3. Copy the hosted MCP URL + Bearer token into Cursor / Claude / VS Code
json
{  "mcpServers": {    "my-docs": {      "url": "https://doc2mcp.site/api/mcp/{project_id}/mcp",      "headers": { "Authorization": "Bearer <project-token>" }    }  }}

2) CLI

bash
npm install -g doc2mcpdoc2mcp 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)

[SDK architecture]

bash
npm i doc2mcp-sdk
ts
import { Doc2MCP } from "doc2mcp-sdk";
// User PAT from doc2mcp.site / `npx doc2mcp login` — SDK has no auth of its ownconst 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):

doc2mcp/doc2mcp-sdk → docs/

Product docs page: doc2mcp.site/docs/sdk


MCP tools generated per project

ToolWhat it does
list_documentation_pagesEvery crawled page
get_documentation_pageFull markdown of one page
search_documentationHeading-aware search
get_documentation_overviewSummary + index
read_full_documentationAll pages combined
ask_documentationQ&A with citations

Repos

RepoPurpose
doc2mcp/doc2mcp (this)Next.js app, CLI, pipeline, MCP runtime
doc2mcp/doc2mcp-sdkProgrammatic JS/TS SDK + framework examples
doc2mcp/doc2mcp-registryMCP Registry gateway manifest

Contribute

  1. Read CONTRIBUTING.md and CODE_OF_CONDUCT.md
  2. Branch from staging → open PR → staging
  3. AI review (Gemini PR review) fails the check on must-fix — fix blockers before merge
  4. Coupon opensourcedoc2mcp → Starter free for 12 months on Pricing

More: doc2mcp.site/open-source

Local development

bash
pnpm installcp .env.example .env.localpnpm dev
bash
pnpm checkpnpm 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.

Source: README.md at commit 4fe7ee7

Tools

0
This server asks for a credential such as an API key, so SourceWeft could not read its tools without one and has not indexed them.

Version history

1
  1. v1.0.1782461537LatestSep 16, 2026

Score

60% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 daysRequired25 pts

    Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.

  • Auth declaredRequired10 pts
  • Tools listed15 pts

    Answer tools/list without a credential, or ship a package that starts in a sandbox without one.

  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts