We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/gilby125/opencode-mcp-tool'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
how-it-works.md•1.02 kB
# How It Works
## Natural Language Workflow Integration
The opencode-mcp-tool is designed to seamlessly integrate into your natural workflow with your preferred MCP compliant AI clients, achieved through carefully crafted tools and pipelines.
Claude automatically decides when to use `ask-opencode` based on context:
- Comparative analysis – different AI perspectives for validation
- Leveraging extra tools – OpenCode search and memory functions
- Code review and big changes – second opinions on implementation
- Creative problem solving – brainstorming and ideation
This selection enhances your workflow when OpenCode's capabilities add value.
## Workflow Diagram
```
You → "ask opencode..." → Claude
Claude → invokes 'ask-opencode' → OpenCode-MCP-Tool
OpenCode-MCP-Tool → spawn! → OpenCode-CLI
OpenCode-CLI → reads → @Files
OpenCode-CLI → response → OpenCode-MCP-Tool
OpenCode-MCP-Tool → response → Claude
Claude → summary response → You
Claude → edits → @Files
```