What can OpenCode use?
| Client | Tools | Prompts | Resources | Remote | stdio | OAuth | Sampling | Elicit | Roots | Apps | Skills | Hooks | Rules |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| OpenCode | YesOpenCode connects to a server and exposes its tools. Names look like server_tool. source · 2026-11-29 | YesOpenCode lists prompts and turns each one into a slash command named server:prompt. source · 2026-11-29 | YesAgents read resources with the built-in list_mcp_resources and read_mcp_resource tools. source · 2026-11-29 | YesA remote server uses Streamable HTTP. opencode mcp add takes the URL, and the config type is remote. source · 2026-11-29 | YesA local server is a command array OpenCode starts over stdio. The config type is local. source · 2026-11-29 | YesOAuth is on for remote servers unless oauth is false. OpenCode discovers the authorization server, uses PKCE, and can use CIMD or dynamic registration. source · 2026-11-29 | UnknownThe MCP server docs does not say whether this works. source · 2026-11-29 | YesOpenCode shows MCP elicitation as a form, or as a link when the server asks you to open a URL. source · 2026-11-29 | UnknownA pooled connection is documented to have no roots. The page does not say whether a normal connection answers roots/list. source · 2026-11-29 | UnknownThe MCP server docs does not say whether this works. source · 2026-11-29 | YesOpenCode reads .opencode/skills, ~/.config/opencode/skills, and the Claude and .agents skill folders. source · 2026-11-29 | UnknownThe MCP server docs does not say whether this works. source · 2026-11-29 | UnknownThe MCP server docs does not say whether this works. source · 2026-11-29 |
- MCP toolsYes · checked 2026-11-29
The client can call tools a server exposes, through tools/list and tools/call.
OpenCode connects to a server and exposes its tools. Names look like server_tool.
- MCP promptsYes · checked 2026-11-29
The client can list prompt templates a server exposes and run one.
OpenCode lists prompts and turns each one into a slash command named server:prompt.
- MCP resourcesYes · checked 2026-11-29
The client can list resources a server exposes and read one into the conversation.
Agents read resources with the built-in list_mcp_resources and read_mcp_resource tools.
- Remote HTTPYes · checked 2026-11-29
The client connects to a hosted MCP server by URL. Streamable HTTP is the current remote transport; some docs still mention the older SSE transport beside it.
A remote server uses Streamable HTTP. opencode mcp add takes the URL, and the config type is remote.
- Local stdioYes · checked 2026-11-29
The client starts a local server process and talks to it over standard input and output.
A local server is a command array OpenCode starts over stdio. The config type is local.
- OAuthYes · checked 2026-11-29
The client runs MCP OAuth for a remote server: discover the authorization server, open a browser sign-in, and store the token.
OAuth is on for remote servers unless oauth is false. OpenCode discovers the authorization server, uses PKCE, and can use CIMD or dynamic registration.
- SamplingUnknown · checked 2026-11-29
The client lets a server ask it for a model completion. The MCP spec deprecated sampling in revision 2026-07-28.
The MCP server docs does not say whether this works.
- ElicitationYes · checked 2026-11-29
The client lets a server ask the person for input in the middle of a call, as a form or by opening a URL.
OpenCode shows MCP elicitation as a form, or as a link when the server asks you to open a URL.
- RootsUnknown · checked 2026-11-29
The client answers roots/list, so a server knows which directories it may touch.
A pooled connection is documented to have no roots. The page does not say whether a normal connection answers roots/list.
- MCP appsUnknown · checked 2026-11-29
The client can show interactive UI that an MCP tool returns (the MCP Apps extension). The same tool still returns normal text where the client cannot draw that UI.
The MCP server docs does not say whether this works.
- Agent skillsYes · checked 2026-11-29
The client loads Agent Skills, a folder with a SKILL.md file, and follows the skill when a task matches its description.
OpenCode reads .opencode/skills, ~/.config/opencode/skills, and the Claude and .agents skill folders.
- HooksUnknown · checked 2026-11-29
The client runs a command or prompt you configure when something happens in the session, such as before a tool call.
The MCP server docs does not say whether this works.
- Rules filesUnknown · checked 2026-11-29
The client reads a project rules file, such as CLAUDE.md or AGENTS.md, into the session.
The MCP server docs does not say whether this works.
Other clients: Claude Code · Claude Desktop / claude.ai · ChatGPT · Cursor · VS Code · Codex · Gemini CLI · Copilot CLI · Windsurf · Zed · Kiro · Cline
MCP servers to connect · agent skills to install
FAQ
What MCP features does OpenCode document?+
MCP tools, MCP prompts, MCP resources, Remote HTTP, Local stdio, OAuth, Elicitation
Does OpenCode support agent skills?+
OpenCode reads .opencode/skills, ~/.config/opencode/skills, and the Claude and .agents skill folders.