Skip to content

Commit 5783fdd

Browse files
author
chaodu-agent
committed
docs: add Model Selection and MCP Usage sections to devin.md
Addresses 覺渡 review findings #2 and #3 — adds model selection instructions and MCP configuration guide to match cursor.md depth.
1 parent f1ec047 commit 5783fdd

1 file changed

Lines changed: 42 additions & 0 deletions

File tree

docs/devin.md

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,48 @@ Devin CLI provides:
9797
- **Session persistence**: Conversation history saved and resumable
9898
- **Models**: SWE-1.6 series with adaptive routing
9999

100+
## Model Selection
101+
102+
Devin CLI uses its own model routing by default (SWE-1.6 series). To specify a model at startup:
103+
104+
```toml
105+
[agent]
106+
command = "devin"
107+
args = ["acp", "--model", "opus"]
108+
working_dir = "/home/agent"
109+
```
110+
111+
Available models can be checked via the interactive CLI with `/model`. In ACP mode, the `--model` flag selects the model for the session.
112+
113+
## MCP Usage
114+
115+
Devin CLI supports MCP servers configured via `.devin/config.json` or `devin mcp add`:
116+
117+
```bash
118+
# Add an MCP server (persists in ~/.config/devin/)
119+
kubectl exec -it deployment/openab-devin -- devin mcp add github \
120+
-- npx -y @modelcontextprotocol/server-github
121+
122+
# List configured servers
123+
kubectl exec -it deployment/openab-devin -- devin mcp list
124+
```
125+
126+
MCP configuration can also be placed in the project's `.devin/config.json`:
127+
128+
```json
129+
{
130+
"mcpServers": {
131+
"github": {
132+
"command": "npx",
133+
"args": ["-y", "@modelcontextprotocol/server-github"],
134+
"env": { "GITHUB_TOKEN": "ghp_xxx" }
135+
}
136+
}
137+
}
138+
```
139+
140+
Devin CLI supports both stdio and HTTP (Streamable HTTP + SSE fallback) transports.
141+
100142
## AGENTS.md Compatibility
101143

102144
Devin CLI reads `AGENTS.md` from the project root — the same file OpenAB already uses. It also reads `CLAUDE.md` (for Claude Code compatibility) and rules from `.cursor/rules/` and `.windsurf/rules/`.

0 commit comments

Comments
 (0)