
docs2mcp
com.docs2mcp由 docs2mcp.com 发布官方发布者v1.0.1更新于 Oct 24, 2026
Query your own PDFs and documents from any MCP client. Every answer cites the page it came from.
概览
托管型 MCP 服务器,让助手检索并阅读你自己上传的 PDF 和文档,每个回答都标注到具体页面与区域。
- 可以做什么
- 对文档做语义搜索,可按文档或集合筛选,返回带引用的段落、页码和来源链接
- 列出文档及其集合、页数和状态,并查看单个文档的详情
- 获取单个元素及其上下文,表格单元格会返回完整表格行
- 列出你的集合
- 在浏览器中打开任一引用结果,定位到原始页面和区域进行核对
- 适用场景
- 适合让 AI 客户端基于你自己的文档库而非通用知识作答:按文件填写问卷、比较两份合同、两个报告版本或两版规格说明,或把答案与引用来源页面逐一核对。
- 运行要求
- 需要支持 Streamable HTTP 的远程 MCP 客户端,无需安装任何东西。使用 OAuth 2.1 授权并支持动态客户端注册,因此不需要客户端 id 或密钥。需先在 docs2mcp 应用站点上传文档,并在上传所用的同一浏览器中批准访问。可能受套餐限制,工具调用会返回配额错误。
安装
在 SourceWeft 中
- 打开 控制台中的 docs2mcp,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。
交给智能体安装
把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。
阅读 https://sourceweft.com/mcp/com.docs2mcp%2Fdocs2mcp/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。其他 MCP 客户端
把它添加到你客户端的 mcpServers 配置中。
{
"mcpServers": {
"docs2mcp": {
"type": "http",
"url": "https://mcp.docs2mcp.com/mcp"
}
}
}README
docs2mcp
Ask questions about your own PDFs and documents from Claude, ChatGPT, Cursor, and any other AI client. Every answer is cited to the exact page and region it came from.
Website: https://docs2mcp.com · App: https://app.docs2mcp.com
This repository documents how to connect to the hosted docs2mcp MCP server. It contains no server code: docs2mcp is a hosted service, not something you run.
Every result carries a link that opens the source document in your browser, at the exact page and region the answer came from. Click through it to check the answer against the original instead of taking it on faith.
Because your whole library stays searchable across every conversation, you can point an AI client at a questionnaire and have it fill in each answer straight from your documents, or ask it to compare two contracts, two report versions, or two spec revisions and summarize what changed.
The server
| Endpoint | https://mcp.docs2mcp.com/mcp |
| Transport | Streamable HTTP |
| Authentication | OAuth 2.1. docs2mcp is a resource server; it verifies tokens and never issues them |
| Discovery | GET /.well-known/oauth-protected-resource/mcp (RFC 9728), which a client follows from the 401 challenge |
| Dynamic client registration | Supported. You never need a client id or secret |
| Health | GET /health, no credential required |
There is nothing to install. Add the endpoint above to your MCP client, approve access in the browser it opens, and your documents are queryable.
Getting an account
- Go to https://app.docs2mcp.com and upload documents. No account is needed to start.
- Sign up to keep them. Signing up converts the same library in place, so nothing you uploaded is lost.
- Connect a client using the steps below, and approve access when the browser opens.
Approve in the same browser you uploaded from. The anonymous session that holds your documents lives in that browser, and approving from a different one grants access to an empty library.
Tools
Five, each answering one job rather than exposing one table.
| Tool | What it does |
|---|---|
search_documents | Semantic search across your documents. Returns cited passages with page numbers and a link that opens the source at the right region. Filterable by document or collection |
list_documents | Lists your documents, with collection, page count and status |
get_document | One document's detail |
get_element | One element, with surrounding context. Returns a full table row where the element is a table cell |
list_collections | Lists your collections |
Every search result carries a source_url that opens the source document in a
browser at the exact page and region the text came from.
Connecting a client
Every walkthrough ends the same way: the client opens your browser, you choose Allow, and the tools appear. Only the first step differs.
Claude Desktop
- Open Claude Desktop and go to Settings → Connectors.
- Choose Add custom connector.
- Paste
https://mcp.docs2mcp.com/mcpas the URL, name itdocs2mcp, and save. - Claude opens your browser and asks whether to give it access. Choose Allow.
- The connector reads Connected. Start a new chat and ask about your documents.
Claude (web)
- Open claude.ai and go to Customize → Connectors.
- Click +, then choose Add custom connector.
- Paste
https://mcp.docs2mcp.com/mcpas the URL, name itdocs2mcp, and save. - Choose Allow when asked.
- The connector reads Connected.
Claude Code
claude mcp add --transport http docs2mcp https://mcp.docs2mcp.com/mcp
Then run /mcp, pick docs2mcp, and choose Authenticate. Claude Code opens
your browser. Choose Allow. /mcp now lists docs2mcp as connected.
Cursor
-
Open Settings → Tools & Integrations and choose New MCP Server. Cursor opens its
mcp.json. -
Add docs2mcp and save:
{ "mcpServers": { "docs2mcp": { "url": "https://mcp.docs2mcp.com/mcp" } } } -
Cursor shows docs2mcp as needing a login. Click it, then choose Allow.
VS Code
Two ways. The guided one first.
- Open the Command Palette and run MCP: Add Server.
- Choose HTTP (HTTP or Server-Sent events).
- Paste
https://mcp.docs2mcp.com/mcp, name itdocs2mcp, and choose Workspace or Global.
Or write it into mcp.json yourself: .vscode/mcp.json for one workspace, or
the file that MCP: Open User Configuration opens for every workspace:
{
"servers": {
"docs2mcp": {
"type": "http",
"url": "https://mcp.docs2mcp.com/mcp"
}
}
}
VS Code drives the OAuth round trip itself and opens a browser on the first
connection. Choose Allow. No clientId is needed: that is only for
servers without dynamic registration, and docs2mcp supports it.
ChatGPT
- Go to Settings → Apps → Advanced settings and turn on Developer mode.
- Back in Settings → Apps, choose Create.
- Name it
docs2mcp, pastehttps://mcp.docs2mcp.com/mcpas the server URL, confirm you trust the provider, and create it. - Choose Allow when ChatGPT sends you to approve access.
- In a chat, enable
docs2mcpfrom the + menu. This is per conversation, not once.
Perplexity
- Open Account settings → Connectors.
- Click + Custom connector, then choose Remote.
- Name it
docs2mcp, pastehttps://mcp.docs2mcp.com/mcpas the MCP Server URL, set Transport to Streamable HTTP and Authentication to OAuth. Leave the client id and secret empty: docs2mcp supports dynamic registration, so they are not needed. - Tick the acknowledgement box and click Add.
- Click the new connector card to sign in, and choose Allow.
Gemini CLI
gemini mcp add --transport http docs2mcp https://mcp.docs2mcp.com/mcp
Then start gemini and run /mcp auth docs2mcp. Choose Allow in the browser
it opens.
Codex CLI
codex mcp add registers stdio servers only, so a remote server is written into
the config by hand.
-
Add docs2mcp to
~/.codex/config.toml:[mcp_servers.docs2mcp] url = "https://mcp.docs2mcp.com/mcp" -
Run
codex mcp login docs2mcp. -
Choose Allow in the browser it opens.
Copilot Studio
Not the Copilot app: copilot.microsoft.com cannot add a custom MCP server.
- Open your agent in Copilot Studio and go to its Tools page.
- Select Add a tool → New tool → Model Context Protocol.
- Fill in the server name, description, and
https://mcp.docs2mcp.com/mcpas the server URL. - Choose OAuth 2.0, then Dynamic discovery, and select Create.
- Select Next, then Create a new connection, and choose Allow.
- Select Add to agent.
Any other client
-
Add a remote MCP server over HTTP and paste
https://mcp.docs2mcp.com/mcp. Clients call this a custom connector, a remote server, or Streamable HTTP. -
If your client only accepts a command to run, it speaks stdio. Bridge it:
npx -y mcp-remote https://mcp.docs2mcp.com/mcp -
Choose Allow in the browser it opens.
Which of these have been run end to end
Claude Desktop, Claude Code and Cursor were proven against the live product.
Claude web, VS Code, ChatGPT, Perplexity, Gemini CLI, Codex CLI and Copilot Studio were written from each vendor's own documentation and have not been run end to end here.
Settings screens and CLI flags move faster than this file does. If a step is wrong, please open an issue. Wrong instructions are worse than absent ones.
Troubleshooting
The client says it cannot reach the server. Check the URL ends in /mcp.
You approved access but the library is empty. You approved from a different browser than the one you uploaded from. Sign in to app.docs2mcp.com first, then approve again.
The client asks for a client id and secret. It should not. docs2mcp supports dynamic client registration. Leave both empty.
A tool call returns a quota error. Check your plan and usage at app.docs2mcp.com.
Support and issues
Open an issue in this repository for anything about connecting: a step that has gone stale, a client that is not listed, or documentation that is wrong.
For account, billing or data questions, use the contact routes at docs2mcp.com.
License
The contents of this repository are MIT licensed. The docs2mcp service itself is commercial; see docs2mcp.com/terms/.
Author
Bojan Gasparovic (https://zeroemdashes.com)
来源:README.md,提交 d6985cc
工具
0版本历史
1- v1.0.1最新Sep 16, 2026
评分
已满足适用检查项的 85%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通必需25 分
- 已声明认证方式必需10 分
- 已列出工具必需15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分
