Execution-verified code generation and verification with signed, offline-checkable certificates.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Give your AI agent the one thing it can't do for itself: actually run code against tests and prove it passed.
Soma is an execution-verified code service. This MCP server exposes two tools:
soma_verify_code β run candidate code against tests inside an isolated sandbox; get a PASS/FAIL verdict plus a signed, offline-checkable certificate (Ed25519). Use it to independently confirm code works before trusting it.soma_generate_verified_code β ask Soma to write code for a task; when the task is verifiable, the returned code has already been executed against derived tests, with a certificate attached.15+ languages are supported for verification (Python, JavaScript/TypeScript, Go, C/C++, Java, Rust, Ruby, PHP, Bash, and more).
Requires Node.js 18+. Runs over stdio.
Add to your MCP client config (Claude Desktop, Cursor, etc.):
Settings β Developer β Edit Config, add the block above, restart.Settings β MCP β Add, or drop the same block in ~/.cursor/mcp.json.| Env var | Required | Default | Purpose |
|---|---|---|---|
SOMA_API_KEY | yes | β | Your Soma API key. |
SOMA_BASE_URL | no | https://170-9-236-56.sslip.io | Soma API base URL. |
SOMA_TIMEOUT_MS | no | 300000 | Per-request timeout. |
Get a free preview key: contact centrum.arvind@gmail.com (free tier during the preview).
soma_verify_codeRun code against tests and return a signed verdict.
language (string) β e.g. python, javascript, go, rust.code (string) β the complete source to verify.tests (array) β one of:
[{ "input": [arg1, arg2], "expected": value }] plus entrypoint (the function name).mode: "stdio" and [{ "stdin": "...", "expected_stdout": "..." }]; no entrypoint.entrypoint (string, optional) β function name for function mode.mode ("function" | "stdio", optional).Returns: verdict, tests_passed, tests_total, and a signature / public_key / sig_alg you can check offline.
soma_generate_verified_codeGet code for a task, executed against derived tests before it's returned.
prompt (string) β the coding task. Include concrete input/output examples (e.g. >>> f(2) == 4) so the result is verifiable rather than best-effort.max_tokens (int, optional, default 1500).Returns: the code, certified (bool), and a certificate (verdict, tests_passed, tests_total) when verification passed. If a task isn't verifiable, output is returned uncertified and clearly labeled β never a false "verified".
A certificate attests that the listed tests passed inside an isolated sandbox at generation time. It is signed (Ed25519) and checkable offline against the returned public key. It is not a warranty of fitness for any purpose β review output before production use.
No training on your prompts. See the Soma Privacy & Data Policy at ${SOMA_BASE_URL}/privacy.
MIT.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/soma-2)<a href="https://allmcps.com/mcp/soma-2"><img src="https://allmcps.com/api/badge/soma-2?style=directory" alt="Soma on AllMCPs" /></a>