mcp-tools
Connect your AI Agent to MCP servers and manage the MCP tools on them. The Agent calls these tools during conversations. This command does not manage the Ada MCP server that AI assistants connect to. The alias is mcp, so adacli acme mcp list works the same as adacli acme mcp-tools list.
Commands
Examples
Connect a server that needs no sign-in, and turn on one of its tools:
Connect a server that uses an API key. Read the key from a shell variable:
Show a tool only to end users who match an availability rule:
Test a tool. The first command shows a preview. --yes makes the call:
Details
- The server URL must use https. The auth type is
oauth,api_key, orno_auth. The default isoauth. - Give a secret through a shell variable. A secret that you type on the command line stays in your shell history.
- After an OAuth
connect, check the result withmcp-tools get. If the connection shows 0 tools, rundiscover. Rundiscoveragain when the tools of the server change. deleteandtools testshow a preview first.--yesconfirms.tools testsends a real call to your server with the credential of the connection.tools testneeds the Owner or Admin role. The API allows 10 calls each minute.<tool>takes a tool ID or an exact tool name. If two connections have a tool with the name, add--connection.--rules ""makes a tool available to all end users. A malformed rule makes the tool unavailable to all end users.
For every option of a command, run it with --help, for example adacli acme mcp-tools tools update --help.
Related commands
api-tools: manage the API tools of your AI Agent.code-tools: transform data with Python.variables: get the variable IDs for availability rules.