Connect the MultitaskAI MCP server to Docker Agent
Docker Agent, formerly cagent, defines agents in YAML. Add MultitaskAI as a remote MCP toolset on your agent with its URL and your API key.
Endpoint
Text
https://mcp.multitaskai.com
Steps
- Create an API key in your MultitaskAI account.
- Open your agent's YAML file.
- Add the toolset below to the agent's toolsets, with your key in place of YOUR_API_KEY, and save the file.
- Run the agent with docker agent run and ask which MultitaskAI tools it can use.
YAML
toolsets:
- type: mcp
remote:
url: "https://mcp.multitaskai.com"
transport_type: "streamable"
headers:
Authorization: "Bearer YOUR_API_KEY"
Authentication
Docker Agent sends your MultitaskAI API key in the Authorization header. Create a key in your account and use it in place of YOUR_API_KEY. Keep the key out of files you share or commit.
Text
Authorization: Bearer YOUR_API_KEY
Good to know
- The toolset goes under an agent, for example agents.root.toolsets.
- Header values support ${env.VAR}, so "Bearer ${env.MULTITASKAI_API_KEY}" keeps the key out of the file.
- Without headers, Docker Agent runs the OAuth sign-in in your browser instead.
- In the TUI, /toolset-restart
reconnects a toolset.
Official documentation
The Docker MCP documentation covers Docker Agent's own settings in detail. See the overview for the endpoint and authentication, and pricing for the daily free requests.