Skip to content

Commit bd4b4de

Browse files
committed
docs
1 parent 726217b commit bd4b4de

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

docs/configuration.md

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,22 @@ There are 3 ways to configure ECA following this order of priority:
5252

5353
For models configuration check the [dedicated models section](./models.md#adding-and-configuring-models).
5454

55+
## MCP
56+
57+
For MCP servers configuration, use the `mcpServers` config, example:
58+
59+
`.eca/config.json`
60+
```javascript
61+
{
62+
"mcpServers": {
63+
"memory": {
64+
"command": "npx",
65+
"args": ["-y", "@modelcontextprotocol/server-memory"]
66+
}
67+
}
68+
}
69+
```
70+
5571
## Rules
5672

5773
Rules are contexts that are passed to the LLM during a prompt and are useful to tune prompts or LLM behavior.
@@ -98,22 +114,6 @@ There are 3 possible ways to configure rules following this order of priority:
98114
}
99115
```
100116

101-
## MCP
102-
103-
For MCP servers configuration, use the `mcpServers` config, example:
104-
105-
`.eca/config.json`
106-
```javascript
107-
{
108-
"mcpServers": {
109-
"memory": {
110-
"command": "npx",
111-
"args": ["-y", "@modelcontextprotocol/server-memory"]
112-
}
113-
}
114-
}
115-
```
116-
117117
## Custom command prompts
118118

119119
You can configure custom command prompts for project, global or via `commands` config pointing to the path of the commands.

0 commit comments

Comments
 (0)