Skip to main content
AllMCPs
BrowseBestCategoriesStackCompareToolsGuidesBlog
Log in Submit MCP

Stay in the loop

Get new MCP servers and top picks in your inbox.

AllMCPs

The open directory for discovering and installing Model Context Protocol servers.

AllMCPs on GitHub (opens in a new tab)
Launched onTiny Startupstinystartups.com
Explore
  • Browse servers
  • Best MCP servers
  • Categories
  • MCP clients
  • Agent prompts
  • Stack Builder
  • Compare servers
  • Random discovery New
  • Submit a server
  • Pricing & Boost Boost
Learn
  • Guides hub
  • What is MCP?
  • Install guide
  • Build an MCP server
  • Deploy an MCP server
  • Security guide
  • Troubleshooting
  • MCP for SEO & AEO
  • Protocol versioning
  • Transports: stdio vs HTTP
  • State of MCP (stats)
  • Blog & updates
Tools
  • All developer tools
  • Config generator
  • Config validator
  • Config auditor
  • MCP playground
  • Token calculator
  • OpenAPI → MCP
  • Badge generator
For agents
  • REST API docs
  • Trust & traffic Live
  • Remote MCP server SSE ↗ (opens in a new tab)
  • llms.txt ↗ (opens in a new tab)
  • Catalog JSON ↗ (opens in a new tab)
Company
  • About
  • Advertise Sponsor
  • Contact
  • GitHub ↗ (opens in a new tab)
  • Terms
  • Privacy
AllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistLaunched on Tiny StartupsFeatured on ShowMeBestAIFeatured on ShowMeBestAIFind us on LaunchZoneFind us on LaunchZoneAllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistLaunched on Tiny StartupsFeatured on ShowMeBestAIFeatured on ShowMeBestAIFind us on LaunchZoneFind us on LaunchZone
© 2026 Jackalope Digital LLC. All rights reserved.
  1. Home
  2. Browse
  3. Code Sandbox API
  4. vs Legion MCP
Side-by-Side Model Context Protocol Comparison

Code Sandbox API vs Legion MCP

In-depth architectural comparison of the Code Sandbox API and Legion MCP MCP servers. Compare execution transports, security boundaries, tool capabilities, quality scores, and ready-to-paste client installation snippets for Claude, Cursor, Windsurf, and VS Code.

At a Glance & Executive Verdict

Code Sandbox API
Databases · Remote HTTP/SSE
Quality: 51/100 (Good) | Auth: No auth required
Legion MCP
Databases · Local stdio
Quality: 61/100 (Good) | Auth: other
Verdict Summary: Choose Code Sandbox API if you need specialized Databases tools running via a hosted cloud SSE transport. Choose Legion MCP if your workspace requires Databases integration with local subprocess execution. Both servers can be configured concurrently in your client's mcpServers manifest.

Which MCP Server Should You Choose?

Code Sandbox API logo

Choose Code Sandbox API when:

  • You need dedicated capabilities in the Databases domain.
  • You prefer remote streaming HTTP/SSE transport architecture.
  • Your security boundary fits: No auth required (Free / Open Source).
  • Primary tools included: code_execute_sandbox, code, language.
Explore Code Sandbox API Details
Legion MCP logo

Choose Legion MCP when:

  • You need dedicated capabilities in the Databases domain.
  • You prefer local stdio subprocess transport architecture.
  • Your security boundary fits: other (Free / Open Source).
  • You have access to required keys: DB_TYPE, DB_CONFIG, DB_CONFIGS.
  • Primary tools included: execute_query, execute_query_json, get_table_columns.
Explore Legion MCP Details

Feature & Specification Comparison

Specification
Code Sandbox API logo
Code Sandbox API
Databases
Legion MCP logo
Legion MCP
TheRaLabs
Databases
SummaryExecute Python, JavaScript, SQL code in a sandbox. x402 micropayment.Universal database MCP server supporting multiple database types including PostgreSQL, Redshift, CockroachDB, MySQL, RDS MySQL, Microsoft SQL Server, BigQuery, Oracle DB, and SQLite.
Category & ScopeDatabases

Tools & Capabilities Breakdown

Code Sandbox API Tools (4)

code_execute_sandbox
Execute code in a sandboxed environment
code
The code to execute
language
Programming language: python, javascript, or sql
timeout
Execution timeout in milliseconds (default: 5000, max: 10000)

Legion MCP Tools (10)

execute_query
Execute a SQL query and return results as a markdown table
execute_query_json

Ready-to-Paste Client Configurations

Paste either (or both) of these JSON server blocks into your client config file (e.g. claude_desktop_config.json or ~/.cursor/mcp.json).

Code Sandbox API Configuration
mcpServers (Claude Desktop / Cursor)
{
  "mcpServers": {
    "code-sandbox-api": {
      "url": "https://code-sandbox.api.klymax402.com/mcp"
    }
  }
}
Legion MCP Configuration
mcpServers (Claude Desktop / Cursor)
{
  "mcpServers": {
    "theralabs-legion-mcp": {
      "command": "uvx",
      "args": [
        "database-mcp"
      ],
      "env": {
        "DB_TYPE": "YOUR_DB_TYPE_HERE",
        "DB_CONFIG": "YOUR_DB_CONFIG_HERE",
        "DB_CONFIGS": "YOUR_DB_CONFIGS_HERE"
      }
    }
  }
}

Frequently Asked Questions

Code Sandbox API is categorized under Databases and uses a remote streaming HTTP/SSE transport. In contrast, Legion MCP belongs to Databases using local stdio subprocess. Select Code Sandbox API when you need capabilities focused on databases and Legion MCP when you require tools for databases.

More alternatives to Code Sandbox APIMore alternatives to Legion MCPDatabases category hub

Related MCP Server Comparisons

Popular comparisons with Code Sandbox API

  • MCP Toolbox for Databases logoCode Sandbox API vs MCP Toolbox for Databases
  • Genai Toolbox logoCode Sandbox API vs Genai Toolbox
  • Pg Aiguide logoCode Sandbox API vs Pg Aiguide
  • Postgres MCP logoCode Sandbox API vs Postgres MCP

Popular comparisons with Legion MCP

Databases
Quality signal51/100 (Good)61/100 (Good)
Transport ProtocolRemote HTTP/SSELocal Subprocess (stdio)
Auth RequirementNo auth requiredother
Pricing ModelFree / Open SourceFree / Open Source
Required Env VarsNone required
DB_TYPEDB_CONFIGDB_CONFIGS
Compatible Clients
Claude DesktopCursorWindsurfClineVS Code
Claude DesktopCursorWindsurfClineVS Code
Install path signalRemote (HTTP/SSE) · highuvx · high
Engagement & Health 0 views 0 copies 0 upvotes 0 stars 5 views 0 copies 0 upvotes 94 stars
Verified / OfficialCommunity ListingCommunity Listing
Open full listingView Code Sandbox API ListingView Legion MCP Listing
Execute a SQL query and return results as JSON
get_table_columns
Get column names for a specific table
get_table_types
Get column types for a specific table
get_query_history
Get the recent query history
list_databases
List all available database connections
get_database_info
Get detailed information about a database including schema
find_table
Find which database contains a specific table
describe_table
Get detailed description of a table including column names and types
get_table_sample
Get a sample of data from a table
Influxdb3 MCP Server logo
Legion MCP vs Influxdb3 MCP Server
  • Genai Toolbox logoLegion MCP vs Genai Toolbox
  • Postgres MCP logoLegion MCP vs Postgres MCP
  • MCP Datalink logoLegion MCP vs MCP Datalink