Türkçe sürüm: docs/tr/integration/opencode.md
Use mcp-code in OpenCode when the agent needs semantic repository workflows instead of low-level file manipulation.
{
"mcpServers": {
"mcp-code": {
"command": "node",
"args": ["/absolute/path/to/mcp-code/dist/index.js"],
"env": {
"MCP_CODE_CONFIG": "/absolute/path/to/mcp-code.config.json"
}
}
}
}The repository includes the same shape in examples/hosts/opencode.json.
- Resolve the target area with
resolve_code_slice. - Summarize responsibilities and risks with
explain_slice. - Plan the intended change with
plan_safe_edit. - Apply only approved edits through
apply_safe_edit. - Inspect dependents with
analyze_impact. - Validate touched scope through
verify_slice.
Last updated: 2026-03-10