mcp
v0.1.1Trace Exit MCP server — IP lookup, privacy, fraud, and network compare tools over the REST API
MCP server for Trace Exit. Same API keys and quotas as REST. Paste into mcp.json (or Claude Desktop config): Replace te_live_REPLACE_ME with a key from the Trace Exit dashboard.
Summary extracted from the README.
@traceexit/mcp
MCP server for Trace Exit. Same API keys and quotas as REST.
Two transports share one tool registry:
| Transport | Entry | Use case |
|---|---|---|
| stdio | mcp / traceexit-mcp / dist/index.js |
Cursor, Claude Desktop (npx -y @traceexit/mcp runs mcp) |
| Streamable HTTP | traceexit-mcp-http / dist/http.js |
Remote host (mcp.traceexit.com) |
Install (Cursor / Claude Desktop — stdio)
Paste into mcp.json (or Claude Desktop config):
{
"mcpServers": {
"traceexit": {
"command": "npx",
"args": ["-y", "@traceexit/mcp"],
"env": {
"TRACE_EXIT_BASE_URL": "https://api.traceexit.com",
"TRACE_EXIT_API_KEY": "te_live_REPLACE_ME"
}
}
}
}
Replace te_live_REPLACE_ME with a key from the Trace Exit dashboard.
Remote MCP (Streamable HTTP)
Hosted endpoint: https://mcp.traceexit.com/mcp
Auth uses your Trace Exit API key on every request (same keys as REST):
Authorization: Bearer te_live_…(preferred)X-Trace-Exit-Api-Key: te_live_…
Lookups identify as MCP via User-Agent (@traceexit/mcp/{version} for stdio, @traceexit/mcp-remote/{version} for hosted HTTP). Same org quota as REST.
Cursor / Claude remote config:
{
"mcpServers": {
"traceexit-remote": {
"url": "https://mcp.traceexit.com/mcp",
"headers": {
"Authorization": "Bearer te_live_REPLACE_ME"
}
}
}
}
The dashboard Connect MCP page documents both stdio and hosted configs.
Run HTTP locally
cd apps/mcp
npm install
npm run build
TRACE_EXIT_MCP_HTTP_HOST=127.0.0.1 TRACE_EXIT_MCP_HTTP_PORT=8091 node dist/http.js
# Health: http://127.0.0.1:8091/health
# MCP: POST http://127.0.0.1:8091/mcp (Bearer te_test_…)
Tools
| Tool | Purpose |
|---|---|
lookup_ip |
Full IP investigation (location, network, privacy, risk, fraud) |
check_privacy |
Login / VPN signals (privacy + risk); optional failClosed |
check_fraud |
Shop triage (fraud + currency; optional billing country mismatch) |
compare_network |
Network corpus summary (score, sample size band, anonymizer hits) for alt / same-subnet review |
lookup_ip_batch |
Up to 100 IPs (REST batch) |
Tools suggest review only — never auto-kick or decline payments.
Env
| Variable | Default | Notes |
|---|---|---|
TRACE_EXIT_BASE_URL |
https://api.traceexit.com |
API origin |
TRACE_EXIT_API_KEY |
(required for stdio) | te_live_… / te_test_… |
TRACE_EXIT_MCP_HTTP_HOST |
127.0.0.1 |
HTTP bind address (0.0.0.0 in container) |
TRACE_EXIT_MCP_HTTP_PORT |
8091 |
HTTP listen port |
TRACE_EXIT_MCP_ALLOWED_HOSTS |
(unset) | Comma-separated Host allowlist when binding publicly |
Local development
cd apps/mcp
npm install
npm test
TRACE_EXIT_API_KEY=te_test_xxx npm start # stdio
TRACE_EXIT_API_KEY=te_test_xxx npm run start:http # HTTP
Deploy sketch (ops)
Build and push the image from apps/mcp/Dockerfile, then apply:
deploy/k8s/mcp.yaml— Deployment, Service, HPAdeploy/k8s/mcp-ingress.yaml—mcp.traceexit.comingress
HITL remaining: npm publish (docs/mcp-npm-publish.md). GHCR image builds on master/main via mcp-ci.yml (ghcr.io/pho3nix90/traceexit-mcp:<sha>).