OpenCode MCP Servers
151 MCP servers that work in OpenCode, each with its exact setup. Connect your AI to the tools you already use.
- Works with
- 151 servers
- Settings live in
- ~/.config/opencode/opencode.json (all projects) or opencode.json in a project
- Plans
- OpenCode is free and open source. You pay only for the AI model you connect.
How to add an MCP server to OpenCode
Step 1
Open opencode.json, or run opencode mcp add for a guided setup.
Step 2
Paste the server under mcp, with type remote and its address, or type local and its command.
Step 3
Run opencode mcp list to check it; sign in with opencode mcp auth <name>.
Every server page below has this filled in for you, with a one-click link where OpenCode supports one. This is what it looks like:
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"notion": {
"type": "remote",
"url": "https://mcp.notion.com/mcp",
"enabled": true
}
}
}Signing in: OpenCode opens the sign-in page on first use, or run opencode mcp auth and the server name.
MCP servers give OpenCode access to your tools. To teach it how to do a job well, see the skills that work in OpenCode.
How MCP works in OpenCode
- OpenCode version 2 changed the format: servers now sit under mcp.servers, and you turn one off with disabled: true. Examples written for version 1 (servers directly under mcp, with enabled: false) won't work unchanged.
- Local servers use stdio and remote servers Streamable HTTP. Each server can opt in to the newer 2026-07-28 MCP protocol revision with the protocol option.
- Remote servers get OAuth on their own: OpenCode signs in when a server asks. opencode mcp debug and the server name tests the connection and the sign-in.
- There's no tool limit, but every connected tool uses up context; the docs name the GitHub server as one that can fill it. Turn on only the servers you need.
Checked against the official documentation on October 26, 2026.
12 servers to connect first in OpenCode
Picked for the way people use OpenCode: the servers most worth connecting first. Each one has its own page with the exact setup.
Context7Pull current, version-specific library docs and code examples into Claude
GitHub MCP ServerManage repositories, issues, pull requests and Actions on GitHub from Claude
Playwright MCPLet Claude drive a real browser to click, type, fill forms and read pagesFilesystem MCP ServerGive Claude controlled read and write access to chosen folders on your computer
Git MCP ServerRead history, diffs and branches and make commits in a local Git repository
Fetch MCP ServerFetch any web page and convert it to markdown Claude can read in chunks
Exa MCPAI-native web search and clean page reading, free to try with no API keyBrave Search MCP ServerWeb, news, image, video and local search from Brave's own independent index, with $5 of free calls a month
Memory MCP ServerGive Claude a local knowledge graph of people, projects and facts that lasts across chats
Sequential Thinking MCP ServerA structured scratchpad that helps Claude work through hard problems one step at a time
Supabase MCP ServerManage Supabase projects, run SQL, apply migrations and deploy Edge Functions
DeepWiki MCPAsk questions about any public GitHub repository using DeepWiki's generated docs
All 151 servers that work in OpenCode, by category
Every server in the directory that OpenCode can connect, grouped by what it reaches. Open a category to see the servers in it.
Frequently asked questions
How do I add an MCP server to OpenCode?
Add it to opencode.json under mcp, with type remote and url for a hosted server, or type local and command for one on your computer. opencode mcp add walks you through it.
Why is OpenCode's format different?
OpenCode uses a top-level mcp key and puts the command and its arguments in one list, with environment variables under environment.
Does OpenCode support sign-in for MCP servers?
Yes, it detects when a server needs a sign-in, opens the browser, and keeps the token. opencode mcp auth list shows the status.