Model Context Protocol (MCP) servers extend the capabilities of Oz agents by providing them with additional tools — for example, a database query tool, a code search tool, or a third-party API integration. TheDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/warpdotdev/warp/llms.txt
Use this file to discover all available pages before exploring further.
oz mcp command lets you list the MCP servers registered in your Warp account. To attach an MCP server to a specific agent run, use the --mcp flag on oz agent run or oz agent run-cloud.
Synopsis
Subcommands
| Subcommand | Description |
|---|---|
list | List MCP servers configured in your Warp account |
oz mcp list
Lists all MCP servers configured in your Warp account.Examples
Attaching MCP servers to agent runs
When running an agent, you can attach one or more MCP servers directly using the--mcp flag on oz agent run or oz agent run-cloud. This flag accepts either a path to a JSON configuration file or inline JSON, and can be repeated to include multiple servers.
Using a config file
Using inline JSON
Attaching multiple servers
Specify--mcp multiple times to attach several servers to the same run:
--mcp flag is available on oz agent run-cloud for cloud runs and on oz schedule create / oz schedule update for scheduled agents.