SPM - Structured Project Memory

com.getspm由 getspm.com 发布官方发布者v0.2.10更新于 Oct 25, 2026

Durable, shareable and governed project memory with smart triage and explicit project composition.

已验证Streamable HTTP可网页运行知识与记忆开发者工具

概览

AI 生成的概览

SPM 是一个托管式 MCP 端点,为 AI 助手提供持久、可共享且受治理的项目记忆,包括需求、决策、测试与证据,可跨对话和运行延续。

可以做什么
跨对话、运行和工具使用持久项目记忆,解析当前活动项目而不与其他已授权项目混淆,仅在用户明确要求时组合跨项目上下文。使用智能记忆包,查询时间性项目记忆,请求限定范围上下文包,并校验上下文包的来源与哈希。查询上下文图谱与边界,运行策略感知的预检检查。向 SPM 回报已完成的操作、测试、证据与决策,并在客户端支持生命周期钩子时提交生命周期轮次进行记忆分诊。选择来源采集模式,查看按追加顺序记录的采集日志,比较不含正文的工作区清单,并通过一次性交接在其他助手或设备上继续项目。
适用场景
适合在修改代码前需要先获得项目需求、当前决策、约束和已完成工作的编码助手;也适合需要向工程师、客户、合作伙伴或支持团队分享限定范围记忆包而不暴露整个项目的交付团队。
运行要求
位于 getspm.com 的远程 streamable HTTP 端点,需要 Authorization bearer 令牌。需要 SPM 账户、至少含一个项目的组织、试用或付费方案,以及限定到单个项目、项目集或组织用户可访问项目的令牌。提供 Codex、Claude Code、Cursor 和 OpenClaw 客户端包;其他 MCP 客户端使用同一端点与令牌。
安装前请注意
Authorization bearer 令牌属于凭据:不要提交到代码库,优先使用环境变量或客户端的密钥存储,并保持其范围受限且可撤销。助手可写入记忆事件并向 SPM 回报证据,冒烟测试会创建项目范围的记忆事件,除非以只读方式运行。该连接器有意不提供计费、支付、破坏性租户管理和原始密钥。

安装

在 SourceWeft 中

  1. 打开 控制台中的 SPM - Structured Project Memory,将其添加到工作区。
  2. 连接 Authorization token 凭据。它们会被私密存储,绝不会在公开页面上展示。
  3. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/com.getspm%2Fspm/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。

{
  "mcpServers": {
    "spm-structured-project-memory": {
      "type": "http",
      "url": "https://getspm.com/v1/mcp",
      "headers": {
        "Authorization": "Bearer <YOUR_TOKEN>"
      }
    }
  }
}

README

SPM Agent Connectors

Public connector package for SPM - Structured Project Memory.

SPM turns project knowledge into durable, shareable, governed and internally smart project memory for AI agents. This repository contains only the public connector surface: the authenticated remote MCP configuration, installable bundles for Codex, Claude Code, Cursor and OpenClaw, browser authorization helpers, lifecycle adapters, examples and security guidance.

The SPM application, backend, billing system, private console, memory engine and infrastructure are not included in this repository.

Hosted MCP Endpoint

Human setup and inspection guide:

text
https://getspm.com/agents
text
https://getspm.com/v1/mcp

Official MCP Registry descriptor:

text
server.json

Registry name:

text
com.getspm/spm

The endpoint is public for discovery, but authenticated for use. A client needs:

  • an SPM account;
  • an organization and at least one project;
  • a trial or paid plan;
  • an SPM token authorized for one project, a selected project set or the projects the user may access in an organization.

What Agents Can Do

Connector profiles expose the agent-facing SPM surface:

  • use durable project memory across chats, runs and tools;
  • resolve the active project without confusing it with other authorized projects;
  • list authorized projects and compose cross-project context only when the user explicitly requests it;
  • work with smart memory packs that preserve requirements, current decisions, completed work, source-backed context and temporal signals;
  • query temporal project memory;
  • request scoped context packs;
  • verify context pack provenance and hashes;
  • query context graphs and boundaries;
  • run policy-aware preflight checks;
  • report completed actions, tests, evidence and decisions;
  • submit agent lifecycle turns to LLM-first memory triage with source provenance, when the client supports lifecycle hooks.
  • choose selective, complete redacted, summaries-only or metadata-only source capture independently from the memory that triage promotes for future use;
  • inspect and verify an append-ordered capture journal without exposing retained conversation bodies to agent tools.
  • propose a source-grounded project-memory bootstrap when no authorized project matches, request only the specific authorized evidence still needed, then wait for the user to create, link or skip it in SPM;
  • continue an authorized project in another agent or device through a short-lived one-time handoff that carries references rather than memory bodies or credentials;
  • compare body-free workspace manifests before a handoff: Git identity, revision and local-state hash; non-Git file or document snapshots; remote version references; or memory-only work;
  • refresh workspace manifests automatically at session start, before user turns and after completed work when the client supports lifecycle hooks, making stale observations and out-of-band changes visible without uploading local file bodies;
  • distinguish metadata-only source observations from material evidence and request an authorized source handoff when current content is required.

Typical Use Cases

  • Coding agents receive the project memory they should actually use before changing code: requirements, current decisions, tests, constraints and completed work.
  • Delivery teams turn scattered project knowledge into scoped packs for engineers, clients, partners or support without exposing the whole project.
  • Partners or external collaborators receive bounded memory with source, expiry, revocation, provenance and audit evidence.
  • Agent workflows preserve memory after the task by reporting decisions, tests and evidence back to SPM.

What Agents Cannot Do

The hosted MCP connector does not expose:

  • billing or checkout;
  • invoice payment;
  • customer portal creation;
  • destructive tenant administration;
  • raw secrets;
  • global operator tools.

This boundary is intentional. Agents receive the memory tools they need without being given commercial or destructive administrative powers.

Codex

Install the Codex plugin from this repository marketplace:

text
.agents/plugins/marketplace.json

Or configure Codex manually:

toml
[mcp_servers.spm]url = "https://getspm.com/v1/mcp"bearer_token_env_var = "SPM_CODEX_MCP_TOKEN"startup_timeout_sec = 30tool_timeout_sec = 120

Authorize Codex for all projects the signed-in organization user may access:

bash
python3 plugins/spm-codex/scripts/auth_spm_codex.py \  --project-id <authorization-project-id> \  --access-mode organization \  --write-env ~/.spm/codex.envsource ~/.spm/codex.env

Verify:

bash
python3 plugins/spm-codex/scripts/doctor_spm_codex.py

Run the functional remote MCP smoke:

bash
python3 plugins/spm-codex/scripts/smoke_spm_remote_mcp.py \  --project-id <authorized-project-id>

The smoke uses the same SPM_CODEX_MCP_TOKEN as Codex and requires an explicit authorized project id (or SPM_SMOKE_PROJECT_ID). It initializes the hosted MCP endpoint, verifies the project-resolution, multi-project, agent-session and memory tool surface, creates a small project-scoped smoke memory event, reads temporal state, creates and verifies a context pack, queries the context graph, runs agent preflight and reports post-action evidence. It never prints the token and the hosted connector strips raw event bodies from returned context.

For a non-mutating token check, use:

bash
python3 plugins/spm-codex/scripts/smoke_spm_remote_mcp.py \  --project-id <authorized-project-id> --read-only

Claude Code, Cursor And OpenClaw

The repository includes native client bundles:

  • plugins/spm-claude
  • plugins/spm-cursor
  • plugins/spm-openclaw

Clients that only support MCP can use the same remote endpoint and bearer token. The generic authorization helper is scripts/agent-connectors/authorize_spm_agent.py. See also:

  • examples/codex/config.toml
  • examples/claude-desktop/claude_desktop_config.json
  • examples/cursor/mcp.json
  • examples/windsurf/mcp_config.json

Security

Do not commit tokens. Prefer environment variables or each agent client's secret storage. Tokens must be explicitly scoped and revocable from SPM. Organization visibility does not permit silent project mixing: each task keeps one active project, while cross-project packs require an explicit user request. Session continuation does not clone, pull, reset or overwrite a workspace. Receiving agents inspect their actual material state, compare it with SPM's manifest and ask before obtaining or reconciling resources.

See SECURITY.md and docs/security-boundary.md.

Links

来源:README.md,提交 3e1e06d

工具

0
该服务器需要 API 密钥等凭据,因此 SourceWeft 无法在没有凭据的情况下读取其工具,也未收录。

版本历史

1
  1. v0.2.10最新Sep 16, 2026

评分

已满足适用检查项的 85%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分