Skip to main content

Rust core runtime for MCP Mesh agents

Project description

MCP Mesh Core

Rust core runtime for MCP Mesh agents. This library handles:

  • Agent startup and registration
  • Heartbeat loop (fast HEAD + conditional POST)
  • Topology management and change detection
  • Event streaming to language SDKs

Building

# Install maturin
pip install maturin

# Build and install in development mode
maturin develop

# Build release wheel
maturin build --release

Usage from Python

from mcp_mesh_core import AgentSpec, start_agent

# Create agent specification
spec = AgentSpec(
    name="my-agent",
    version="1.0.0",
    registry_url="http://localhost:8100",
    http_port=9000,
    capabilities=[...],
    dependencies=[...],
)

# Start agent (returns handle)
handle = start_agent(spec)

# Listen for topology events
async def event_loop():
    while True:
        event = await handle.next_event()
        print(f"Event: {event.event_type}")

Architecture

Python SDK                     Rust Core
───────────────────────────────────────────
Decorators          →
Metadata collection →          AgentSpec
                               ↓
                              start_agent()
                               ↓
                              AgentRuntime
                               ├─ HeartbeatLoop
                               ├─ RegistryClient
                               └─ TopologyManager
                               ↓
Event listener      ←         EventStream
DI updates          ←         MeshEvent

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

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

mcp_mesh_core-1.0.0b1-cp314-cp314-win_amd64.whl (2.5 MB view details)

Uploaded CPython 3.14Windows x86-64

mcp_mesh_core-1.0.0b1-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.6 MB view details)

Uploaded CPython 3.14manylinux: glibc 2.17+ x86-64

mcp_mesh_core-1.0.0b1-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (2.3 MB view details)

Uploaded CPython 3.14manylinux: glibc 2.17+ ARM64

mcp_mesh_core-1.0.0b1-cp314-cp314-macosx_11_0_arm64.whl (2.4 MB view details)

Uploaded CPython 3.14macOS 11.0+ ARM64

mcp_mesh_core-1.0.0b1-cp314-cp314-macosx_10_12_x86_64.whl (2.6 MB view details)

Uploaded CPython 3.14macOS 10.12+ x86-64

mcp_mesh_core-1.0.0b1-cp313-cp313-win_amd64.whl (2.5 MB view details)

Uploaded CPython 3.13Windows x86-64

mcp_mesh_core-1.0.0b1-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.6 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ x86-64

mcp_mesh_core-1.0.0b1-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (2.3 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ ARM64

mcp_mesh_core-1.0.0b1-cp313-cp313-macosx_11_0_arm64.whl (2.4 MB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

mcp_mesh_core-1.0.0b1-cp313-cp313-macosx_10_12_x86_64.whl (2.6 MB view details)

Uploaded CPython 3.13macOS 10.12+ x86-64

mcp_mesh_core-1.0.0b1-cp312-cp312-win_amd64.whl (2.5 MB view details)

Uploaded CPython 3.12Windows x86-64

mcp_mesh_core-1.0.0b1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.6 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

mcp_mesh_core-1.0.0b1-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (2.3 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ ARM64

mcp_mesh_core-1.0.0b1-cp312-cp312-macosx_11_0_arm64.whl (2.4 MB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

mcp_mesh_core-1.0.0b1-cp312-cp312-macosx_10_12_x86_64.whl (2.6 MB view details)

Uploaded CPython 3.12macOS 10.12+ x86-64

mcp_mesh_core-1.0.0b1-cp311-cp311-win_amd64.whl (2.5 MB view details)

Uploaded CPython 3.11Windows x86-64

mcp_mesh_core-1.0.0b1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.6 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

mcp_mesh_core-1.0.0b1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (2.3 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ ARM64

mcp_mesh_core-1.0.0b1-cp311-cp311-macosx_11_0_arm64.whl (2.4 MB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

mcp_mesh_core-1.0.0b1-cp311-cp311-macosx_10_12_x86_64.whl (2.6 MB view details)

Uploaded CPython 3.11macOS 10.12+ x86-64

File details

Details for the file mcp_mesh_core-1.0.0b1-cp314-cp314-win_amd64.whl.

File metadata

File hashes

Hashes for mcp_mesh_core-1.0.0b1-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 7cbaae21c72991ead86ff5c158aee2567c850922dddda28f8521c958440401f4
MD5 1ae0f7319d607b9137a617df8d99060b
BLAKE2b-256 c0cf226fd8a88bc4920486c150c6e1121833bec3fb1d36714a60fc94518fc262

See more details on using hashes here.

File details

Details for the file mcp_mesh_core-1.0.0b1-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for mcp_mesh_core-1.0.0b1-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 acb86e162378d31383a28e6fb5efe4e5c6a6ad1188c6d071cd9f7946e15717a7
MD5 9e133e5d9f7fcc54db4c465e02c36c20
BLAKE2b-256 e823ac0cb3b1e8d6430bddba0e650328478d873a65d63d5703fbef09de37923c

See more details on using hashes here.

File details

Details for the file mcp_mesh_core-1.0.0b1-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for mcp_mesh_core-1.0.0b1-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 34c4c1123ec3983b9a8691514f0056ec0a2869acc1dcb7b830ac7c66506b8cd7
MD5 a09511c3a1c01d1bf6b403060c8e9fcc
BLAKE2b-256 261bd18794bd1e95cabcd3fc7b124e770449825ffe06fb45e128f7e7d58745b1

See more details on using hashes here.

File details

Details for the file mcp_mesh_core-1.0.0b1-cp314-cp314-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for mcp_mesh_core-1.0.0b1-cp314-cp314-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 4ecd800b988a20ca1d393debabde25e988ef467fdb801614e77af74e07035408
MD5 c9f40bb0baadf3564a1ec8c29442911c
BLAKE2b-256 cd1f9ecb8fe72f280d0555deba6fce6dd778699c49a23aa93958e28721cda57f

See more details on using hashes here.

File details

Details for the file mcp_mesh_core-1.0.0b1-cp314-cp314-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for mcp_mesh_core-1.0.0b1-cp314-cp314-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 29e186125c15dea293e1ed29f34c600050cb709f33fe48a3e19daae975d9f8fb
MD5 82777f6726121caa482d7db8a9b8e1c9
BLAKE2b-256 a9e84d54a984cdbdd537e01e24b08f520947013ac19a45e017ad21dcd8740570

See more details on using hashes here.

File details

Details for the file mcp_mesh_core-1.0.0b1-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for mcp_mesh_core-1.0.0b1-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 0e376300b129e4bb780ba96bb239daf65cb0f04379377f4b106d2d1fc96873dc
MD5 affd9f2d6f0b10ab155ddbdcee4b9b0b
BLAKE2b-256 71d1787937e31c03a615d1b161b668971b02b8f2786edcc685d3cf3b12eb1990

See more details on using hashes here.

File details

Details for the file mcp_mesh_core-1.0.0b1-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for mcp_mesh_core-1.0.0b1-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 b92de78f87a888065621511e8f641a4e1879121b80de22b5085f4daf1ac4caab
MD5 43e0b970eee8c499d68acd51019d952a
BLAKE2b-256 f4866ebc142c7a140137c255025f4a4b3b05ef14ee7ffc114af55811d677223f

See more details on using hashes here.

File details

Details for the file mcp_mesh_core-1.0.0b1-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for mcp_mesh_core-1.0.0b1-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 08bd09364060c8b469ace81de5ca7ee72bdfb514901792b59241adfd080d10ae
MD5 116da694b51af1cb7cb7df2a903eb9c8
BLAKE2b-256 ce686664c2a448fc0d2adfb0d485e4e37ccb029f86794543f0b9f28e118f642f

See more details on using hashes here.

File details

Details for the file mcp_mesh_core-1.0.0b1-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for mcp_mesh_core-1.0.0b1-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 7e8c030677515c7ad458731392cb806ad9129dd21544a5b4ae7653d270c370f6
MD5 5c692478605b3e988b8247165aa400a4
BLAKE2b-256 8cafb35161d6975503cfd15b0a661dbf3374c1e124a3f6b7361fd63e50416257

See more details on using hashes here.

File details

Details for the file mcp_mesh_core-1.0.0b1-cp313-cp313-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for mcp_mesh_core-1.0.0b1-cp313-cp313-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 16d57a15c58c5ea74192eeb31671c71961eddcad0aada2164d46db64f3478c21
MD5 ede3826c948a3ca15bde354d7b068839
BLAKE2b-256 f4f3a67e13a8fb0ba866e5a360e3b911c053d76d4a1211d9d0faa02dab21ace6

See more details on using hashes here.

File details

Details for the file mcp_mesh_core-1.0.0b1-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for mcp_mesh_core-1.0.0b1-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 751e9ac1b7b9343c58fb97c98f78de5fa1a7b63305f9bd0d9c479342d639af7e
MD5 7f181fca7c4284a2c697fa625ad70705
BLAKE2b-256 5b268b3b611463483ac2757c579e06b1a74f9cdc649c1dcc5c762e15b1c6d30a

See more details on using hashes here.

File details

Details for the file mcp_mesh_core-1.0.0b1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for mcp_mesh_core-1.0.0b1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 aeacf27ccfb5bc0e06fd70589daedc40da99a6f50781c666c60420bbe8d17ece
MD5 bdcc3a91290fa70d15a6d2fc358e1fd8
BLAKE2b-256 2e0403724661a34d2def54b79b6eba923b9614ad8a07257bf2d8b41fd06498fb

See more details on using hashes here.

File details

Details for the file mcp_mesh_core-1.0.0b1-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for mcp_mesh_core-1.0.0b1-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 4f18eb31210338903b38bd29b1374cde63d303fd8e5ccd12411b562caed6db84
MD5 e932020fc19c0a579477423dd82815c4
BLAKE2b-256 6d5bbdddc09a1c56626fb66d95593ddf8b37b1989f19e321d9dd891926e4dd89

See more details on using hashes here.

File details

Details for the file mcp_mesh_core-1.0.0b1-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for mcp_mesh_core-1.0.0b1-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 28e72c806fdaae0a328f59b13c1f94c8be281d41d093e2149fb9e7872e87605d
MD5 496f403022caeaa8d853e5773376805f
BLAKE2b-256 f800483c1886ef2a9c7a06c8d86a1398b61b49bf1c2149f8e6750ad950467f31

See more details on using hashes here.

File details

Details for the file mcp_mesh_core-1.0.0b1-cp312-cp312-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for mcp_mesh_core-1.0.0b1-cp312-cp312-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 7c1e4851e7e3239426f087770be1236bf271b9cddc9d3999e072678e4798fc8a
MD5 74282c1ab306a89f2f2afd9cc013f00e
BLAKE2b-256 2299099a2876b58375c7edf2747188b9aaba80f6b6d704d0da139e48b0ac39bd

See more details on using hashes here.

File details

Details for the file mcp_mesh_core-1.0.0b1-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for mcp_mesh_core-1.0.0b1-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 dc2f60a4f27ced43e9f280c59ee07cfc61ed814f33085bca3cb67a1dce741581
MD5 a3baed878e86933594fb1f1ac5e421fc
BLAKE2b-256 2ff3b1020282097340baef3d87359a7827fe687012151e42de883972a6232e40

See more details on using hashes here.

File details

Details for the file mcp_mesh_core-1.0.0b1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for mcp_mesh_core-1.0.0b1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 b79b5f83f4d35832112fde2825c968c345bb6c06f9ee8ea404e833577d6c4dd7
MD5 3d45604d73bf84bfe3edc1751dc2c60d
BLAKE2b-256 b6cf029b29485b32243403e493f23b2ab95a2ffd609493c380701d719f245ad6

See more details on using hashes here.

File details

Details for the file mcp_mesh_core-1.0.0b1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for mcp_mesh_core-1.0.0b1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 bff69d6eb7b59dec878a1d104fb9d96b1a00758e30ed40a0d49c442808ba6ef5
MD5 95de98d53a6b8799f63e2e13682878b3
BLAKE2b-256 0d97fed7e85b1560f04ca4e9c525da380609a1be1c91c6775405396b4db35890

See more details on using hashes here.

File details

Details for the file mcp_mesh_core-1.0.0b1-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for mcp_mesh_core-1.0.0b1-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 ca67309d1edecaee95e7026d6038c86cb2e715da60d693455149cae8fc8c1539
MD5 ca4649c8c9d419433d24d5fdbebd2809
BLAKE2b-256 05feb3f8f7b6fadf00428616537bb1d84ec57aed9ebef353cb4234d2392e9327

See more details on using hashes here.

File details

Details for the file mcp_mesh_core-1.0.0b1-cp311-cp311-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for mcp_mesh_core-1.0.0b1-cp311-cp311-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 1139597eea638d6813ff3d386b9fb10afee2aae4d3bda41572b5ea7ad282006e
MD5 3e204d25c1243f4ecd8c7ac384c50405
BLAKE2b-256 7d2efbc9bbdc25d452446031ea9c4e6b2bad9d30c49a76983bc8034e3c7c5a4a

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