Skip to content

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

  1. Step 1

    Open opencode.json, or run opencode mcp add for a guided setup.

  2. Step 2

    Paste the server under mcp, with type remote and its address, or type local and its command.

  3. 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:

json
{
  "$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.

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.

Browse all 151 servers

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.

MCP setup for other AI tools