Loading...
Loading...
Find, install, and configure MCP servers. Use proactively for MCP discovery, OAuth setup, env vars, stdio vs SSE transport, or troubleshooting MCP connections. Examples: - user: "Add the filesystem MCP server" → read server file, add to mcpServers in opencode.json, verify transport type - user: "How do I use MCP with GitHub?" → check catalog, install @modelcontextprotocol/server-github, configure OAuth token - user: "MCP not connecting" → check transport type (stdio/SSE), verify args/command, check env vars are passed - user: "What MCPs are available?" → run list_mcps.py, show catalog with auth types and install commands
npx skill4agent add igorwarzocha/opencode-workflows mcp-installerpython3 ~/.config/opencode/skill/mcp-installer/scripts/list_mcps.pywebsearch("MCP server for [capability]")webfetch("https://github.com/modelcontextprotocol/servers")@modelcontextprotocol/server-*references/mcps/<name>.mdopencode.jsonreferences/mcps/<name>.mdopencode mcp auth <server-name>questionheaderlabel{
"mcp": {
"name": {
"type": "local",
"command": ["npx", "-y", "@package/name"]
}
}
}{
"mcp": {
"name": {
"type": "remote",
"url": "https://example.com/mcp"
}
}
}permission{
"permission": {
"my-mcp": "deny", // Disable all tools for this MCP
"my-mcp*": "deny" // Wildcard support
}
}{
"permission": {
"my-mcp": {
"safe_tool": "allow",
"risky_tool": "ask",
"*": "deny"
}
}
}tools:permission:opencode mcp auth <server-name>opencode mcp list| You need... | Read this file |
|---|---|
| All config options (local, remote, oauth, env vars) | |
| Common MCP server examples | |
| Troubleshooting issues | |
list_mcps.pyreferences/mcps/<name>.md---
name: mcp-name
url: https://github.com/org/repo
type: local|remote
auth: oauth|api-key|none
description: One-line description
tags: [tag1, tag2]
---
# Display Name
Brief description.
## Installation
\`\`\`jsonc
{
"mcp": {
"name": {
"type": "remote",
"url": "https://example.com/mcp"
}
}
}
\`\`\`
## Setup
Steps for auth, env vars, etc.
## Features
- Feature 1
- Feature 2
## Links
- [GitHub](url)python3 scripts/list_mcps.py| Field | Required | Purpose |
|---|---|---|
| Yes | MCP identifier (key in config) |
| No | Source URL |
| Yes | |
| Yes | |
| Yes | One-liner for catalog |
| No | Array of category tags |