File tree Expand file tree Collapse file tree 1 file changed +29
-12
lines changed
Expand file tree Collapse file tree 1 file changed +29
-12
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments