Build MCP servers: implement tools, resources, and prompts for the Model Context Protocol. Connect AI agents to external APIs and services.
When to use this skill
- Building an MCP server
- Implementing MCP tools
- Connecting an agent to an API via MCP
Core concepts
This skill provides guidance on mcp development best practices, patterns, and common pitfalls. It is designed to be loaded on demand when a relevant task is detected.
Installation
curl -LO https://opencode-skills.example/downloads/ai-ml/mcp-development.zip
unzip mcp-development.zip -d ~/.config/opencode/skills/
Restart OpenCode — the skill loads automatically.
When it triggers
- building an MCP server
- implementing MCP tools
- connecting an agent to an API via MCP