TAO as an MCP Server
TAO as an MCP server lets outside AI tools find and run the tools and skills you have published in TAO.
What it is for
You build tools and skills in TAO. This server offers them over MCP. An AI client that you connect can then list them and run them. You do not need to build a separate connection for each tool.
What is exposed
| What | Shown to the client when |
|---|---|
| Published Studio tools | The tool is published and active |
| Skills | The skill is active and its governance status is approved. Skills added from an outside web address are left out |
Unpublished tools and unapproved skills never appear.
Each tool the client sees has a name, a description and the inputs it expects.
- A tool's name is its TAO tool ID, not its display name. The ID stays the same if you rename the tool.
- A skill's name starts with
skill_followed by the skill ID. - A skill's inputs come from the inputs defined in the skill.
- A skill's hints tell the client whether the skill is read-only or can act irreversibly. They come from the skill's risk tier.
The tool list is live. It is not a fixed list, so it changes as you publish and unpublish.
Address and access
| Item | Value |
|---|---|
| Address | /api/v1/mcp/tools/jsonrpc, sent as a POST |
| Health check | /api/v1/mcp/tools/health, sent as a GET. It reports the number of published tools and skills |
| Protocol version | 2024-11-05 |
| Server name | apex-studio-tools |
The full web address depends on where your TAO is hosted. Ask your administrator. The code shows only the path.
Signing in
Every request except the first handshake (initialize) must carry a token. Send it in either of these headers.
Authorization: Bearerfollowed by the tokenX-MCP-Tokenwith the token
The server compares it with one shared token kept in the secrets vault, under the path apex_tools/mcp/default. In a production setup, a wrong token is refused. If no token is configured, production refuses the call too.
What a client can ask
| Request | What it does |
|---|---|
initialize | The handshake. Needs no token |
ping | A liveness check |
tools/list | Lists the published tools and approved skills |
tools/call | Runs one tool or skill |
resources/list and prompts/list | Always return empty lists |
skill_approval_status | TAO's own extra request. Takes an approval ID and reports whether an approval is pending, approved, denied or expired |
Running a tool or skill
Tools
A tool runs in the same protected way as when you run it in TAO. Time, memory and output size are limited, and outgoing network calls are limited to hosts the tool allows. Each call is recorded in the tool's run history as coming from MCP.
Skills
A skill call goes through TAO's usual checks first, including approvals. One of three things happens.
- It runs. The client gets the output.
- It needs approval. The client is told the call is pending and is given an approval ID. After someone approves it, the client must call the skill again. The code does not show the call running on its own after approval.
- It is denied. The client gets an error marked as a governance denial.
Connect a client
Ask for the address and token
Ask your administrator for the full web address and the MCP token.
Add the server in the client
Open the MCP settings of your client. Add a server of the web (HTTP) kind. Enter the address.
Add the token as a header
Add the token as a Bearer token in the
Authorizationheader. A client that needs a different header can useX-MCP-Token.Check the tool list
Restart the client if it asks you to. It should now list your published tools.
The code does not include a ready-made client snippet for this server. The exact settings differ for each client, so follow your client's own MCP guide.
Example
Illustrative. A request to list tools has this shape.
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/list",
"params": {}
}
A request to run a tool has this shape. The name is the tool ID, and arguments holds the inputs the tool expects.
{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"name": "the-tool-id",
"arguments": {}
}
}
Tips
- Publish only the tools you are happy for outside clients to run.
- Review the run history of your tools for calls that came from MCP.
- Use the health address to confirm how many tools and skills are on offer.
Where the sources disagree
An older internal document gives the address as /mcp/tools/jsonrpc and says any non-empty token works in development. A newer reference and the code show /api/v1/mcp/tools/jsonrpc, and in development only the fixed test value is accepted. This page follows the code.