You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/concepts/mcp.md
+6-2Lines changed: 6 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,10 +22,14 @@ The 🔱 [Model Context Protocol](https://modelcontextprotocol.io) (MCP) is a st
22
22
23
23
## Configuration
24
24
25
-
See [`mcp.yaml`](https://github.com/enola-dev/enola/blob/main/models/enola.dev/ai/mcp.yaml).
25
+
The `--mcp` CLI argument specifies which MCP servers are available to Agents.
26
+
27
+
If not specified it uses the built-in [`mcp.yaml`](https://github.com/enola-dev/enola/blob/main/models/enola.dev/ai/mcp.yaml) by default.
26
28
27
29
Use the names under the `servers:` key of a `mcp.yaml` in the `tools:` of [Agents](agent.md).
28
30
31
+
MCP servers are only started (or connected to), and queried for their 🧰 Tools, if any of the loaded `--agents` use them.
32
+
29
33
<!--
30
34
## Recommended
31
35
@@ -54,7 +58,7 @@ enola ai --agents=test/agents/everything.agent.yaml --in "Print environment vari
54
58
55
59
### Fetch
56
60
57
-
The [`fetch` MCP server](https://github.com/modelcontextprotocol/servers/tree/main/src/everything) can fetch a webpage, and extract its contents as Markdown:
61
+
The [`fetch` MCP server](https://github.com/modelcontextprotocol/servers/tree/main/src/fetch) can fetch a webpage, and extract its contents as Markdown:
58
62
59
63
```shell
60
64
enola ai -a test/agents/fetch.agent.yaml --in="What is on https://docs.enola.dev/tutorial/agents/ ?"
0 commit comments