MCP server for opencode documentation, generated by doc2mcp.
Opencode MCP server is a hosted integration for AI assistants that speak the Model Context Protocol. MCP server for opencode documentation, generated by doc2mcp.
⭐ Star this repo — it helps developers discover doc2mcp on GitHub and the MCP Registry.
Once Opencode is connected, these are the calls the assistant has available:
list_documentation_pages — Every crawled pageget_documentation_page — Full markdown of one pagesearch_documentation — Heading-aware searchget_documentation_overview — Summary + indexread_full_documentation — All pages combinedask_documentation — Q&A with citationsBeing a remote server, there is no local install. You register the endpoint with your client, authorise it once, and the tools appear.
You will need one environment variable: DOC2MCP_API_TOKEN. The server will not start without them, which is usually why the tools fail to appear on a first run. Keep credentials in your client's env block or a secrets manager rather than in a file you might commit.
Among the knowledge and memory options, the useful question is rarely "what can it do" but "what does it cost you to run" — permissions, credentials, and how much of your context its toolset consumes. Opencode's toolset — list_documentation_pages, get_documentation_page, search_documentation and 3 more — is a fair guide to whether it matches your workflow. It is maintained by doc2mcp; worth a glance at recent repository activity before you build anything load-bearing on it.
SyncDev reviews every entry in this directory against the project's own documentation before publishing, and revisits them as servers change.
| 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 |
{
"mcpServers": {
"my-docs": {
"url": "https://doc2mcp.site/api/mcp/{project_id}/mcp",
"headers": { "Authorization": "Bearer <project-token>" }
}
}
}Configuration as documented by the project. Restart the client after saving.
| Variable | Description | Required |
|---|---|---|
| DOC2MCP_API_TOKEN | Credential the server authenticates with. | Yes |
A knowledge graph your assistant keeps between sessions — entities, relations and observations that persist.
Kill hallucinated APIs — version-accurate, up-to-date library documentation injected straight into context.
Your workspace, on speaking terms with AI — search, read and write Notion pages and databases.
A structured scratchpad for hard problems — stepwise reasoning with revisions, branches and visible logic.
Symbol-level code navigation, refactoring and memory for coding agents — the IDE brain your assistant has been missing.
Chat with your second brain — search, read and write vault notes through the Local REST API.