Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions cagent-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -592,7 +592,8 @@
"fetch",
"api",
"a2a",
"lsp"
"lsp",
"user_prompt"
]
},
"instruction": {
Expand Down Expand Up @@ -755,7 +756,8 @@
"think",
"memory",
"script",
"fetch"
"fetch",
"user_prompt"
]
}
}
Expand Down
54 changes: 54 additions & 0 deletions examples/mcp-toolkit.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
#!/usr/bin/env cagent run

agents:
root:
model: anthropic/claude-opus-4-5
description: Discover and play with the MCP Toolkit.
welcome_message: |
🧰 Let's discover the MCP Toolkit!

I'm here to help you discover and configure **MCP Servers** from the Docker MCP Toolkit.

- 🌟 `List available MCP servers` — Browse the full catalog of MCP servers
- 🔥 `Enable/Activate servers` — Configure and add MCP servers to your setup
- 🎨 `Configure settings` — Set configuration options for your servers
- 💼 `Manage profiles` — Create and activate different server profiles

🎯 Try asking me:

- *"What MCP servers are available?"*
- *"Enable the GitHub server"*
- *"Show me servers for working with databases"*
- *"Create a new profile for my project"*
instruction: |
You have access to the MCP Gateway and its full MCP Servers catalog.

<instruction>
+ When searching for an MCP server, use the `mcp-list` tool to list all available MCP Servers.
+ Before adding an MCP Server, make sure it exists by using the `mcp-list` tool.
+ Enabling, Activating, Configuring an MCP Server are synonyms and require calling the `mcp-add` tool.
+ After enabling an MCP Server, give examples of what it can do, but be brief.
+ When enabling an MCP Server that offers multiple options (e.g the atlassian server can enable jira and/or confluence), ask the user which options they want to enable (with the `user_prompt` tool).
</instruction>

toolsets:
- type: script
shell:
mcp-list:
cmd: "docker mcp catalog show --format json | jq -r '.registry | to_entries[] | {key: .key, description: .value.description}'"
description: "List all the available MCP Servers in the MCP Catalog"
- type: user_prompt
- type: mcp
command: docker
args: ["mcp", "gateway", "run"]
tools: ["mcp-activate-profile", "mcp-add", "mcp-config-set", "mcp-create-profile", "mcp-remove"]

permissions:
allow:
- mcp-list
- mcp-activate-profile
- mcp-add
- mcp-config-set
- mcp-create-profile
- mcp-remove