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.3.2-cp314-cp314-win_amd64.whl (3.7 MB view details)

Uploaded CPython 3.14Windows x86-64

mcp_mesh_core-1.3.2-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.9 MB view details)

Uploaded CPython 3.14manylinux: glibc 2.17+ x86-64

mcp_mesh_core-1.3.2-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (3.4 MB view details)

Uploaded CPython 3.14manylinux: glibc 2.17+ ARM64

mcp_mesh_core-1.3.2-cp314-cp314-macosx_11_0_arm64.whl (3.6 MB view details)

Uploaded CPython 3.14macOS 11.0+ ARM64

mcp_mesh_core-1.3.2-cp314-cp314-macosx_10_12_x86_64.whl (3.8 MB view details)

Uploaded CPython 3.14macOS 10.12+ x86-64

mcp_mesh_core-1.3.2-cp313-cp313-win_amd64.whl (3.7 MB view details)

Uploaded CPython 3.13Windows x86-64

mcp_mesh_core-1.3.2-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.9 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ x86-64

mcp_mesh_core-1.3.2-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (3.4 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ ARM64

mcp_mesh_core-1.3.2-cp313-cp313-macosx_11_0_arm64.whl (3.6 MB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

mcp_mesh_core-1.3.2-cp313-cp313-macosx_10_12_x86_64.whl (3.8 MB view details)

Uploaded CPython 3.13macOS 10.12+ x86-64

mcp_mesh_core-1.3.2-cp312-cp312-win_amd64.whl (3.7 MB view details)

Uploaded CPython 3.12Windows x86-64

mcp_mesh_core-1.3.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.9 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

mcp_mesh_core-1.3.2-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (3.4 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ ARM64

mcp_mesh_core-1.3.2-cp312-cp312-macosx_11_0_arm64.whl (3.6 MB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

mcp_mesh_core-1.3.2-cp312-cp312-macosx_10_12_x86_64.whl (3.8 MB view details)

Uploaded CPython 3.12macOS 10.12+ x86-64

mcp_mesh_core-1.3.2-cp311-cp311-win_amd64.whl (3.7 MB view details)

Uploaded CPython 3.11Windows x86-64

mcp_mesh_core-1.3.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.9 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

mcp_mesh_core-1.3.2-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (3.4 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ ARM64

mcp_mesh_core-1.3.2-cp311-cp311-macosx_11_0_arm64.whl (3.6 MB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

mcp_mesh_core-1.3.2-cp311-cp311-macosx_10_12_x86_64.whl (3.8 MB view details)

Uploaded CPython 3.11macOS 10.12+ x86-64

File details

Details for the file mcp_mesh_core-1.3.2-cp314-cp314-win_amd64.whl.

File metadata

File hashes

Hashes for mcp_mesh_core-1.3.2-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 063a7f9b0fb37af0b84a7588f4a1ead769223545f63ab9461f93e159ec9dfc6e
MD5 9819684a0b2f1275e3a3d8560988a5d8
BLAKE2b-256 9a77af39b2352b64880946b60b871ac6a275f630088a1981937338d60df37a36

See more details on using hashes here.

File details

Details for the file mcp_mesh_core-1.3.2-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for mcp_mesh_core-1.3.2-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 70bfcc71b8f826099c2f58bf8a333aae9a9d83c0ce8b2bfc143580fb071c404c
MD5 be79382ef4ac5d7ecd157aefd1d430c3
BLAKE2b-256 bf518f54a0857112bc96420ed26bb6b62927d0461b221d4c90905fa279b60684

See more details on using hashes here.

File details

Details for the file mcp_mesh_core-1.3.2-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for mcp_mesh_core-1.3.2-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 9b2b08d0cf2e527128f04e7241b4665942b0118b0219074e7a20ac07371365e9
MD5 6300ea39c0cdaf9f3344f2903f439f4e
BLAKE2b-256 55136c01cc9c0958caf90d1b3f22eab8a3684c1be9483a8d74beb850eb6b1230

See more details on using hashes here.

File details

Details for the file mcp_mesh_core-1.3.2-cp314-cp314-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for mcp_mesh_core-1.3.2-cp314-cp314-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 021f3f075b2a88280af616ac81bc230d669e189b3ffb2fd0977b98176c2712c7
MD5 04ead68a3c5bbcc0b318e817a9bd4629
BLAKE2b-256 26886d4271249eaf79ce6a21eb7153ed042dcdab9259febdb2d89b6b691c5abd

See more details on using hashes here.

File details

Details for the file mcp_mesh_core-1.3.2-cp314-cp314-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for mcp_mesh_core-1.3.2-cp314-cp314-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 faefdb99231581d664bc0fd4f791a6aeea15bc37301397aa54e02b10666c3b9f
MD5 38d66027f07eabe77ad4767c059fc715
BLAKE2b-256 e93bbbf603d6e4aed267ceca7c645f7e9e18016f5ac34bd7768db2b3ec4f92c0

See more details on using hashes here.

File details

Details for the file mcp_mesh_core-1.3.2-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for mcp_mesh_core-1.3.2-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 7de813a8fb9043b504279405621a30c0f546df6e6315f0a6f553639a5a415f4d
MD5 40cc4aaf0cc5ec963018328945bc2861
BLAKE2b-256 9410a5334a781533defb67bfca40112d02ef1f7227a8e2e6eca9c431dc126729

See more details on using hashes here.

File details

Details for the file mcp_mesh_core-1.3.2-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for mcp_mesh_core-1.3.2-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 30a5ee8a9ffe2867cabffcbe41f14256cdce1f21a14716bc573e543d1b9caf40
MD5 cd1797911a754cf18499192c139ee99f
BLAKE2b-256 794c30dfba105e481749c683566585027029dec575df8c3251b044783eec4147

See more details on using hashes here.

File details

Details for the file mcp_mesh_core-1.3.2-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for mcp_mesh_core-1.3.2-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 36dc3563f78804c925512d3c655afec32dfc68ed94e39218a66c9c7a47d6be80
MD5 303c26e00e91fa05efc51fcf00e749b7
BLAKE2b-256 7b23d20b23b1802e7fb796f35b92ce9ab3095eef096c9f6f5325af950140839a

See more details on using hashes here.

File details

Details for the file mcp_mesh_core-1.3.2-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for mcp_mesh_core-1.3.2-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 5c5315e5766cb22ce4fbd9a7ccd6ab3078ed2d7d8b4e0f17241241fec42669f4
MD5 9ac78a3b909fb1a473963522e5f92a56
BLAKE2b-256 f855912f8fd39697e92cc6a118a31ae6e7e0eb92e81268ded1b7412179125598

See more details on using hashes here.

File details

Details for the file mcp_mesh_core-1.3.2-cp313-cp313-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for mcp_mesh_core-1.3.2-cp313-cp313-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 de8673a8c409e8dcee1637db0eaab8c324ecd4129d022f031645a5317c048ef2
MD5 0c6ad9156c1c70f939d888b9d6d370f6
BLAKE2b-256 ec5fb27b7f8e7183df1a7842c81bdeeb22dac07c45cbdc815e1fadc3be250d2f

See more details on using hashes here.

File details

Details for the file mcp_mesh_core-1.3.2-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for mcp_mesh_core-1.3.2-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 f77f9f4fbad1de38daa62841fb2401a8fe6e1730a91c5cc7bb02028cedd43c90
MD5 dba23efc50425f8857a0b83db8ec742b
BLAKE2b-256 5b42c3f8ecc13207f0eaae1c74e538705040ab46a1057725f5b09526f467a2e8

See more details on using hashes here.

File details

Details for the file mcp_mesh_core-1.3.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for mcp_mesh_core-1.3.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 a40db6c357f52abd9a192b57d826f2bdde5a78c0fe422fb509778a2a70ec2c53
MD5 fd5b941194d2ffc3a3bce65844f70b05
BLAKE2b-256 4a253a1292099acfe6c7cca0b1eadcf8682d1ab20ef3b46e5815298104bff347

See more details on using hashes here.

File details

Details for the file mcp_mesh_core-1.3.2-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for mcp_mesh_core-1.3.2-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 70236b58d0a34c2ddc42f8f3bffb869ba82b1afcc9a15c022dd958b31f89e39b
MD5 e7a42e7aa27f55512e62e2b3287f9f06
BLAKE2b-256 af882244df9999c642ddfde9df8e0016ae171e049dbc20300339ff4e8df208c5

See more details on using hashes here.

File details

Details for the file mcp_mesh_core-1.3.2-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for mcp_mesh_core-1.3.2-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 89112889ceac377410fc1f1f0c4fa1bcaa3e37f3c904804f15b59d3418599659
MD5 17b1cf4b140da819070e4e5c1e40145a
BLAKE2b-256 1aff09dcb4ae542fe823919ab7d43b23cdbc3d7ff0b7681097afe340d5f01170

See more details on using hashes here.

File details

Details for the file mcp_mesh_core-1.3.2-cp312-cp312-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for mcp_mesh_core-1.3.2-cp312-cp312-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 545067c355f2b03dd0220c79da70e4e7b1f38ff37a8069d9a4759f3d4ddcd0d0
MD5 b513c87ff4ad1759f2e77b617411fabc
BLAKE2b-256 d374abdc95b43418c1f52dec41b343713cb7f8519b65b874ba8606cd076cf5e6

See more details on using hashes here.

File details

Details for the file mcp_mesh_core-1.3.2-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for mcp_mesh_core-1.3.2-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 cdcccf1ba01a3520ff53d37d8da442ed866db4c479f7394302042a02b20edbdd
MD5 ebdce7b94e53120e519b0b46170a9fde
BLAKE2b-256 f46527ee6f3a8897fb74a43906f16e1dc587a2f69770a98058661f1766f3326d

See more details on using hashes here.

File details

Details for the file mcp_mesh_core-1.3.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for mcp_mesh_core-1.3.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 3f6f89df5f4eab57535bf22addddf5c67db54a0a1285e417c851c75b8cd65967
MD5 7d5223fb2024a45c90d0651add96aac1
BLAKE2b-256 97ccb940d2eec38c215fcc31ad5307ac80dae1f89642c590d98343d832f472e4

See more details on using hashes here.

File details

Details for the file mcp_mesh_core-1.3.2-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for mcp_mesh_core-1.3.2-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 ea03edc31cd1f36a7a3ed891b6b1159f224fb9c1c39881882929e60e7375f9f2
MD5 f59b286bf94c2703f593c55dcaaec2c8
BLAKE2b-256 e137ddfe3b2b5e018db6ae79b4b5e1ec22335cbfacff730e7d4097f31f383c4d

See more details on using hashes here.

File details

Details for the file mcp_mesh_core-1.3.2-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for mcp_mesh_core-1.3.2-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 d98f8a09391a7b6b166a06f8ddc6d4e0194423b0dad3d6bcf86e676867c5bbcb
MD5 156dd95f189bbfca918af5fd2c95e0d1
BLAKE2b-256 00022cf39efd381cd6bb16961f25adb18c46af15fd21cb622d89d65a7b14377b

See more details on using hashes here.

File details

Details for the file mcp_mesh_core-1.3.2-cp311-cp311-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for mcp_mesh_core-1.3.2-cp311-cp311-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 c62c30da9cf34e26ca4dca16331dad83eed69f3dc83cc83e1b7c85c4f18ed816
MD5 31c86f83ff64a5d209cfc3a133c71fa6
BLAKE2b-256 38ea228ec43f7e737c59c69b506e15d2a7b406542ec244347b4ee1f8d4fe3d60

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