Opencode
Connect Vue Docs MCP to Opencode.
Setup
Add to your Opencode configuration file. See the Opencode MCP docs for more info.
json
{
"mcp": {
"vue-docs": {
"type": "remote",
"url": "https://mcp.vue-mcp.org/mcp",
"enabled": true
}
}
}Verify
After saving, the Vue Docs tools should appear in the available tools list.
Usage
Ask about Vue:
- "How does computed caching work?"
- "Show me the
definePropsAPI" - "Compare
watchvswatchEffect"
Self-Hosted Server
For a self-hosted instance:
json
{
"mcp": {
"vue-docs": {
"type": "local",
"command": ["uv", "run", "--directory", "/path/to/vue-mcp", "vue-docs-server"],
"enabled": true
}
}
}