Back to Browse

Spm MCP Server

Developer ToolsLow Risk10.0MCP RegistryLocalRemote
Free

Server data from the Official MCP Registry

Memory that refuses with a reason instead of guessing; partitioned per end user.

About

Memory that refuses with a reason instead of guessing; partitioned per end user.

Remote endpoints: streamable-http: https://api.spmos.ai/mcp

Security Report

10.0
Low Risk10.0Low Risk

Valid MCP server (3 strong, 4 medium validity signals). No known CVEs in dependencies. Package registry verified. Imported from the Official MCP Registry.

Endpoint verified · Requires authentication · 2 issues found

Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.

Permissions Required

This plugin requests these system permissions. Most are normal for its category.

env_vars

Check that this permission is expected for this type of plugin.

HTTP Network Access

Connects to external APIs or services over the internet.

What You'll Need

Set these up before or after installing:

SPM API key with memory:readRequired

Environment variable: SPM_API_KEY

Optional end-user partitionOptional

Environment variable: SPM_USER_PARTITION

How to Install & Connect

Available as Local & Remote

This plugin can run on your machine or connect to a hosted endpoint. during install.

Documentation

View on GitHub

From the project's GitHub README.

SPM MCP

MCP server for SPM memory. It gives an agent recall and write over a tenant-isolated memory plane where answers must be backed by a stored source: when nothing supports the question, you get a refusal with a machine-readable reason instead of a plausible invention.

Five tools: remember, recall, status, read, delete (the aliases add_memory, search_memory, delete_memory take the same arguments).

  • Evidence gate. recall returns gate_reason and evidence refs. Only a passed gate carries an answer; everything else says why it abstained.
  • Per-end-user partitions. One tenant, many people. user_partition keeps one customer's memory out of another's recall.
  • Readable provenance. Every ref carries a console_url that opens the source in the SPM console.

Connect (hosted, default)

  1. Create a key at https://app.spmos.ai/api?utm_source=spm-mcp&utm_medium=readme with the memory:read scope (add memory:write to let the agent save).
  2. Add the server. In Cline (~/.cline/data/settings/cline_mcp_settings.json):
{
  "mcpServers": {
    "spm": {
      "type": "streamableHttp",
      "url": "https://api.spmos.ai/mcp",
      "headers": { "Authorization": "Bearer spm_live_v1_YOUR_KEY" },
      "disabled": false,
      "autoApprove": []
    }
  }
}

Any MCP client that accepts a remote URL and an Authorization header works the same way. Claude Code:

claude mcp add --transport http spm https://api.spmos.ai/mcp \
  --header "Authorization: Bearer spm_live_v1_YOUR_KEY"

Connect (local stdio)

For clients that can only run a command (from npm):

{
  "mcpServers": {
    "spm": {
      "command": "npx",
      "args": ["-y", "@spmos/spm-mcp"],
      "env": { "SPM_API_KEY": "spm_live_v1_YOUR_KEY" }
    }
  }
}

Optional: SPM_USER_PARTITION pins every recall and write to one end user, SPM_BASE_URL points at another deployment.

Ninety seconds: does the partition actually hold

  1. With the key from step 1, save one fact in partition alice:
curl -sS -X POST https://api.spmos.ai/v2/ingest \
  -H "Authorization: Bearer $KEY" -H 'content-type: application/json' \
  -d '{"text":"Alice rotates the deploy key every Monday.","user_partition":"alice"}'
  1. Ask as alice, then as bob, with the same question:
for p in alice bob; do
  curl -sS -X POST https://api.spmos.ai/v2/recall \
    -H "Authorization: Bearer $KEY" -H 'content-type: application/json' \
    -d "{\"query\":\"when is the deploy key rotated\",\"top_k\":1,\"depth\":\"fast\",\"user_partition\":\"$p\"}"
  echo
done

alice answers with "gate_reason":"passed" and a source. bob returns an abstention with gate_reason such as no_candidate. Extraction runs asynchronously, so the first recall can take a few seconds; status tells you whether a source is ready.

Tools

ToolScopeNotes
remembermemory:writeIdempotent via idempotency_key.
recallmemory:readdepth: fast, auto, deep. Returns gate_reason, evidence refs, console_url.
statusmemory:readWhether saved sources are ready to be recalled.
readmemory:readOriginal text for a ref; reports truncation counts.
deletememory:deleteRemoves a source and everything derived from it.

user_partition on remember/recall needs the memory:partition scope.

Failure behaviour

A refused question is a normal result, not an error: the caller sees the gate reason and can decide to widen the question. Transport failures return an error with the reason. The local shim reconnects on the next call instead of exiting.

Data and isolation

Requests carry the key, the tool arguments and the memory text. Nothing else: no repository contents beyond what you pass, no telemetry. Tenants are fenced server-side by the key's tenant; partitions fence end users inside a tenant. See SECURITY.md.

Development

npm install
SPM_API_KEY=spm_live_v1_... npm run smoke   # read-only: lists tools, one recall

License

MIT.

Reviews

No reviews yet

Be the first to review this server!