AI Solution Finder
SandboxAQ logo

SwitchAI MCP Server

Give your coding agent read-only access to Switch Trust cost optimizations, session data, security findings, evaluation results and guardrail activity for your AI agents.

Publisher

SandboxAQ

Product Details

The Switch Trust MCP server connects an MCP-compatible coding agent to Switch Trust. While you work on an AI agent’s source code, your coding agent can read that agent’s Switch Trust data in the same conversation, including what the agent costs to run, how its sessions behave, which issues Switch Trust has found, how it performs in evaluations and how much of its traffic its guardrails allowed, blocked or redacted.

That lets a developer investigate a problem without leaving the editor. They can start from a Switch Trust optimization, inspect the sessions behind it, update the agent’s prompt, context, model or tools in code and compare the results.

The server authenticates with a Switch Trust API key and is read-only. It retrieves Switch Trust data but cannot change code, a guardrail policy or any Switch Trust setting. The server is open source under the Apache 2.0 license.

Capabilities

  • Cost optimizations: Read the optimizations Switch Trust recommends for each agent, with a confidence level and, where available, estimated savings.
  • Sessions and interactions: Rank an agent’s sessions by cost, token use, number of turns or duration, and inspect any session turn by turn.
  • Issues and remediation: List the issues Switch Trust has found for an AI agent, grouped by rule and severity, and get remediation guidance the coding agent can apply in the codebase.
  • Evaluations: Read an agent’s evaluation health score, OWASP category coverage, score trends and individual test results.
  • Guardrails: See guardrail policies and their detectors, along with how much traffic guardrails allowed, blocked or redacted.
  • Inventory: Look up the agents, models, tools and MCP servers in a workspace, along with related issues and code locations.

Key Use Cases

In-Editor AI-SPM & Security Remediation

Provides developers with read-only visibility into OWASP vulnerabilities, guardrail breach findings, and line-level remediation guidance without leaving their IDE.

Agent Token & LLM Cost Optimization

Enables enterprise platform architects to audit LLM conversation sessions, inspect token consumption trends, and implement actionable cost-reduction recommendations.

Explore detailed deployment path

Requires Gemini. Access integration prerequisites, specialized agent configuration guides, and implementation documentation.