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-0.9.0b6-cp314-cp314-win_amd64.whl (2.4 MB view details)

Uploaded CPython 3.14Windows x86-64

mcp_mesh_core-0.9.0b6-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.5 MB view details)

Uploaded CPython 3.14manylinux: glibc 2.17+ x86-64

mcp_mesh_core-0.9.0b6-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (2.2 MB view details)

Uploaded CPython 3.14manylinux: glibc 2.17+ ARM64

mcp_mesh_core-0.9.0b6-cp314-cp314-macosx_11_0_arm64.whl (2.3 MB view details)

Uploaded CPython 3.14macOS 11.0+ ARM64

mcp_mesh_core-0.9.0b6-cp314-cp314-macosx_10_12_x86_64.whl (2.5 MB view details)

Uploaded CPython 3.14macOS 10.12+ x86-64

mcp_mesh_core-0.9.0b6-cp313-cp313-win_amd64.whl (2.4 MB view details)

Uploaded CPython 3.13Windows x86-64

mcp_mesh_core-0.9.0b6-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.5 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ x86-64

mcp_mesh_core-0.9.0b6-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (2.2 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ ARM64

mcp_mesh_core-0.9.0b6-cp313-cp313-macosx_11_0_arm64.whl (2.3 MB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

mcp_mesh_core-0.9.0b6-cp313-cp313-macosx_10_12_x86_64.whl (2.5 MB view details)

Uploaded CPython 3.13macOS 10.12+ x86-64

mcp_mesh_core-0.9.0b6-cp312-cp312-win_amd64.whl (2.4 MB view details)

Uploaded CPython 3.12Windows x86-64

mcp_mesh_core-0.9.0b6-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.5 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

mcp_mesh_core-0.9.0b6-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (2.2 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ ARM64

mcp_mesh_core-0.9.0b6-cp312-cp312-macosx_11_0_arm64.whl (2.3 MB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

mcp_mesh_core-0.9.0b6-cp312-cp312-macosx_10_12_x86_64.whl (2.5 MB view details)

Uploaded CPython 3.12macOS 10.12+ x86-64

mcp_mesh_core-0.9.0b6-cp311-cp311-win_amd64.whl (2.4 MB view details)

Uploaded CPython 3.11Windows x86-64

mcp_mesh_core-0.9.0b6-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.5 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

mcp_mesh_core-0.9.0b6-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (2.2 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ ARM64

mcp_mesh_core-0.9.0b6-cp311-cp311-macosx_11_0_arm64.whl (2.3 MB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

mcp_mesh_core-0.9.0b6-cp311-cp311-macosx_10_12_x86_64.whl (2.5 MB view details)

Uploaded CPython 3.11macOS 10.12+ x86-64

File details

Details for the file mcp_mesh_core-0.9.0b6-cp314-cp314-win_amd64.whl.

File metadata

File hashes

Hashes for mcp_mesh_core-0.9.0b6-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 0c6d2fffb8b88cd09066ca2d36c320176df09807c951f240c4af8cbad1c033e9
MD5 650ce785d7fb6b4633df1c9298cf3849
BLAKE2b-256 23a22339893f9c03ba146e8f6da445317ca9b022b60af2e984ad074c38ec83a5

See more details on using hashes here.

File details

Details for the file mcp_mesh_core-0.9.0b6-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for mcp_mesh_core-0.9.0b6-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 05d9cc28eca2a2e4f84bc89c8805844d96e784153e8ad2f70c259b7f478dded2
MD5 e10ee1737f9be7396e6e52ecff1ebe8f
BLAKE2b-256 94fb78ae40f560d2a674a7edb34e296634da60f39ac68b8959b413ccad094d99

See more details on using hashes here.

File details

Details for the file mcp_mesh_core-0.9.0b6-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for mcp_mesh_core-0.9.0b6-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 16b8f575841a5146d9532c1cdf23842305d1bbeed26e611d0ab79839f6773a05
MD5 3a0ee0d89e3d1c1c33d17356cf80963e
BLAKE2b-256 c9019951b02b39b0bed6c206b57c6b0b6397ad49dc29e75b4b85920ab1cd2727

See more details on using hashes here.

File details

Details for the file mcp_mesh_core-0.9.0b6-cp314-cp314-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for mcp_mesh_core-0.9.0b6-cp314-cp314-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 f576666ec283abab96517021dcf448c1d825053450c52b1fb7492f49002d0f76
MD5 5d835173a9dd75761696ca73681f2628
BLAKE2b-256 d81ee955fe4e42ce66106f475cdca9b2f5dfd688cb12831fc0882d955ef0d515

See more details on using hashes here.

File details

Details for the file mcp_mesh_core-0.9.0b6-cp314-cp314-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for mcp_mesh_core-0.9.0b6-cp314-cp314-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 77faa3cfded93319e1fd7e27b9dbd41f3ea87f950bee05244a6ec3e8be623898
MD5 0afc18b206a45cf76090cae5ea2bbd6d
BLAKE2b-256 472416389797215b52e0cf2411c038b96806bea289e3ec8de164d4875a3590b1

See more details on using hashes here.

File details

Details for the file mcp_mesh_core-0.9.0b6-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for mcp_mesh_core-0.9.0b6-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 f6fb6daa62886dc29d6a63eb43e802ece777221bd06bc561a3a74441bdf34811
MD5 85a26693b6b2fe7951b392ea74aaf45a
BLAKE2b-256 1634792155b0eb0613e7fb4ef25a4ef903e3537c4a8176e8294a1dddbe7e365d

See more details on using hashes here.

File details

Details for the file mcp_mesh_core-0.9.0b6-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for mcp_mesh_core-0.9.0b6-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 3b076205bca7cb11357749c0c70806191e264dba23f469cc37d492dbc2a48790
MD5 b654cad13606d7bf2553d9187fe06537
BLAKE2b-256 176a201c575edaa4f9e98caee046511fe9013b5ac6ab4a6ed0525aa9a2d4f4ee

See more details on using hashes here.

File details

Details for the file mcp_mesh_core-0.9.0b6-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for mcp_mesh_core-0.9.0b6-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 f6a9dec2b81b37bd95c4be51236fb3a9e8b0d8efaffe75871ff6a3af85c27474
MD5 1f58019f0aadc757a23e3b251f8e5d96
BLAKE2b-256 44119132d5de260815c28eedb25afa078a1f86c671912cb3584ff7408331bab6

See more details on using hashes here.

File details

Details for the file mcp_mesh_core-0.9.0b6-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for mcp_mesh_core-0.9.0b6-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 4a1e16e8581fd80e22f3124813fdaae60668a9d11af52f5b1cce444ce145ac07
MD5 176f532a771e5cdce69fd2f189538054
BLAKE2b-256 f59d6825de727465d48fb72036d2325aa1ced08eb2df6daf5da1a3a3b4da9b7f

See more details on using hashes here.

File details

Details for the file mcp_mesh_core-0.9.0b6-cp313-cp313-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for mcp_mesh_core-0.9.0b6-cp313-cp313-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 b19a5c76535d957054fab62771c612a54699cbbfc8fccf1ba07b2501487df1af
MD5 cef4a224bb072e503f43138c98691d51
BLAKE2b-256 f7073541fe713acde3971e9ae8a75f5f3066c131455768ed1ac6880cbc6e3f8b

See more details on using hashes here.

File details

Details for the file mcp_mesh_core-0.9.0b6-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for mcp_mesh_core-0.9.0b6-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 15c01d3d277b69fd8c2570557c39bcb77b9c57386a9c9cdf9743f06846a9963f
MD5 e6bbca27fdb7f8681fca6eeb08c777f7
BLAKE2b-256 c7be06ba5da85e63ab191d1be63bf740dbc507e614ddaaa0734204744d60ff26

See more details on using hashes here.

File details

Details for the file mcp_mesh_core-0.9.0b6-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for mcp_mesh_core-0.9.0b6-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 50535726455852e7b94c54e1bca8d51165c5346ca1ea3720b3a6bd600e703739
MD5 84025f9b5e717e1d12512b116818e4b5
BLAKE2b-256 0e078e69dab64d0474c6ff8de2bb3106e8b05d44261ca1450f933afe90c1440b

See more details on using hashes here.

File details

Details for the file mcp_mesh_core-0.9.0b6-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for mcp_mesh_core-0.9.0b6-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 6bbb87c4c4888ae08acdbe6d92dbc9264d4d8bd0ec35da58d57c2b0ac06a2429
MD5 75014caa864167e65ec8b1dcfa6182e3
BLAKE2b-256 76851d04416f329a3899bfd9528a5d71366c7bf87cc542a2afad1a2285c2f6fb

See more details on using hashes here.

File details

Details for the file mcp_mesh_core-0.9.0b6-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for mcp_mesh_core-0.9.0b6-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 9868180790e18cb9d7ef2dbf60c8bde66680165bd0b0611b279568194a51fe9c
MD5 323c4da0758cbe00fbed6a3f1f1b23fe
BLAKE2b-256 5d22ffbc263dfbd59fa4805c21b06b930222b00e8c0494a6dd475330315282f5

See more details on using hashes here.

File details

Details for the file mcp_mesh_core-0.9.0b6-cp312-cp312-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for mcp_mesh_core-0.9.0b6-cp312-cp312-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 f27c307311b78801d83e2e8cbca0be40b720937fac8512a9cd31c69cf6afdb1e
MD5 fb583376c2b62a281535498b839aa913
BLAKE2b-256 80d36fec54693eae47eb5bf1239dd9d33b2a863abf3fb85cfb61d4b9f4273df8

See more details on using hashes here.

File details

Details for the file mcp_mesh_core-0.9.0b6-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for mcp_mesh_core-0.9.0b6-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 9a683823e5df0264baa3438d4e75d3a4c245b19865682194ed609e4abf6383f5
MD5 948df3b7ba6d4811a52c9c7b0be29fad
BLAKE2b-256 c65e290c9572ebdc5e757b50178c1735a9f9ed59b44610abd95a8185afcacd77

See more details on using hashes here.

File details

Details for the file mcp_mesh_core-0.9.0b6-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for mcp_mesh_core-0.9.0b6-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 39c9e11db86409bbc69972b30c7fc5108143fc48604ea05040ee6d646c644d68
MD5 bab10fbe746fc169d5d97cfe200becec
BLAKE2b-256 9b75607b3a7538ed6b500245ea1d2c7a04efae8a97d934776171e980d79191d5

See more details on using hashes here.

File details

Details for the file mcp_mesh_core-0.9.0b6-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for mcp_mesh_core-0.9.0b6-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 71ae914d9a2532d35ed1776ede16775764f854359b501cf23e646d0aaaa3f3cf
MD5 aa4b963aa10c4fa95ae4584b52352562
BLAKE2b-256 48938cabbc62854ad754e8b2f71ed2be3dc5deeeb6a5003912fbdb75ab3ef0b3

See more details on using hashes here.

File details

Details for the file mcp_mesh_core-0.9.0b6-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for mcp_mesh_core-0.9.0b6-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 1b0ea707680df1a5c2fc1eb1f46a907c45762a28fa51c6699218cdaa2e3de250
MD5 c54e8dea037383915161760154792324
BLAKE2b-256 a187776b19df52a3c37d53c2e25ff1a5aa8e137feaa33facd6c31c4ad0e6137a

See more details on using hashes here.

File details

Details for the file mcp_mesh_core-0.9.0b6-cp311-cp311-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for mcp_mesh_core-0.9.0b6-cp311-cp311-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 9d750616928da77c743933f43ee8e6fbbd55399adedd09db8efa39e3a6468f03
MD5 04a2a9837f2e6d89dacb1dbfb2f4c0ba
BLAKE2b-256 8617c25244f9ac54f321b82aa3ac342c296572cc46f7d286f46a54546811b8d5

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