mcp-setup
Add and configure MCP servers in OpenCode, local or remote, including OAuth auth
Skill by BA-CalderonMorales
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/ba-calderonmorales-mcp-setup-be0f2d
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: security, agent-building
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/mcp-setup
What's inside
- Skill name
mcp-setup- Description
- Add and configure MCP servers in OpenCode, local or remote, including OAuth auth
- License
- MIT
- Instructions
- 42 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# MCP Setup
MCP (Model Context Protocol) adds external tools alongside OpenCode's built-ins.
## When to use
- You need GitHub, Context7, Sentry, or a custom tool exposed to the agent
- You want to wire up OAuth for a remote server
## Steps
1. Add a server:
```bash
# Remote (HTTP)
opencode mcp add context7 --url https://mcp.context7.com/mcp
# Local (stdio)
opencode mcp add everything -- npx -y @modelcontextprotocol/server-everything
# Add it to the global config instead of this project
opencode mcp add context7 --global --url https://mcp.context7.com/mcp
```
2. Check the connection status:
```bash
opencode mcp list
```
3. Authenticate an OAuth-enabled remote server:
```bash
opencode mcp auth sentry
opencode mcp auth # pick from the OAuth-capable servers
```
4. Drop stored credentials when you need to re-sign-in:
```bash
opencode mcp logout sentry
```
## Config format
Servers live under `mcp.servers` in v2, and the on/off flag is `disabled`:
```jsonc
{
"mcp": {
"servers": {
"context7": {
"type": "remote",
"url": "https://mcp.context7.com/mcp",
"headers": { "CONTEXT7_API_KEY": "{env:CONTEXT7_API_KEY}" }
},
"everything": {
"type": "local",
"command": ["npx", "-y", "@modelcontextprotocol/server-everything"],
"cwd": "."
}
}
}
}
```
Remote servers use OAuth by default. Set `"oauth": false` when the server only takes an API key or a static header.
## Removing a server
Delete its entry from the config file where it was added. There is no `mcp remove` command.
## Tips
- MCP servers eat context. Keep the list short.
- `/mcps` in the TUI shows the same status as `opencode mcp list`, and lets you connect, disconnect, or authenticate.
- See https://opencode.ai/v2/docs/mcp-servers/From BA-CalderonMorales/opencode-cheat-sheet, MIT.
More from BA-CalderonMorales/opencode-cheat-sheet
Signals
- Stars
- 2
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Oct 24, 2026 (5 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Website
- opencode.ai/
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from BA-CalderonMorales
- 0.616score
mcp-setup
BA-CalderonMorales
Configure Model Context Protocol servers to extend Kimi capabilities
SkillAFreshness: A★ 6Claude Code +9 - 0.616score
thinking-mode
BA-CalderonMorales
Decide when to enable or disable thinking mode based on the task
SkillAFreshness: A★ 6Claude Code +9 - 0.613score
session-management
BA-CalderonMorales
Use sessions effectively for multi-turn problem solving
SkillAFreshness: A★ 6Claude Code +9 - 0.592score
session-management
BA-CalderonMorales
List, resume, fork, export, and import OpenCode sessions from the CLI
SkillAFreshness: A★ 2Claude Code +9 - 0.592score
plan-mode
BA-CalderonMorales
Use OpenCode Plan agent and Tab switching to propose changes before editing
SkillAFreshness: A★ 2Claude Code +9 - 0.498score
project-management
BA-CalderonMorales
Manage projects, tasks, and workflows with Codex; use when project planning, task tracking, or team coordination is mentioned.
SkillDFreshness: D★ 34Claude Code +9
Cite this page
mcp-setup skill. Agent Mart. https://agentmart.dev/skills/ba-calderonmorales-mcp-setup-be0f2d (last updated 2026-10-24)