Skip to main content

mcp-dispatch

A small framework for MCP servers whose tools are used by language models.

An MCP server usually shows an assistant one tool per thing it can do. Every tool's name, description and schema is read in every conversation, so a server that can do much costs much before the first call, and a permission has to be given tool by tool.

mcp-dispatch shows five tools and keeps everything else behind them:

Tool What it is for
get reads
search finds things, and the how-to guides
create adds or changes
destroy removes for good
share gives someone access

A call names a path and its arguments: create {"path": "shelf/add", "title": "Dune"}. The paths come from plugins: Python classes whose tagged methods are the actions. What the assistant needs to know about an action is made from its signature and docstring and is fetched when it is needed ("shelf/add?"), as are the how-to guides a plugin ships (search {"q": "lend a book", "t": "skill"}).

What you get:

  • A small first read. Five tool descriptions and a short first message, however many actions are installed.
  • One switch per risk. A client that lets an assistant read without asking, and asks before it deletes or shares, needs four settings.
  • Guide search. Describe a task in your own words to find guides by meaning. By default, the first search over installed guides loads the model.
  • Plugins. A package adds its actions by listing one class under an entry point. The host finds it when it starts.
  • A command line that falls out of it. mcp-dispatch call create shelf/add title=Dune makes the same call without a client, and mcp-dispatch help --exact shelf/add prints what an assistant would read about it.
  • Interface text that is checked. mcp-dispatch check fails when an action is not documented in full, when an example call is not one the action accepts, or when a how-to guide names a call that no longer exists.
  • Interface text that can be tried. mcp_dispatch.trials runs an assistant that has never seen your server against it, with your tools and nothing else, and keeps what it called. A text an assistant acts on is judged by what assistants do with it, beside the text it replaces.

Who writes against it

Assistants do. The guide is written for them and ships in the package:

uv run mcp-dispatch guide          # how to write a plugin
uv run mcp-dispatch guide host     # how to set up a host

If you work with an assistant, put this line into your project's AGENTS.md:

This project builds on mcp-dispatch. Before you write or change a plugin, read `uv run mcp-dispatch guide`; before you finish, `uv run mcp-dispatch check` must print ok.

A host in a few lines

from mcp_dispatch import SKILL_SEARCH, Dispatch

dispatch = Dispatch()                  # the standard tools and the search
dispatch.find_plugins()                # every plugin that is installed
dispatch.add_initial_message("You keep the lab's bookshelf for its people.")
dispatch.add_initial_message(SKILL_SEARCH)
dispatch.server("bookshelf").run()

Install with pip install "mcp-dispatch[mcp]" for a host, pip install mcp-dispatch for a plugin.

State

Pre-alpha. It was built inside Reticula and lifted out. The texts an assistant reads have been tried only as far as trials/README.md records.

Licence

MIT, see LICENSE. A plugin or a host that builds on mcp-dispatch may carry any licence.

Metadata

Release files for mcp-dispatch 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mcp-dispatch 0.2.0
File Size Uploaded Provenance Actions
mcp_dispatch-0.2.0.tar.gz 174.3 kB With provenance Details for mcp_dispatch-0.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for mcp-dispatch 0.2.0
File Interpreter ABI Platform Actions
mcp_dispatch-0.2.0-py3-none-any.whl Python 3 none any Details for mcp_dispatch-0.2.0-py3-none-any.whl

Total release size: 237.9 kB

Release files / mcp_dispatch-0.2.0.tar.gz

Download URL mcp_dispatch-0.2.0.tar.gz
Size 174.3 kB
Tags Source
SHA-256 checksum
How to use checksums
9a252ef82110124473dc1af9d9c50a2cfbf61430d4c652ecc4ece26748081c89
BLAKE2b-256 checksum
How to use checksums
abcdcaed5ec830932bd07dafc985af561d78de32d7e9409d9aeab4d02ad392e5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 29, 2026.

Transparency log

Release files / mcp_dispatch-0.2.0-py3-none-any.whl

Download URL mcp_dispatch-0.2.0-py3-none-any.whl
Size 63.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7b162f2c0490b1ec6e73bbf09aa14dff65df6b63674d8ead789e50882bf8edc0
BLAKE2b-256 checksum
How to use checksums
403a76f14754c8c1fa02b5763153ec05022174edbb694750da29c86b85387e37
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 29, 2026.

Transparency log

Security for mcp-dispatch 0.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for mcp_dispatch-0.2.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 29, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page