opencode-docs-mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@opencode-docs-mcpHow do I set up MCP servers in OpenCode?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
OpenCode Docs MCP Server
A Mintlify-style MCP server that enables AI models to search and browse the OpenCode documentation.
β¨ Features
Full-text search across 33+ documentation pages
Category browsing (Getting Started, Usage, Configure, Develop)
Page retrieval with full markdown content
Auto-discovery of documentation pages from navigation
Auto-updating index that refreshes every 24 hours
Mintlify-style tool descriptions and responses
Related MCP server: FireScrape MCP Server
π Quick Start
Option 1: Remote Server (Recommended - No Installation)
Just add a URL to your MCP config:
{
"mcpServers": {
"opencode-docs": {
"name": "opencode-docs",
"url": "https://tryinspector.com/api/opencode-docs/mcp",
"headers": {}
}
}
}Option 2: NPX (Local)
{
"mcpServers": {
"opencode-docs": {
"command": "npx",
"args": ["-y", "opencode-docs-mcp"]
}
}
}β οΈ Using nvm, fnm, or volta? You need the full path to npx:
# Find your npx path which npx # Example: /Users/you/.nvm/versions/node/v20.19.5/bin/npxThen use the full path in your config:
{ "mcpServers": { "opencode-docs": { "command": "/Users/you/.nvm/versions/node/v20.19.5/bin/npx", "args": ["-y", "opencode-docs-mcp"] } } }
Option 3: Global Install
npm install -g opencode-docs-mcp{
"mcpServers": {
"opencode-docs": {
"command": "opencode-docs-mcp"
}
}
}π¦ MCP Client Configuration
Cursor
Add to ~/.cursor/mcp.json:
{
"mcpServers": {
"opencode-docs": {
"name": "opencode-docs",
"url": "https://tryinspector.com/api/opencode-docs/mcp",
"headers": {}
}
}
}Claude Desktop
Add to ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"opencode-docs": {
"url": "https://tryinspector.com/api/opencode-docs/mcp"
}
}
}OpenCode
Add to your opencode.json:
{
"mcp": {
"opencode-docs": {
"type": "remote",
"url": "https://tryinspector.com/api/opencode-docs/mcp"
}
}
}π Available Tools
Tool | Description |
| Search docs by query, returns relevant pages with contextual snippets and links |
| Get full content of a specific documentation page by path |
| Get complete table of contents with all categories and pages |
π Documentation Categories
Category | Pages | Topics |
Getting Started | 7 | Intro, Config, Providers, Network, Enterprise, Troubleshooting, Migration |
Usage | 8 | TUI, CLI, Web, IDE, Zen, Share, GitHub, GitLab |
Configure | 14 | Tools, Rules, Agents, Models, Themes, Keybinds, MCP Servers, etc. |
Develop | 4 | SDK, Server, Plugins, Ecosystem |
π Example Usage
Once connected, AI models can use the tools like:
User: "How do I configure MCP servers in OpenCode?"
AI calls: SearchOpenCodeDocs({ query: "configure MCP servers" })
Returns:
### 1. [MCP servers](https://opencode.ai/docs/mcp-servers/)
**Category:** Configure
Add external tools to OpenCode using the Model Context Protocol...π Self-Hosting
Deploy to Vercel
The remote server endpoint can be added to any Next.js project. See the source for the API route implementation.
Run Locally
git clone https://github.com/anthropics/opencode-docs-mcp
cd opencode-docs-mcp
npm install
npm run build
npm run scrape # Pre-populate the docs index
npm startπ§ Development
# Install dependencies
npm install
# Build
npm run build
# Watch mode
npm run dev
# Re-scrape docs
npm run scrape
# Run locally
npm startπ€ Contributing
Fork the repository
Create your feature branch (
git checkout -b feature/amazing-feature)Commit your changes (
git commit -m 'Add amazing feature')Push to the branch (
git push origin feature/amazing-feature)Open a Pull Request
π License
MIT - see LICENSE for details.
π Links
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityDmaintenanceEnables AI assistants to search documentation of packages and services to find implementation details, examples, and specifications.MIT
- Alicense-qualityDmaintenanceEnables AI models to search the web using DuckDuckGo, scrape webpage content in markdown format, and browse/read local files for code analysis and debugging.81MIT
- Alicense-qualityDmaintenanceEnables searching and reading of PortOne documentation, including OpenAPI schemas and product guides, through the Model Context Protocol. It allows AI agents to easily access and integrate payment-related technical specifications into their workflows.9ISC
- Flicense-qualityDmaintenanceEnables AI agents to search and retrieve Holochain documentation, including developer guides, HDK functions, and HDI API references.2
Related MCP Connectors
Provide your AI coding tools with token-efficient access to up-to-date technical documentation forβ¦
Search @imqueue docs and scaffold typed services & clients from your AI coding agent.
Token-efficient search for coding agents over public and private documentation.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/sandbox-technologies/opencode-docs-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server