🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@sapiom/mcp

Package Overview
Dependencies
Maintainers
3
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sapiom/mcp

Local Sapiom developer MCP server (sapiom-dev) — the unmetered surface for building and operating on Sapiom; today it scaffolds, tests, deploys, and inspects orchestrations. Not the remote Sapiom capability MCP.

Source
npmnpm
Version
0.9.0
Version published
Weekly downloads
219
40.38%
Maintainers
3
Weekly downloads
 
Created
Source

@sapiom/mcp

The local developer MCP server for Sapiom. It runs on your machine over stdio under the server name sapiom-dev — the unmetered sapiom_dev_* surface for building and operating on Sapiom. Today it gives a coding agent the tools to scaffold, test, deploy, and inspect Sapiom orchestrations; the namespace leaves room for other non-capability developer tooling later.

Not the capability surface. This is not the remote "Sapiom" MCP (the hosted connector with sapiom_sandbox_*, scrape, search, … capability tools). sapiom-dev is the local developer surface; it makes no paid capability calls and exposes no capability tools. See the two Sapiom MCP servers for which to use when.

Install

No global install — run it on demand with npx:

{
  "mcpServers": {
    "sapiom-dev": {
      "command": "npx",
      "args": ["-y", "@sapiom/mcp"]
    }
  }
}

In Claude Code:

claude mcp add sapiom-dev -- npx -y @sapiom/mcp

Configuration

The server targets the production environment by default. Override it with the SAPIOM_ENVIRONMENT environment variable:

{
  "mcpServers": {
    "sapiom-dev": {
      "command": "npx",
      "args": ["-y", "@sapiom/mcp"],
      "env": { "SAPIOM_ENVIRONMENT": "staging" }
    }
  }
}
  • production (alias prod) → app.sapiom.ai / api.sapiom.ai — the default.
  • staging (alias dev) → app.sapiom.dev / api.sapiom.dev.

Both resolve from built-in presets, so no config file is required. A custom target can be defined in ~/.sapiom/credentials.json (the server prints the expected shape if it encounters an unknown environment name).

Authentication

The first networked call (link, deploy, run, inspect, signal) needs a Sapiom API key. Run sapiom_authenticate and the server opens a browser login flow, then caches the resulting key per environment in ~/.sapiom/credentials.json. After that, tools work without re-authenticating. sapiom_status reports who you're authenticated as; sapiom_logout clears the cached credentials.

The local authoring tools (scaffold, check, run_local) need no authentication — they run entirely offline.

Tools

ToolNetworkWhat it does
sapiom_authenticatebrowserLog in and cache an API key for the current environment
sapiom_statusReport authentication status
sapiom_logoutClear cached credentials
sapiom_dev_agents_scaffoldCreate a new orchestration project
sapiom_dev_agents_checkBundle + validate the step graph offline
sapiom_dev_agents_run_localRun the workflow locally, resolving capability calls from stubs (no cost)
sapiom_dev_agents_linkResolve/create the hosted orchestration and cache its id
sapiom_dev_agents_deployPush the current commit, build, and wait for it
sapiom_dev_agents_runStart a real cloud execution
sapiom_dev_agents_inspectInspect an execution or build (optionally waiting for it)
sapiom_dev_agents_signalResume a paused execution by delivering a signal

A typical loop: scaffold → write step code → run_local until green → linkdeployruninspect.

How capabilities fit in

Workflows authored here call Sapiom capabilities — sandboxes, repositories, coding agents, search, storage, content generation — through @sapiom/tools (ctx.sapiom.*). run_local resolves those calls from stubs; a real run/deploy executes them in the cloud (metered). This MCP never grows a per-capability tool of its own — capabilities live in @sapiom/tools and the remote sapiom MCP. See the positioning doc for the full policy.

License

MIT

Keywords

sapiom

FAQs

Package last updated on 08 Jul 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts