Skip to content

Commit c2a8a35

Browse files
committed
docs
1 parent 6299fb8 commit c2a8a35

File tree

1 file changed

+29
-12
lines changed

1 file changed

+29
-12
lines changed

docs/configuration.md

Lines changed: 29 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -56,19 +56,36 @@ For providers and models configuration check the [dedicated models section](./mo
5656

5757
### MCP
5858

59-
For MCP servers configuration, use the `mcpServers` config, example:
60-
61-
`.eca/config.json`
62-
```javascript
63-
{
64-
"mcpServers": {
65-
"memory": {
66-
"command": "npx",
67-
"args": ["-y", "@modelcontextprotocol/server-memory"]
59+
For MCP servers configuration, use the `mcpServers` config, examples:
60+
61+
=== "Example 1"
62+
63+
`~/.config/eca/config.json`
64+
```javascript
65+
{
66+
"mcpServers": {
67+
"memory": {
68+
"command": "npx",
69+
"args": ["-y", "@modelcontextprotocol/server-memory"]
70+
}
71+
}
6872
}
69-
}
70-
}
71-
```
73+
```
74+
75+
=== "Example 2"
76+
77+
`~/.config/eca/config.json`
78+
```javascript
79+
{
80+
"mcpServers": {
81+
"cool-mcp": {
82+
"command": "bash",
83+
"args": ["-c", "my-cool-mcp"],
84+
"env": {"FOO" "bar"}
85+
}
86+
}
87+
}
88+
```
7289

7390
### Approval / permissions
7491

0 commit comments

Comments
 (0)