Soma
OfficialClick on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Somashow me the current status"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Soma
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 soma-rmcp 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.
Contents
Related MCP server: mcp-devtools
Naming
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 |
|
|
Rust crate/package |
| service-specific crate names |
Canonical binary |
| usually |
npm package |
|
|
MCP tool |
| usually |
Env prefix |
| generated service prefix |
Capabilities And Boundaries
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 | 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 | 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 |
Batteries Included
One compact MCP service tool (
soma) withactiondispatch, so agent tool lists stay small even as provider catalogs grow.One canonical binary:
somawith explicitserve,mcp, and CLI modes for REST API, Streamable HTTP MCP, stdio MCP, optional web UI, and local actions.Dynamic provider loading from
.json,.ts,.py,.wasm, and.mdfiles, plus native Rust providers and upstream MCP/OpenAPI provider kinds. A structuredproviders/{tools,prompts,resources}/layout is supported alongside root-level files, including path-derived MCP resources (static files and dynamic.tsreaders) with a path-traversal trust boundary.Provider manifest contracts for tools, prompts, resources, tasks, elicitation forms, env requirements, capability grants, and surface overlays.
Shared validation, destructive-action confirmation, auth/scope enforcement, response limits, redaction, logging, metrics, generated OpenAPI, generated provider surface docs, plugin manifests, setup, doctor, and release tooling.
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.
Install
Use the npm launcher when an MCP client expects an npx command. The package is
a launcher for the Rust binary; install soma first or set SOMA_BIN to its
absolute path.
npx -y soma-rmcp mcpUse Cargo while developing the repo:
cargo run --bin soma -- mcp
cargo run --bin soma -- serveRelease builds publish GitHub Release binaries, Docker/OCI metadata, the
soma-rmcp npm launcher, MCP registry metadata, and plugin package files from
the same release component.
Product Profiles
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 |
| 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 |
| 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 |
|
|
CLI-only or custom local tool | Scripts, operator utilities, one-machine tools | Custom feature set, usually starting from | CLI parser and shared service layer. The stock packaged local binary uses |
Lower-level Cargo features are available when you need a custom shape:
Feature | Purpose |
| CLI shim and command parsing. |
| MCP tool, schema, resource, prompt, and scope layers. |
| Local stdio MCP transport. |
| REST handlers and OpenAPI-backed business routes. |
| Shared auth policy and bearer-token enforcement. |
| Google, Authelia, and GitHub OAuth/OIDC plus JWT issuance on top of |
| Streamable HTTP MCP mounted in Axum. |
| Embedded static web UI fallback. |
| Metrics/tracing hooks. |
| Plugin setup/support helpers. |
| Lean local binary: |
| Deployable HTTP runtime profile: |
| Complete platform profile: local adapter, server, web, OAuth, observability, and plugin support. |
Quickstart
Run the product as-is:
git clone https://github.com/dinglebear-ai/soma
cd soma
# Full platform mode: REST API + HTTP MCP + web fallback on :40060
cargo run --bin soma -- serve
# Local binary: stdio MCP
cargo run --bin soma -- mcp
# Local binary: CLI
cargo run --bin soma -- greet --name AliceUseful smoke checks:
curl http://localhost:40060/health
cargo run --bin soma -- status
cargo run --bin soma -- doctorCall 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"}}}'Drop In A Provider
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"
}
}
}
]
}
JSONCall it through the dynamic CLI surface:
cargo run --bin soma -- hello-local --name AliceRun 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 + bWhen 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 secrets inside tool functions, not at module import time.
Provider manifests can declare:
tools/actions exposed through MCP by default and through CLI/REST when their overlays opt in
MCP-native prompt, resource, task, and elicitation metadata for the provider registry contract
required environment variables and redaction rules
filesystem, network, browser, terminal, GitHub, and env capability grants
limits, destructive-action metadata, examples, generated docs, plugin, and UI metadata
Supported provider kinds are static-rust, openapi, ai-sdk, wasm, mcp,
python, langchain, and llamaindex. See
docs/specs/dynamic-provider-runtime.md,
docs/contracts/provider-manifest.schema.json,
and docs/generated/provider-surfaces.md.
Scaffold A New Project
Use cargo xtask scaffold when the provider-first path needs to become a new
repository with its own crate names, binary names, ports, plugin package,
Docker metadata, release metadata, and docs. It can plan without touching files,
generate with cargo-generate plus the Rust post-processor, write
docs/scaffold-report.md, and verify the generated export shape.
Plan from a short service name:
cargo xtask scaffold --name myservice --category upstream-client --port auto --planPlan from MCP scaffold_intent JSON:
cargo xtask scaffold --intent scaffold-intent.json --planGenerate into an output parent directory:
cargo xtask scaffold --intent scaffold-intent.json --apply ../generatedVerify an existing generated project:
cargo xtask scaffold --verify ../generated/myservice-mcpPrint a path-aware follow-up plan for adapting the generated stub:
cargo xtask scaffold --adapt-plan ../generated/myservice-mcpMaterialize starter artifacts from an action manifest:
cargo xtask scaffold \
--write-action-starters ../generated/myservice-mcp \
--actions actions.jsonAdd starter action snippets:
cargo xtask scaffold \
--intent scaffold-intent.json \
--actions actions.json \
--planExample action manifest:
{
"actions": [
{
"name": "list_things",
"description": "List visible things.",
"scope": "read",
"params": [
{ "name": "kind", "type": "string", "required": false }
]
}
]
}Use:
--category upstream-clientfor a lean local adapter around an existing API.--category application-platformfor API + CLI + MCP + web defaults.--no-cargo-checkonly when you need fast static verification while iterating.
See docs/SCAFFOLD.md, docs/CARGO_GENERATE.md, and docs/contracts/scaffold-intent.schema.json for the full scaffold contract.
Architecture
The runtime keeps product behavior behind the provider registry. Every external surface is a thin parser/formatter around the same provider snapshot and service runtime, so dropping a provider does not require hand-editing MCP, CLI, REST, OpenAPI, plugin, or docs code.
ProviderRegistry
crates/soma/application/src/provider_registry.rs
Validates provider manifests, computes snapshots/fingerprints, indexes tools,
prompts, resources, CLI commands, REST routes, and MCP primitives.
Provider sources
crates/soma/application/src/providers/
Static Rust, file-backed JSON manifests, TypeScript AI SDK sidecars, Python
LangChain/LlamaIndex sidecars, WASM, OpenAPI-backed providers, and upstream
MCP providers.
SomaService
crates/soma/application/src/service.rs
Built-in product/service logic used by the static Rust provider.
Transport shims
crates/soma/cli/src/lib.rs CLI parser and output formatting.
crates/soma/mcp/src/tools.rs MCP JSON args to service calls.
crates/soma/api/src/api.rs REST extractors to service calls.
apps/soma/src/http.rs Axum router, auth, MCP, API, web fallback.
Built-in action metadata
crates/soma/domain/src/actions.rs
Native action metadata, validation, cached catalog/help, and native dispatch.The thin-shim rule is strict:
Parse input at the surface.
Call the provider registry or service runtime.
Return or print the result.
Do not put business rules in CLI, MCP, REST handlers, or the binary entrypoint
(apps/soma/src/bin/soma.rs / apps/soma/src/bootstrap.rs).
Runtime Surfaces
The canonical binary can run the whole app from one executable:
soma serve # HTTP server: REST API + Streamable HTTP MCP + web fallback
soma mcp # stdio MCP transport
soma status # CLI command through the same binaryLocal adapter mode is optimized for plugin/local use:
soma mcp # stdio MCP transport
soma greet --name Alice # CLI command
soma doctor # operator pre-flight checks
soma watch # poll /health and emit state changes
soma setup check # plugin/appdata setup checksEvery explicit runtime mode loads the provider registry. File providers default
to ./providers and can be moved with SOMA_PROVIDER_DIR. CLI startup, MCP
dispatch, and dynamic REST routes refresh file providers before execution, then
enforce the active provider snapshot's schema, surface, scope, capability,
destructive-action, and response-limit rules.
HTTP routes in the server profile:
Route | Purpose |
| Streamable HTTP MCP transport. |
| Unauthenticated liveness. |
| Readiness check. |
| Public redacted runtime status. |
| Generated REST OpenAPI schema. |
| Prometheus metrics when built with |
| REST route inventory. |
| Direct REST business routes. |
| Generic REST execution route for dropped provider tools. |
| Optional provider-declared REST route when a tool supplies a custom REST overlay. |
| OAuth metadata when OAuth is enabled. |
| Embedded web UI fallback when built with |
REST is direct-route-only: there is no /v1/soma action envelope. MCP remains one soma tool with an action argument.
MCP Tool Reference
The runtime exposes one compact MCP tool, soma, with an action argument.
Built-in actions and dropped provider tools share that same dispatch path. This
keeps MCP discovery small while allowing the provider catalog to grow behind the
single tool.
Action | Scope | Cost | Transport | REST route | CLI | Parameters | Description |
|
|
| MCP + CLI + REST |
|
|
| Return a greeting. |
|
|
| MCP + CLI + REST |
|
|
| Echo a message back unchanged. |
|
|
| MCP + CLI + REST |
|
| none | Return server status and configuration info. |
|
|
| MCP-only | - |
| none | Ask the MCP client to collect a name, then return a personalised greeting. |
|
|
| MCP-only | - |
| none | Collect scaffold setup intent through MCP elicitation and return JSON for the scaffold-project skill. |
| public |
| MCP + CLI + REST |
|
| none | Show the action reference. |
Python provider lifecycle administration is exposed through the same compact tool with these explicit actions:
environment cache:
python_environment_status,python_environment_prune_plan,python_environment_prune,python_environment_repair, andpython_environment_update;persistent workers:
python_worker_status,python_worker_cancel, andpython_worker_reset;provider generations:
python_generation_statusandpython_generation_rollback.
Built-in business actions keep MCP + CLI + REST parity unless there is a
protocol reason they cannot. elicit_name and scaffold_intent are MCP-only
because they rely on MCP elicitation. serve, mcp, doctor, watch, setup,
and package are CLI operator commands, not business actions.
Dropped provider tools are MCP-enabled by default and REST-executable through
POST /v1/tools/{action} unless the tool explicitly sets
rest.enabled=false. A rest overlay can add a custom route, method, and
OpenAPI metadata; the generic route remains the web/adapter-safe execution
shape. CLI exposure is opt-in through each tool's cli overlay. Provider
prompts, resources, tasks, and elicitation forms are part of the provider
manifest contract and registry index; they are not mirrored to CLI or REST by
default.
CLI Reference
The soma binary exposes operator commands and provider-backed actions through
the same registry snapshot used by MCP:
soma greet --name Alice
soma echo --message hello
soma status
soma help
soma providers validate
soma providers inspect
soma providers test status
soma providers list --dir ./examples/providers
soma providers lint --dir ./examples/providers
soma providers status --dir ./examples/providers
soma doctor
soma setup check
soma package generate --checkProvider tools opt in to CLI exposure with a cli overlay. Dynamic CLI flags
are derived from the provider input schema, so the generated provider catalogs
remain the source of truth for current action shapes.
Safety And Trust Model
MCP callers never provide API keys, OAuth secrets, bearer tokens, passwords, or other credentials in tool arguments. Credentials live in environment variables, config files, appdata, or the upstream provider runtime.
Provider manifests are validated before dispatch. The registry enforces surface opt-ins, JSON Schema input validation, auth scope, declared host capabilities, destructive-action confirmation, response-size limits, and structured provider errors. Python, LangChain, LlamaIndex, and TypeScript provider files are trusted local code; WASM providers run through the sandboxed WASM provider path; OpenAPI and MCP providers delegate trust to their configured upstream service.
Authentication
The HTTP server supports four auth policies:
Policy | When | Effect |
Loopback development | Loopback bind, or | No auth middleware, no scope checks. |
Bearer token |
|
|
OAuth |
| Browser-based Google, Authelia, or GitHub login issues JWT bearer tokens. |
Trusted gateway |
| Local auth and scope checks disabled because an upstream gateway is responsible. |
The startup guard refuses non-loopback unauthenticated binds unless bearer,
OAuth, or trusted-gateway mode is configured. /health, /readyz, /status,
and /openapi.json are public by design and return only safe runtime metadata.
See docs/AUTH.md for the detailed auth model.
Configuration
Values load from config.toml, local appdata files, and environment variables;
explicit environment variables win. The built-in offline provider works without
real credentials, but generated projects should mark their real
upstream/platform credentials as required.
Variable | Required | Default | Description |
| no | empty | Deployed platform API or upstream service URL. Empty selects stub/offline behavior. |
| no | empty | Bearer token or upstream service API key. |
| no |
| Directory scanned for drop-in provider files. Relative paths resolve from the current working directory. |
| no |
| HTTP server bind host. |
| no |
| HTTP server bind port. |
| no |
| MCP server name advertised to clients. |
| no |
| Disable auth for loopback development. |
| no |
| Trusted-gateway non-loopback no-auth mode. |
| bearer | empty | Static bearer token. |
| no | empty | Extra comma-separated Host header values. |
| no | empty | Extra comma-separated CORS origins. |
| no |
| Trusted inbound HTTP trace extraction: |
| no |
|
|
| OAuth | empty | Public URL for OAuth metadata and callbacks. |
| OAuth | empty | Google OAuth client ID. |
| OAuth | empty | Google OAuth client secret. |
| Authelia | empty | HTTPS Authelia OIDC issuer URL. |
| Authelia | empty | Authelia OIDC client ID. |
| Authelia | empty | Authelia OIDC client secret. |
| GitHub | empty | GitHub OAuth App client ID. |
| GitHub | empty | GitHub OAuth App client secret. |
| no | first configured | Provider used when a request omits |
| OAuth | empty | Initial/admin OAuth email. |
| no |
| Log filter. Stdio mode suppresses noisy logs to avoid corrupting JSON-RPC. |
Keep SOMA_MCP_TRACE_HEADERS=off unless the server is bound to loopback or a
trusted gateway strips or overwrites trace headers from untrusted clients.
Bearer/OAuth authentication alone is not that trust boundary. See
docs/TRACE_CONTEXT.md for the complete inbound-only
trace-header contract.
Samples:
.env.example for secrets, URLs, and runtime env.
config.soma.toml for non-secret defaults.
Provider callback paths default to /auth/google/callback,
/auth/authelia/callback, and /auth/github/callback; callback and scope
overrides are listed in docs/ENV.md. GitHub OAuth Apps do not
provide an upstream refresh token, so GitHub-authenticated sessions do not
receive a local refresh token and must sign in again after their access token
expires. See docs/AUTH.md for provider selection and security
details.
Development
# Build profiles
cargo build --bin soma --no-default-features --features local-adapter
cargo build --bin soma --no-default-features --features server
cargo build --bin soma --features full
# Run checks
cargo fmt -- --check
cargo clippy --all-targets -- -D warnings
cargo nextest run
cargo xtask contract-audit
cargo xtask generate-provider-surfaces --check
# Common just recipes
just dev # loopback HTTP server with local no-auth
just mcp # stdio MCP
just greet # CLI smoke test
just doctor # pre-flight check
just build-local # local adapter binary
just build-full # web assets + full platform binary
just verify # fmt, lint, check, test
just check-docs # generated docs/metadata current
just scaffold-contract-check
just validate-plugincargo xtask ci runs the main local CI sequence. Optional tools such as
cargo-nextest, taplo, and cargo-audit are used when installed.
Workspace layout
35 cargo members:
Path | Contents |
| Product code for this server — domain, application, config, client, api, cli, mcp, runtime, integrations, palette, web, test-support |
| Reusable engine crates other servers consume — auth, mcp (client/server/proxy/gateway), provider-core, provider-adapters, http-api, http-server, observability, openapi, self-update, traces, codemode, cli-core |
| Upstream service bridges — |
| The |
| pyo3 Python provider platform ( |
| All repository automation; |
rmcp is pinned exactly — rmcp = { version = "=3.0.0-beta.2", default-features = false }
in [workspace.dependencies], duplicated on the rmcp-client alias entry
because TOML cannot cross-reference. Bump both together.
Known inconsistency: [workspace.package] declares no edition, so each
member sets its own — currently 31 on edition 2021 and 4 on edition 2024. Since
generated projects inherit this manifest shape, prefer hoisting
edition = "2024" into [workspace.package] (with members using
edition.workspace = true) over adding another per-crate edition line.
Client Configuration
Streamable HTTP:
{
"mcpServers": {
"soma": {
"url": "http://localhost:40060/mcp",
"headers": {
"Authorization": "Bearer YOUR_TOKEN"
}
}
}
}Stdio:
{
"mcpServers": {
"soma": {
"command": "/path/to/soma",
"args": ["mcp"],
"env": {
"SOMA_API_URL": "https://api.example.com",
"SOMA_API_KEY": "YOUR_API_KEY",
"RUST_LOG": "warn"
}
}
}
}For generated projects, replace soma, SOMA_*, tool names, scopes,
and paths with the generated service names.
Plugin Surfaces
The repo ships one shared Soma plugin package under plugins/soma for Claude Code, Codex, and Gemini surfaces. Plugin manifests are versionless; release tooling derives version identity from git state. The plugin package can use the local stdio adapter and includes setup/doctor support for appdata and environment files.
Primary docs:
Distribution Contract
The soma release component is defined in
release/components.toml. Version-bearing artifacts
must stay aligned across the Rust package, Cargo.lock, server.json, the npm
package, generated OpenAPI metadata, OCI image identifiers, and the changelog.
Plugin manifests stay versionless. Marketplace and plugin release identity is
derived from git/package metadata, while server.json and generated provider
surface docs describe the currently shipped runtime surface. Run
cargo xtask check-version-sync, cargo xtask generate-provider-surfaces --check,
and cargo xtask check-docs before publishing release metadata.
Web UI
The web feature serves the static export bundled by soma-web. Editable
frontend source lives in apps/web, and cargo xtask sync-web-source
copies that source into the Rust crate bundle.
Useful commands:
cargo xtask build-web
cargo xtask sync-web-source
cargo xtask check-web-source-sync
pnpm -C apps/web validateGenerated projects that do not need a human UI should use local-adapter,
server, or a custom feature set without web.
Deployment
The full platform profile is designed for one deployable soma binary. The repository
also includes Docker and Compose samples:
When adapting a generated project, verify the canonical binary name, exposed port, healthcheck port, image labels, service user/group, data volume, and required environment variables. The scaffold verifier catches several scaffold-only artifacts, but deployment files still need service-specific review before publishing an image.
When Drop-In Providers Are Not Enough
Most new capabilities should start as provider files. Reach for native Rust or a scaffolded product when you need a reusable crate boundary, richer service state, custom clients, background jobs, a dedicated package identity, or hand-tuned transport behavior.
For a generated product, start by printing the profile-aware checklist:
cargo xtask scaffold --adapt-plan ../generated/myservice-mcpThen generate reviewable starter artifacts for the repetitive action wiring:
cargo xtask scaffold \
--write-action-starters ../generated/myservice-mcp \
--actions actions.jsonThis writes docs/action-starters/ in the generated project with snippets for
action metadata, MCP dispatch, CLI variants, service stubs, and test coverage.
Replace the stub client in
crates/soma/client/src/client.rsonly when the provider file path is not enough.Put domain logic in
crates/soma/application/src/service.rsor focused service modules.Register native provider/action metadata so MCP, CLI, REST, docs, and plugins stay registry-driven.
Regenerate MCP schema docs, provider surface docs, and OpenAPI so generated surfaces reflect the provider registry.
Add REST handlers only for infrastructure routes; business actions should stay registry-backed direct routes.
Update config fields and env prefixes in
crates/soma/config/src/config.rs.Update
.env.example,config.soma.toml, plugin options, and setup mappings.Update
server.json, plugin metadata, repository URLs, Docker labels, and release metadata.Add tests for MCP dispatch, CLI parsing, REST routes, provider loading, and service behavior.
For generated/exported projects, run scaffold verification plus the project's local quality gates.
For public repositories, also review tracked docs, generated metadata, CI runner configuration, and secret-scanning allowlists before publishing.
Troubleshooting
soma doctorchecks local configuration, appdata, and connectivity.soma providers validateconfirms provider manifests and compiled schemas against the loaded, live registry.soma providers inspectshows provider surfaces, capability posture, and generated action inventory.soma providers list|lint|statusinspect drop-in provider files on disk without loading the registry or executing any handler — safe to run before the runtime touches TS/WASM/MCP/OpenAPI providers. Seedocs/PROVIDERS.md.Stdio mode keeps logs quiet so JSON-RPC is not corrupted; use HTTP mode or file logs when investigating noisy startup failures.
If generated docs drift, run
cargo xtask generate-provider-surfaces --writeand then re-run the--checkcommand.
Related Servers
runifi - UniFi controller REST API bridge.
rtailscale - Tailscale API bridge for devices, users, and tailnet operations.
unraid - Unraid monorepo: Python and Rust GraphQL MCP servers plus Unraid plugins.
rapprise - Apprise notification fan-out bridge for many delivery backends.
rgotify - Gotify push notification bridge for sends, messages, apps, and clients.
rarcane - Arcane Docker management bridge for containers and related resources.
yarr - Media-stack bridge for Sonarr, Radarr, Prowlarr, Plex, and related services.
rytdl - Media download and metadata workflow server.
synapse - Local Synapse workflow server for scout and flux actions.
cortex - Syslog and homelab log aggregation MCP server.
axon - RAG, crawl, scrape, extract, and semantic search project.
labby - Homelab control plane and MCP gateway project.
lumen - Local semantic code search MCP server.
Documentation
Topic | Docs |
Architecture and layering | |
Dynamic provider runtime | docs/specs/dynamic-provider-runtime.md, docs/generated/provider-surfaces.md |
Provider manifest contract | docs/contracts/provider-manifest.schema.json, docs/contracts/examples/provider-manifests |
Scaffold workflow | |
Scaffold intent contract | docs/specs/scaffold-intent-handoff.md, docs/contracts/scaffold-intent.schema.json |
MCP action schema | |
REST OpenAPI | |
Auth | |
Plugins | |
Release/versioning | |
Automation | |
Tests |
Verification
Product runtime gates:
cargo xtask check-docs
cargo xtask generate-provider-surfaces --check
cargo xtask check-schema-docs --check
cargo xtask check-openapi --check
cargo xtask validate-plugin-layout
cargo xtask check-version-sync
just verifyScaffold/template gates are a separate lane. Run them when a change touches the scaffold contract, cargo-generate post-processing, or generated-project output:
cargo xtask check-scaffold-intent-contract
cargo xtask scaffold --verify ../generated/myservice-mcp
cargo xtask check-cargo-generateUse targeted checks while iterating, then run the broader product and affected scaffold gates before release.
License
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityBmaintenanceDurable, agent-native AI runtime with native MCP client and server support. Rust core for performance with Python SDK for workflow authoring. Features graph-based workflows, durable execution, A2A protocol support, and multi-agent coordination.Last updated820Apache 2.0
- AlicenseBqualityDmaintenanceProduction-grade MCP server that gives AI agents safe access to your local dev environment: filesystem, databases, processes, and OpenAPI specs.Last updated15523MIT
- Alicense-qualityDmaintenanceA production-grade MCP server designed for multi-tenant, authenticated, and observable AI agent systems, enabling secure tool execution across heterogeneous data sources.Last updated52MIT
Related MCP Connectors
Hosted AgentLux MCP server for marketplace, identity, creator, services, and social flows.
MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.
An MCP server for Arcjet - the runtime security platform that ships with your AI code.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/dinglebear-ai/soma'
If you have feedback or need assistance with the MCP directory API, please join our Discord server