Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
作者提供的说明(英文原文)
RMCP runtime for provider-backed agents with CLI, REST, HTTP MCP, plugins, and scaffold support.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
SOMA_HOME, SOMA_PROVIDER_DIR, SOMA_API_URL, SOMA_API_KEY, RUST_LOG标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"soma": {
"command": "npx",
"args": [
"-y",
"@dinglebear/soma",
"mcp"
],
"env": {
"SOMA_HOME": "your-value",
"SOMA_PROVIDER_DIR": "your-value",
"SOMA_API_URL": "your-value",
"SOMA_API_KEY": "your-value",
"RUST_LOG": "your-value"
}
}
}
}在终端中运行这条命令
claude mcp add soma --env SOMA_HOME=your-value --env SOMA_PROVIDER_DIR=your-value --env SOMA_API_URL=your-value --env SOMA_API_KEY=your-value --env RUST_LOG=your-value -- npx -y @dinglebear/soma mcp运行前请先填写空着的值。
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"soma": {
"command": "npx",
"args": [
"-y",
"@dinglebear/soma",
"mcp"
],
"env": {
"SOMA_HOME": "your-value",
"SOMA_PROVIDER_DIR": "your-value",
"SOMA_API_URL": "your-value",
"SOMA_API_KEY": "your-value",
"RUST_LOG": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"soma": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@dinglebear/soma",
"mcp"
],
"env": {
"SOMA_HOME": "your-value",
"SOMA_PROVIDER_DIR": "your-value",
"SOMA_API_URL": "your-value",
"SOMA_API_KEY": "your-value",
"RUST_LOG": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
SOMA_HOME envSOMA_PROVIDER_DIR envSOMA_API_URL envRUST_LOG env这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月6日
注册名称已通过域名 dinglebear.ai 验证(注册中心会核实域名所有权)
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
你需要填写:SOMA_API_KEY
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(0.10.0)于3个月前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Docker, Node.js。
同一分类中有:Spec Driven Development, Remote Desktop Commander, topo^alpin
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.
Avalanche bulletins and mountain weather forecasts for any place in the Alps.
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
RMCP runtime for provider-backed agents with CLI, REST, HTTP MCP, plugins, and scaffold support.
API docs — rustdoc for every workspace crate plus the Redoc-rendered OpenAPI reference, deployed to GitHub Pages from main.
Soma is a batteries-included server runtime and shipping binary for bringing new agent capabilities online with as little custom Rust as possible. It locks in the production patterns that every server in the family keeps rediscovering: one compact MCP tool, stdio and Streamable HTTP transports, CLI parity, direct REST routes, auth/OAuth, observability, plugin packaging, web fallback, Docker/runtime samples, generated contracts, and release automation.
The repository can still scaffold a renamed project, but Soma is now a shipped runtime first. The default product path is to run soma in an explicit mode, drop provider files into providers/ (or point SOMA_PROVIDER_DIR elsewhere), and let the provider registry project those capabilities across MCP, CLI, REST, OpenAPI, Palette summaries, generated docs, and plugin metadata. Provider manifests also carry MCP-native prompt, resource, task, and elicitation metadata for the registry contract. Scaffolding is the path for creating a new distributable repo with the same locked-in runtime.
30-second path: install the soma binary -> soma status -> npx -y @dinglebear/soma mcp from an MCP client -> call the soma MCP tool through tools/call with {"action":"status"}.
Status: production RMCP runtime. Write-capable provider actions are allowed only when the provider declares them and destructive actions are gated.
Not for: an unauthenticated public gateway, a replacement for upstream service authorization, arbitrary untrusted code execution, or a multi-tenant security boundary by itself.
Soma is the runtime product first and the template/export source second. Generated projects replace these names during scaffold post-processing, but the shipped soma command is the source of truth for product behavior.
| Surface | Soma value | Generated-project pattern |
|---|---|---|
| Repository | dinglebear-ai/soma (formerly rmcp-template, then rtemplate-mcp — both still redirect) | dinglebear-ai/r , or the bare product name; older servers still carry -rmcp names behind redirects |
| Rust crate/package | soma | service-specific crate names |
| Canonical binary | soma | usually r or the product name |
| npm package | @dinglebear/soma | -rmcp |
| MCP tool | soma | usually |
| Env prefix | SOMA_* | generated service prefix |
| Path | Use when | You author | Runtime supplies |
|---|---|---|---|
| Drop-in provider | You can describe a capability as a manifest, script, WASM module, OpenAPI operation, or upstream MCP call. | Files under providers/ with tools, prompts, resources, env needs, capability grants, and surface overlays. | MCP tool dispatch, dynamic CLI commands, direct REST routes, schema validation, auth policy, refresh, OpenAPI/Palette summaries, generated docs, and plugin metadata. |
| Static Rust provider | The capability needs native Rust, tight integration, or reusable crates. | A Rust provider/action registered with the provider registry. | The same MCP/CLI/REST/docs/plugin projection without per-surface rewrites. |
| Scaffolded product | You need a renamed repository, package identity, ports, plugins, Docker labels, and release metadata. | A scaffold_intent payload or cargo xtask scaffold options. | A compiling product repo, scaffold report, cargo-generate post-processing, and scaffold/export verification checks. |
| Custom profile | You need a narrower binary or deployment shape. | Cargo feature selection. | The same runtime crates behind local-adapter, server, and full profiles. |
soma) with action dispatch, so agent tool lists stay small even as provider catalogs grow.soma with explicit serve, mcp, and CLI modes for REST API, Streamable HTTP MCP, stdio MCP, optional web UI, and local actions..json, .ts, .py, .wasm, and .md files, plus native Rust providers and upstream MCP/OpenAPI provider kinds. A structured providers/{tools,prompts,resources}/ layout is supported alongside root-level files, including path-derived MCP resources (static files and dynamic .ts readers) with a path-traversal trust boundary.Soma owns the runtime projection, validation, auth policy, packaging, generated metadata, and scaffold automation. Provider code owns service-specific behavior and credentials. Upstream services own their own authorization and data model. Soma deliberately refuses to make credentials part of tool-call input and does not turn provider manifests into an unrestricted remote execution boundary.
Use the npm launcher when an MCP client expects an npx command. During postinstall, the package downloads the matching Linux/x64 or Windows/x64 release archive, verifies its SHA256SUMS entry and GitHub build attestation, and installs the native binary inside the package. GitHub CLI 2.68 or newer is required for provenance verification.
npx -y @dinglebear/soma mcp
Use Cargo while developing the repo:
cargo run --bin soma -- mcp
cargo run --bin soma -- serve
Release builds publish GitHub Release binaries, Docker/OCI metadata, the @dinglebear/soma npm launcher, MCP registry metadata, and plugin package files from the same release component.
Choose the amount of surface area you want without changing the provider authoring model.
| Target | Best fit | Default profile | Includes |
|---|---|---|---|
| Local agent adapter | Thin wrapper over dropped providers or an upstream API | local-adapter | CLI + stdio MCP in one local binary. No REST/Web mirror by default. |
| Shared API/MCP server | Service used by multiple clients or a gateway | server | CLI + REST API + Streamable HTTP MCP + stdio MCP + health/status routes + auth-capable runtime. |
| Full application platform | App owns state, jobs, dashboards, workflows, or human UI | full | server plus embedded web UI, OAuth, observability, and plugin support. |
| CLI-only or custom local tool | Scripts, operator utilities, one-machine tools | Custom feature set, usually starting from cli | CLI parser and shared service layer. The stock packaged local binary uses local-adapter, so CLI-only products may prune MCP or adjust binary feature gates. |
Lower-level Cargo features are available when you need a custom shape:
| Feature | Purpose |
|---|---|
cli | CLI shim and command parsing. |
mcp | MCP tool, schema, resource, prompt, and scope layers. |
mcp-stdio | Local stdio MCP transport. |
api | REST handlers and OpenAPI-backed business routes. |
auth | Shared auth policy and bearer-token enforcement. |
oauth | Google, Authelia, and GitHub OAuth/OIDC plus JWT issuance on top of auth. |
mcp-http | Streamable HTTP MCP mounted in Axum. |
web | Embedded static web UI fallback. |
observability | Metrics/tracing hooks. |
plugin | Plugin setup/support helpers. |
local-adapter | Lean local binary: cli + mcp-stdio. |
server | Deployable HTTP runtime profile: cli + api + HTTP MCP + stdio MCP. |
full | Complete platform profile: local adapter, server, web, OAuth, observability, and plugin support. |
Run the product as-is:
git clone https://github.com/dinglebear-ai/soma
cd soma
cargo run --bin soma -- serve
cargo run --bin soma -- mcp
cargo run --bin soma -- greet --name Alice
Useful smoke checks:
curl http://localhost:40060/health
cargo run --bin soma -- status cargo run --bin soma -- doctor
Call the MCP endpoint directly:
curl -s -X POST http://localhost:40060/mcp \
-H "Content-Type: application/json" \ -H "Accept: application/json, text/event-stream" \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"soma","arguments":{"action":"greet","name":"Alice"}}}'
The fastest path for a new server is provider-first. Add a provider manifest or module to providers/, then run the same binary. Use SOMA_PROVIDER_DIR when the provider catalog should live outside the working directory.
mkdir -p providers
cat > providers/hello-local.json <<'JSON' { "schema_version": 1, "provider": { "name": "hello-local", "kind": "static-rust", "title": "Hello Local" }, "tools": [ { "name": "hello_local", "description": "Return a deterministic hello payload from a dropped provider.", "input_schema": { "type": "object", "additionalProperties": false, "properties": { "name": { "type": "string" } } }, "cli": { "enabled": true, "command": "hello-local" }, "rest": { "enabled": true, "method": "POST", "path": "/v1/hello-local" }, "meta": { "result": { "message": "hello from a dropped provider" } } } ] } JSON
Call it through the dynamic CLI surface:
cargo run --bin soma -- hello-local --name Alice
Run the server and call the same provider over REST and MCP:
cargo run --bin soma -- serve
curl -s -X POST http://localhost:40060/v1/hello-local \ -H "Content-Type: application/json" \ -d '{"name":"Alice"}'
curl -s -X POST http://localhost:40060/mcp \ -H "Content-Type: application/json" \ -H "Accept: application/json, text/event-stream" \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"soma","arguments":{"action":"hello_local","name":"Alice"}}}'
Plain Python functions can also be dropped directly into providers/:
PROVIDER = {"name": "math-tools", "kind": "python"}
def add(a: int, b: int) -> int: """Add two integers.""" return a + b
When TOOLS is absent, public functions defined in the module become tools. Sync and async functions are supported, and common Python type annotations are converted into input schemas.
Python provider files are trusted code. Soma imports them during provider catalog refresh to discover tools, then executes tool calls in a sidecar with a cleared environment plus only declared provider/tool env values. Catalog import does not receive provider env; read secret
只显示了开头部分;其余内容请在仓库中阅读