Agents and MCP

Your own MCP servers

Put the MCP servers you already use behind Tracehold: your connector runs them, Tracehold decides every call.

Tracehold's own tools cover 545 cloud actions it rates precisely. For everything else (GitHub, Kubernetes, Terraform, an internal tool, or AWS's own MCP server), bring the MCP servers you already use. Your connector runs them next to it, with the credentials you give them; Tracehold never sees those credentials. Their tools join your Tracehold servers like any other, so every call to them is classified, checked against guardrails and exceptions, sent to a person when needed, and recorded in the audit chain.

Set it up#

  1. Give your connector an MCP config, in the usual mcpServers form, and point TRACEHOLD_CONNECTOR_MCP_CONFIG at it:

    {
      "mcpServers": {
        "github": {
          "url": "https://api.githubcopilot.com/mcp/",
          "headers": {"Authorization": "Bearer ghp_..."}
        },
        "aws-api": {
          "command": "uvx",
          "args": ["awslabs.aws-api-mcp-server@latest"],
          "env": {"AWS_REGION": "us-east-1"}
        }
      }
    }
    

    A server is either started by the connector (command, args, env) or reached over HTTP (url, headers). Secrets stay in this file, in your cloud. The installers do not set TRACEHOLD_CONNECTOR_MCP_CONFIG: add the variable, and the file (a mounted secret or volume), to the connector's task, container or Deployment yourself. A started server's command must exist where the connector runs. The connector image has Python and the connector, nothing else, so for uvx or npx servers either reach them over HTTP or build your own image from it. Log in first, with printf %s "$TRACEHOLD_CONNECTOR_TOKEN" | docker login registry.tracehold.ai -u tracehold --password-stdin; <release> is v followed by the version the Connectors page shows:

    FROM registry.tracehold.ai/tracehold-connector:<release>
    USER root
    RUN pip install --no-cache-dir uv   # for uvx; Node.js for npx
    USER connector
    
  2. The connector reports each server's tools (name, description, argument schema) when it starts and every ten minutes. Connectors shows them on the connector's card.

  3. On a Tracehold server's Tools tab, under Your own MCP servers, pick the tools its agent may call and click Add. Agents see them as <server>__<tool>, for example github__create_issue.

How each call is decided#

  • Risk is guessed from the tool's name: list_… and get_… are Read, create_… and update_… are Change, delete_… and stop_… are Destructive, terminate_…, modify_… and patch_… are Critical, and anything unrecognised counts as Destructive, so it asks a person by default. Change it per server on the Tools tab; the change is recorded in the audit chain.
  • AWS's own MCP server (awslabs.aws-api-mcp-server) takes one tool, call_aws, with an AWS CLI command. Tracehold reads the command, so aws s3api delete-bucket --bucket prod-data is decided as aws:s3:DeleteBucket (Critical), with the same environment and explanation as Tracehold's own tools, while aws s3 ls is a Read.
  • Exceptions match these tools by identifier: mcp:<server>:<tool>, or the AWS action for call_aws.

An allowed call goes to your connector, which calls the tool and passes its answer back to the agent as it is. For agents that call the connector's own MCP endpoint, the answer never passes through Tracehold at all.

What is different from Tracehold's own tools#

Tracehold's toolsYour MCP servers
Who runs the callYour connector, with a key minted for that one callYour connector, through your server, with the credentials you gave it
RiskRated per cloud action (545 rated, plus every AWS operation)Guessed from the tool's name, set by you; exact for call_aws
A key limited to the one callYes (AWS: only the approved action)No: your server uses its own credentials, so limit those
Your connector's allow and deny listsApplyApply, to mcp:<server>:<tool> or the AWS action

Because your MCP servers hold standing credentials, give them the least access that works, and keep them where only the connector can reach them.