Skip to main content

ssot-mcp

Optional MCP server for SSOT registry coordination and pull-worker campaigns.

PyPI version Supported Python versions Downloads Repository hits Discord schema_version 0.8.0 Migration coverage 14/14

ssot-mcp is the optional Model Context Protocol server for SSOT.

It lets MCP-capable clients coordinate registry mutations, pull-worker campaigns, leases, worker events, and campaign state through tools backed by ssot-core. The ordinary .ssot/registry.json, Python API, and ssot-cli workflows do not require this package.

What this package owns

  • The ssot-mcp console entry point
  • MCP tools, resources, and prompts for optional SSOT control-plane workflows
  • Registry entity CRUD and linking tools for MCP clients
  • Pull-worker campaign tools for claiming slices, renewing leases, completing slices, abandoning slices, and reading worker events
  • In-process delegation to the live ssot CLI parser for command coverage that is not yet exposed as a dedicated MCP tool

When to use this package

Use ssot-mcp when you want:

  • a Codex or MCP client to mutate SSOT registry entities without hand-editing .ssot/registry.json
  • workers to pull maturation slices from a shared SSOT registry
  • durable worker events and campaign status exposed through MCP tools
  • a repo-pinned MCP server for one repository
  • an explicit repo-per-call MCP server for development and test harnesses

Use another package when you want:

Install

python -m pip install ssot-mcp
python -m pip install "ssot-registry[mcp]"
python -m pip install "ssot-registry[all]"

For local development:

python -m pip install -e pkgs/ssot-mcp

This package depends on ssot-core and the official Python MCP runtime. Its SSOT dependency range tracks the current core release train with a compatible <0.3.0 bound.

Start the server

Run one pinned server per repository in normal use:

ssot-mcp --transport stdio --repo E:\swarmauri_github\ssot-registry

Run global development mode only when every tool and resource call must provide an explicit repo argument:

ssot-mcp --transport stdio --repo-mode explicit

See Codex MCP configuration for Codex config.toml examples.

Registry write authority

Workers and MCP clients should not hand-edit .ssot/registry.json. When a client needs SSOT entity changes, it asks ssot-mcp to perform the mutation through registry tools such as:

  • registry_entity_get
  • registry_entity_list
  • registry_entity_search
  • registry_entity_upsert
  • registry_entity_delete
  • registry_entity_link
  • registry_entity_unlink
  • get_ssot_cli_surface
  • run_ssot_cli
  • mirrored ssot_cli__* tools for each live CLI command path

The structured entity tools use the same core registry mutation APIs as the CLI, validate before saving, and emit registry_updated events. get_ssot_cli_surface exposes the live parser inventory, run_ssot_cli remains the generic delegation fallback, and ssot-mcp also registers mirrored ssot_cli__* MCP tools for every current CLI command path. Together they keep the CLI and MCP surfaces aligned across global flags, help/version requests, commands, subcommands, command flags, and subcommand flags.

Pull-worker campaign model

Workers pull work with claim_next_maturation_slice. Push notifications may wake, pause, refresh, or stop workers, but they do not assign feature or tier slices.

Useful tools include:

  • claim_next_maturation_slice
  • get_slice_context
  • complete_slice
  • renew_lease
  • abandon_slice
  • get_campaign_status
  • get_worker_events
  • ack_worker_events
  • get_conflicts
  • scaffold_target_claim_wiring
  • repair_blocked_transition

claim_next_maturation_slice accepts feature_ids, profile_ids, and boundary_ids. Unscoped campaigns consider 25 in-bounds active features by default, and operators can raise feature_limit explicitly for broader campaigns. Out-of-bounds features are filtered from assignment and campaign status output.

Auto-scaffolding is enabled by default so ssot-mcp attempts target-tier claim, test, and evidence scaffolding before returning a blocked result. When a claim response returns kind="blocked", it includes a top-level reason and structured problem_detail with recommended MCP tool calls.

Package relationships

If you need an MCP server for Codex or another MCP-capable client, install this package. If you only need local command-line registry operations, install ssot-cli.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ssot_mcp-0.1.8.tar.gz (12.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ssot_mcp-0.1.8-py3-none-any.whl (11.0 kB view details)

Uploaded Python 3

File details

Details for the file ssot_mcp-0.1.8.tar.gz.

File metadata

  • Download URL: ssot_mcp-0.1.8.tar.gz
  • Upload date:
  • Size: 12.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.28 {"installer":{"name":"uv","version":"0.11.28","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for ssot_mcp-0.1.8.tar.gz
Algorithm Hash digest
SHA256 fcab481c69f7bc6bb25718fbd7d7f4909b29d20783d2786baf6493e39e6e41f1
MD5 f8ebfaf12aa89937c8daf93ac7d8b14c
BLAKE2b-256 b91fa9c229dbd64dfeda17d97f98f08d6cc8eac22a8a091bc043dbe128146165

See more details on using hashes here.

File details

Details for the file ssot_mcp-0.1.8-py3-none-any.whl.

File metadata

  • Download URL: ssot_mcp-0.1.8-py3-none-any.whl
  • Upload date:
  • Size: 11.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.28 {"installer":{"name":"uv","version":"0.11.28","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for ssot_mcp-0.1.8-py3-none-any.whl
Algorithm Hash digest
SHA256 e9dfa8795e68b2db90fb9c77e80c669d476891f447e48cb07470e10a33aef6c8
MD5 5162eb96387f7092433bbe6b577e19a2
BLAKE2b-256 bf741a8b50a2027173b300164e715d106ccc6e4ccba00687875af5f2fe604dfe

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.8 This release

2 files

0.1.7

2 files

0.1.6

2 files

0.1.5

2 files

0.1.4

2 files

0.1.3

2 files

0.1.2

2 files

0.1.1

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page