MCP Guide
Want to use Claude, ChatGPT, or another AI tool to help manage your privacy program in Transcend? Transcend's Model Context Protocol (MCP) server makes that possible.
This guide covers local setup with your own OAuth client. To use Transcend's hosted MCP server with browser sign-in, read MCP Hosted Server Setup. To learn what each package does and which one to pick, read the MCP Server Overview.
Running Transcend MCP Servers Locally
The MCP servers run locally via npx with no need to clone the Transcend repo. The packages are published to npm and run on demand.
Prerequisites
- Node.js ≥ 22.12: verify with
node --version. Use nvm if you need to switch. - A Transcend OAuth Client: create one in Administration → OAuth Clients. Select Create OAuth Client and turn on MCP OAuth client. Choose MCP server: keep Unified (@transcend-io/mcp) when one client should consent to all product scopes, or pick a domain server (for example config) to cap consent to that server's scopes only. The copied config snippet uses
@transcend-io/mcpor the matching@transcend-io/mcp-server-*package. Under Redirect ports, add a port that is available on your device (this example uses 5555). The Admin Dashboard saves it as the redirect URI http://127.0.0.1:5555/callback. After you create the client, the dashboard shows a config snippet that you can copy into your MCP client. To rotate credentials without re-entering redirect ports, duplicate the client and update your MCP config; see Cycling OAuth clients. - An MCP-capable client: Cursor, Claude Desktop, or any other MCP client.
Sombra-backed tools
Some tools call Sombra, such as preferences, consent, and data subject request user info. These tools work only when Enable MCP × Sombra is on in Administration → AI Settings. The switch is off by default, and it needs Enable AI for Organization to be on. A user with the Manage Access Controls scope can turn it on.
This setting exposes personal data to your MCP client. Turn it on only if your client is approved to handle personal data. The MCP server relies on the Customer Ingress endpoints in Sombra. See Networking.
One server, several domains
Most agents should run one @transcend-io/mcp process per org and list the domains in TRANSCEND_MCP_SERVERS. You need one OAuth redirect port per MCP process, not per domain.
{
"mcpServers": {
"transcend": {
"command": "npx",
"args": ["-y", "@transcend-io/mcp@2.6.0"],
"env": {
"TRANSCEND_OAUTH_CLIENT_ID": "your-client-id",
"TRANSCEND_OAUTH_CLIENT_SECRET": "your-client-secret",
"TRANSCEND_OAUTH_REDIRECT_PORT": "5555",
"TRANSCEND_MCP_SERVERS": "config,consent,inventory"
}
}
}
}Comma-separated values include config, consent, inventory, assessment, workflows, discovery, dsr, preferences, policy, and docs. See MCP server overview.
Legacy domain packages
Older installs used one npm package per domain (@transcend-io/mcp-server-consent, and similar). Each process still needs its own TRANSCEND_OAUTH_REDIRECT_PORT. New setups should prefer @transcend-io/mcp with TRANSCEND_MCP_SERVERS instead.
Pinning a specific version
This step is optional, but recommended.
Without a version pin, npx -y @transcend-io/mcp resolves to whatever is currently @latest on npm. To freeze at a known version:
"args": ["-y", "@transcend-io/mcp@2.6.0"]Check the latest published versions at any time with npm view @transcend-io/mcp version.
Environment variables
| Variable | Default | Notes |
|---|---|---|
TRANSCEND_OAUTH_CLIENT_ID | None | Generate this information at the OAuth clients link above. |
TRANSCEND_OAUTH_CLIENT_SECRET | None | Generated alongside the client ID above. Keep this secret and never commit it to source control. |
TRANSCEND_OAUTH_REDIRECT_PORT | None | The port matching your OAuth client's redirect URI (for example, 5555 for http://127.0.0.1:5555/callback) |
SOMBRA_URL | Dynamically looks up the organization's primary Sombra URL | Only needed when targeting a non-primary Sombra cluster |
SOMBRA_CUSTOMER_KEY | None | Needed to integrate with Self Hosted or Single Tenant Sombra |
LOG_LEVEL | None | Set to debug to see GraphQL request logs |
MCP_SKIP_CONFIRMATION | unset (confirmation stays on) | When set to 1, skips the human confirmation prompt before consequential tools run. Use only for local automation. |
TRANSCEND_MCP_SERVERS | all domains | Comma-separated list on @transcend-io/mcp only. Example: config,consent,inventory. Omit to load every domain. |
Several of these are sensitive and should be properly protected. Assuming the bash launcher, here are examples for how to integrate with some popular secret managers:
HashiCorp Vault
example.sh
set -euo pipefail
# sensitive secrets
export TRANSCEND_OAUTH_CLIENT_SECRET="$(vault kv get -field=transcend_oauth_client_secret path/to/store)"
# only needed for self hosted or single tenant sombra
export SOMBRA_CUSTOMER_KEY="$(vault kv get -field=sombra_customer_key path/to/store)"
# should your oauth client settings
export TRANSCEND_OAUTH_REDIRECT_PORT="1234"
export TRANSCEND_OAUTH_CLIENT_ID="some-uuid"
# optional other settings
export SOMBRA_URL="https://sombra.example.com"
exec npx -y @transcend-io/mcp
mcp.json
{
"mcpServers": {
"transcend": {
"command": "bash",
"args": ["${workspaceRoot}/path/to/example.sh"],
"cwd": "${workspaceRoot}"
}
}
}AWS Secrets Manager
After AWS_PROFILE & AWS_REGION are set for your runtime,
example.sh
SECRET_JSON="$(aws secretsmanager get-secret-value \
--secret-id path/to/vault \
--query SecretString --output text)"
export TRANSCEND_OAUTH_CLIENT_SECRET="$(jq -r .TRANSCEND_OAUTH_CLIENT_SECRET <<<"$SECRET_JSON")"
export SOMBRA_CUSTOMER_KEY="$(jq -r .SOMBRA_CUSTOMER_KEY <<<"$SECRET_JSON")"
# should your oauth client settings
export TRANSCEND_OAUTH_REDIRECT_PORT="1234"
export TRANSCEND_OAUTH_CLIENT_ID="some-uuid"
# optional other settings
export SOMBRA_URL="https://sombra.example.com"
exec npx -y @transcend-io/mcpmcp.json
{
"mcpServers": {
"transcend": {
"command": "bash",
"args": ["${workspaceRoot}/path/to/example.sh"],
"cwd": "${workspaceRoot}"
}
}
}Doppler
mcp.json
{
"mcpServers": {
"transcend": {
"command": "doppler",
"args": [
"run",
"--project", "proj_name",
"--config", "config_name",
"--",
"npx",
"-y",
"@transcend-io/mcp"
],
"cwd": "${workspaceRoot}"
}
}
}Verifying the server works
The fastest sanity check is to ask the AI to call the admin_test_connection tool:
Use the Transcend MCP server's admin_test_connection tool to check the connection.
A healthy response returns connected: true for the GraphQL endpoint along with the URL it resolved against, useful for confirming you're hitting the right region:
{
"success": true,
"data": {
"connected": true,
"details": {
"graphql": { "connected": true, "url": "https://api.transcend.io" }
}
}
}Troubleshooting
| Symptom | Likely Cause | Fix |
|---|---|---|
| Cursor / Claude doesn't list Transcend tools | Edited config while client was running | Fully quit (cmd+Q on Mac) and reopen. A window reload is not enough |
| First launch hangs for 10 to 30 seconds | npx is downloading the package on first use | One-time delay; subsequent launches are fast (cached) |
| MCP fails to initialize | Env mismatch with OAuth client credentials | Verify the env variables match the information for your client in the Transcend OAuth Client List. |
command not found: npx | Node.js isn't installed or isn't on PATH | Install Node.js ≥ 22.12 from nodejs.org |
| All tools return 401 / 403 | OAuth grant missing scope | Restart the MCP and consent to the required scopes. |
Tool returns 400 Invalid input | AI passed the wrong shape | Usually self-correcting on retry; if persistent, share the exact tool name and arguments with the team |
| Inspect error(s) | None | Add "LOG_LEVEL": "debug" to the env block; restart the client |