Skip to main content
Glama

Servidor MCP de Soma

Dale a tu agente de IA lo único que no puede hacer por sí mismo: ejecutar código real contra pruebas y demostrar que las ha superado.

Soma es un servicio de código verificado por ejecución. Este servidor MCP expone dos herramientas:

  • soma_verify_code — ejecuta el código candidato contra pruebas en un sandbox aislado; obtén un veredicto PASS/FAIL además de un certificado firmado y comprobable sin conexión (Ed25519). Úsalo para confirmar de forma independiente que el código funciona antes de confiar en él.

  • soma_generate_verified_code — pide a Soma que escriba código para una tarea; cuando la tarea es verificable, el código devuelto ya se ha ejecutado contra pruebas derivadas, con un certificado adjunto.

Se admiten más de 15 lenguajes para la verificación (Python, JavaScript/TypeScript, Go, C/C++, Java, Rust, Ruby, PHP, Bash y más).

Instalación

Requiere Node.js 18+. Se ejecuta sobre stdio.

Añádelo a la configuración de tu cliente MCP (Claude Desktop, Cursor, etc.):

{
  "mcpServers": {
    "soma": {
      "command": "npx",
      "args": ["-y", "soma-verify-mcp"],
      "env": {
        "SOMA_API_KEY": "YOUR_SOMA_KEY"
      }
    }
  }
}
  • Claude Desktop: Settings → Developer → Edit Config, añade el bloque anterior y reinicia.

  • Cursor: Settings → MCP → Add, o coloca el mismo bloque en ~/.cursor/mcp.json.

Related MCP server: OmniBridge MCP Server

Configuración

Variable de entorno

Requerida

Por defecto

Propósito

SOMA_API_KEY

sí

—

Tu clave de API de Soma.

SOMA_BASE_URL

no

https://170-9-236-56.sslip.io

URL base de la API de Soma.

SOMA_TIMEOUT_MS

no

300000

Tiempo de espera por solicitud.

Obtén una clave de vista previa gratuita: contacta con centrum.arvind@gmail.com (plan gratuito durante la vista previa).

Herramientas

soma_verify_code

Ejecuta código contra pruebas y devuelve un veredicto firmado.

  • language (string) — p. ej. python, javascript, go, rust.

  • code (string) — el código fuente completo a verificar.

  • tests (array) — una de las siguientes opciones:

    • modo función (por defecto): [{ "input": [arg1, arg2], "expected": value }] más entrypoint (el nombre de la función).

    • modo stdio: establece mode: "stdio" y [{ "stdin": "...", "expected_stdout": "..." }]; sin entrypoint.

  • entrypoint (string, opcional) — nombre de la función para el modo función.

  • mode ("function" | "stdio", opcional).

Devuelve: verdict, tests_passed, tests_total y una signature / public_key / sig_alg que puedes comprobar sin conexión.

soma_generate_verified_code

Obtén código para una tarea, ejecutado contra pruebas derivadas antes de devolverse.

  • prompt (string) — la tarea de programación. Incluye ejemplos concretos de entrada/salida (p. ej. >>> f(2) == 4) para que el resultado sea verificable y no un simple intento.

  • max_tokens (int, opcional, por defecto 1500).

Devuelve: el código, certified (bool) y un certificate (verdict, tests_passed, tests_total) cuando la verificación se ha superado. Si una tarea no es verificable, la salida se devuelve sin certificar y claramente etiquetada; nunca un «verified» falso.

Qué significa el certificado

Un certificado atestigua que las pruebas enumeradas se superaron en un sandbox aislado en el momento de la generación. Está firmado (Ed25519) y se puede comprobar sin conexión con la clave pública devuelta. No es una garantía de idoneidad para ningún propósito: revisa la salida antes de usarla en producción.

Privacidad

No se entrena con tus prompts. Consulta la Política de Privacidad y Datos de Soma en ${SOMA_BASE_URL}/privacy.

Licencia

MIT.

Available Tools

2 tools
soma_generate_verified_codeGenerate execution-verified codeA
Read-only

Ask Soma to write code for a task. When the task is verifiable, the returned code has been executed against derived tests in an isolated sandbox before it is returned, and a certificate (verdict + tests passed) is attached. Include concrete examples in the prompt (e.g. doctest-style '>>> f(2) == 4') to make the result verifiable rather than best-effort.

Inputs: prompt (required), max_tokens.

soma_verify_codeVerify code against tests (signed certificate)A
Read-onlyIdempotent

Run candidate code against tests inside an isolated sandbox and return a PASS/FAIL verdict with a signed, offline-checkable certificate (Ed25519). Use this to independently confirm that code actually works before trusting it.

Two test shapes:

  • function mode (default): tests = [{"input": [arg1, arg2], "expected": value}] and provide 'entrypoint' (the function name).

  • stdio mode: set mode='stdio' and tests = [{"stdin": "...", "expected_stdout": "..."}]; no entrypoint needed.

Supported languages include python, javascript, typescript, go, c, cpp, java, rust, ruby, php, bash and more.

Inputs: code (required), tests (required), language (required), mode, +1 more.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.3/5.0

    Scored across 2 tools

    Disambiguation5/5

    The two tools have clearly distinct purposes: one verifies provided code, the other generates code with verification. There is no overlap or confusion between them.

    Naming Consistency5/5

    Both tools follow the identical pattern of 'soma_' prefix plus a verb_noun structure: verify_code and generate_verified_code. Naming is uniform and predictable.

    Tool Count3/5

    With only 2 tools, the server is minimal but focused on a narrow purpose. While the count feels thin for a general toolkit, it is reasonable for a specialized verification service. It sits at the borderline.

    Completeness4/5

    The server covers the core workflows of code verification and generation with verification. Minor gaps exist, such as no ability to fetch or check certificate details after generation, but the primary lifecycle is covered.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables secure cloud-based execution of code across 14+ programming languages within a sandboxed environment. It supports file management, standard input/output handling, and automatic generation of visual artifacts like plots and charts.
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Provides isolated sandbox environments for AI agents to execute code securely, generating signed receipts for every execution to ensure auditability and trust.
      14 npm
      6
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      Provides an isolated workspace for testing candidate code, runs tests, and returns deterministic pass/fail verdicts. Enables automated grading of software engineering solutions by ensuring reproducible test runs.
      5
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      Provides structured, sandboxed test and lint feedback for coding agents, returning compact typed verdicts with failure fingerprints instead of raw runner output. It enables impact-selected test execution in isolated containers, distinguishing pre-existing failures from regressions.
      4
      17 PyPI
      Apache 2.0