Skip to main content

Durable Model Context Protocol (MCP) helpers for building resumable MCP servers on top of Reboot durable workflows.

Project description

Reboot Durable MCP

A framework for building durable MCP servers.

  • Takes advantage of the protocols ability to resume after disconnection.

  • Allows for the server itself to be restarted(!) and any existing requests to be retried safely thanks to Reboot workflows.

THIS IS IN PRE-ALPHA STAGE, EXPECT CHANGES, BUG FIXES, ETC; DO NOT RUN IN PRODUCTION!

First grab all dependencies:

uv sync

Activate the venv:

source .venv/bin/activate

Generate code:

rbt generate

Make sure you have Docker running:

docker ps

And run the test(s):

pytest tests

Supported client --> server requests:

  • initialize
  • tools/call
  • tools/list
  • prompts/get
  • prompts/list
  • resources/list
  • resources/read
  • resources/templates/list
  • resources/subscribe
  • resources/unsubscribe
  • completion/complete
  • logging/setLevel

Supported client --> server notifications:

  • notifications/initialized
  • notifications/roots/list_changed

Supported client <-- server requests:

  • elicitation/create
  • roots/list
  • sampling/createMessage

Supported client <-- server notifications:

  • notifications/progress
  • notifications/message
  • notifications/prompts/list_changed
  • notifications/resources/list_changed
  • notifications/tools/list_changed
  • notifications/resources/updated

Supported client <--> server notifications:

  • notifications/cancelled

TODO:

  • EventStore support for resumability
  • Docs
  • yapf
  • Push to durable-mcp in pypi.org
  • Pydantic state for each session

Project details


Download files

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

Source Distribution

durable_mcp-0.1.2.tar.gz (84.2 kB view details)

Uploaded Source

Built Distribution

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

durable_mcp-0.1.2-py3-none-any.whl (21.5 kB view details)

Uploaded Python 3

File details

Details for the file durable_mcp-0.1.2.tar.gz.

File metadata

  • Download URL: durable_mcp-0.1.2.tar.gz
  • Upload date:
  • Size: 84.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.11

File hashes

Hashes for durable_mcp-0.1.2.tar.gz
Algorithm Hash digest
SHA256 5a70c4e27f2baf2f38bd70b3fe10cf6f1834c43d1f323618505657169e4ebd8a
MD5 7873082416b5a426e088c1ec9d0bb916
BLAKE2b-256 5a133d0aef34493e8ba2db0ac0aac08cb3980785ed171fed41bfe03552619187

See more details on using hashes here.

File details

Details for the file durable_mcp-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: durable_mcp-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 21.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.11

File hashes

Hashes for durable_mcp-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 6fcbdbf2913b53fc5a8a3dd4f4c55c0c465d72f8065cd45bfb5e342afacc4ced
MD5 1b31bd5da889a0b4474b5d14dcbf51db
BLAKE2b-256 8db89f48ca6c35465fb2a92ed9282bc5d5c99739a7bf4db59afeddaf8b1cbab7

See more details on using hashes here.

Supported by

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