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

Uploaded CPython 3.14Windows x86-64

mcp_mesh_core-2.2.3-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.3 MB view details)

Uploaded CPython 3.14manylinux: glibc 2.17+ x86-64

mcp_mesh_core-2.2.3-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (3.7 MB view details)

Uploaded CPython 3.14manylinux: glibc 2.17+ ARM64

mcp_mesh_core-2.2.3-cp314-cp314-macosx_11_0_arm64.whl (3.9 MB view details)

Uploaded CPython 3.14macOS 11.0+ ARM64

mcp_mesh_core-2.2.3-cp314-cp314-macosx_10_12_x86_64.whl (4.2 MB view details)

Uploaded CPython 3.14macOS 10.12+ x86-64

mcp_mesh_core-2.2.3-cp313-cp313-win_amd64.whl (4.1 MB view details)

Uploaded CPython 3.13Windows x86-64

mcp_mesh_core-2.2.3-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.3 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ x86-64

mcp_mesh_core-2.2.3-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (3.7 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ ARM64

mcp_mesh_core-2.2.3-cp313-cp313-macosx_11_0_arm64.whl (3.9 MB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

mcp_mesh_core-2.2.3-cp313-cp313-macosx_10_12_x86_64.whl (4.2 MB view details)

Uploaded CPython 3.13macOS 10.12+ x86-64

mcp_mesh_core-2.2.3-cp312-cp312-win_amd64.whl (4.1 MB view details)

Uploaded CPython 3.12Windows x86-64

mcp_mesh_core-2.2.3-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.3 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

mcp_mesh_core-2.2.3-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (3.7 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ ARM64

mcp_mesh_core-2.2.3-cp312-cp312-macosx_11_0_arm64.whl (3.9 MB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

mcp_mesh_core-2.2.3-cp312-cp312-macosx_10_12_x86_64.whl (4.2 MB view details)

Uploaded CPython 3.12macOS 10.12+ x86-64

mcp_mesh_core-2.2.3-cp311-cp311-win_amd64.whl (4.1 MB view details)

Uploaded CPython 3.11Windows x86-64

mcp_mesh_core-2.2.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.3 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

mcp_mesh_core-2.2.3-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (3.7 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ ARM64

mcp_mesh_core-2.2.3-cp311-cp311-macosx_11_0_arm64.whl (3.9 MB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

mcp_mesh_core-2.2.3-cp311-cp311-macosx_10_12_x86_64.whl (4.2 MB view details)

Uploaded CPython 3.11macOS 10.12+ x86-64

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-2.2.3-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 a5e8aa16d262fdf1df3aee3789cda2fed2c317578197a015f6bfdfe5a94e953f
MD5 affea522c15a67f251edc20cda385fc2
BLAKE2b-256 8ac7999e53e7db9f21c60ad69bdac5dacd0284b15af92024c9ffc556276f934d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-2.2.3-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 b9e62c005d5556e09b7df8de68ed918dca07e5f36dd778f4b1b7a6fb3165d19f
MD5 892202c97f7fcc5d2d933d720ad5d10f
BLAKE2b-256 bfb992d4c9b8e43ea3950dd5d59dca19925cd454d1b02841805457e2450e942c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-2.2.3-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 cc01a57791a9c78be029408394fe39124f963ab2468b264d286de64ec75fcf7e
MD5 1034558da45f34cccb7566607abffb4e
BLAKE2b-256 9ffc745daab1fae4192a389330334e06f8fd93c1b6f43afd445f23d5a0997600

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-2.2.3-cp314-cp314-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 0fbbb765c41690e33351364e917f0844b1b5eb59e1f4dc6e1dbdb911ef675df6
MD5 2447b17d4c2f79934be543f188fbfc02
BLAKE2b-256 ca083bceeddf3bf031a31bc00129f2fd81b2f848ffdbd5e5ec501087bce7dc2f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-2.2.3-cp314-cp314-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 50de3025646ced2b5cbfca4c08c93ba17cb3096072702210e5d65bb61e897948
MD5 76fa144c71d145da2d82ffff7aff0bcf
BLAKE2b-256 59f38a34061d909db237a785648d5932b5c87c9672425c940c5a1d6f06bba463

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-2.2.3-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 9de37af3e23bb0fdeecad7afc357185fea1e93038a2776660f39660dca8e28b2
MD5 b99f12baf1cf17163a89d1ef17e8e98e
BLAKE2b-256 b2f322c8f4dddbe7cecf9c8d0298c6fce23381eb65218fffef8aa158a02558b1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-2.2.3-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 cef595f7c7ec5d30d76e77e55026ab624778b996208bf823f748d46b314e551a
MD5 3e5aa1deb63efa1a69e2d0e5fc40db36
BLAKE2b-256 6b6803da3b2a61b69d1e5868d1fddff128b1e6b2d651263e39f17e7e83f1b798

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-2.2.3-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 b9971cb8e5b153c83437f3bf09fd3d0d9c34031ee4262a4fb49662206931ca84
MD5 b32340e02d52e385bdaebc2d168e9458
BLAKE2b-256 31259655165680b3b3cdc9fc6fc0da02c77ba028bab5791c4a5e2f458d47488c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-2.2.3-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 c73f7abb31ab8319b01960a6011b1ede96743196f60b3862d93b3c1558375b58
MD5 a8fe3611125fef85926d4e4c0ba2f2db
BLAKE2b-256 9b2f8f96bfb19dfd97efec74681508df715eb2d7610939450571f87ac8303b4c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-2.2.3-cp313-cp313-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 b5cf28b12e3d536b6e1f8ca2c99a50c03b9373e1aaba93b50cdd31ae3cfcee65
MD5 67ebb853c5413dc7eab0abd35d592ec5
BLAKE2b-256 7f8ce9cbbb7c81080e09dc0a88e374f0f1dd66c3078e3bc1c5b086e4f677d544

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-2.2.3-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 ca63581954ddd99556843a45f957dd722059af88d94ef7685e6c4281cde46625
MD5 1fca0b8fa810c5f0bd8f47b7c3f2a11b
BLAKE2b-256 01ba7b0f973624ecf49cb257453ecf7aaffbf5f21bb5d368dce79a994a4bec85

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-2.2.3-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 bd7988da4780741dcdada948b037d3bd7b0051efc357e190e326d474c0999e0d
MD5 29f93d701ea1c7e88a32a7da86d55b68
BLAKE2b-256 6cbc26c83be8c16b4cbc5997761956eb858eedc325a688b149ecda0b7f6ce56b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-2.2.3-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 314c8e439b53d20f700bd0a3670e712d1aea5be603b9245cafe4100ee90c62eb
MD5 c4a710649f357b2a7eea23f2e5654470
BLAKE2b-256 a69c1561026d3fb0901e15c80b1312febf2786ea52cd169044dc7433ab0b5284

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-2.2.3-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 d6cd3bf33bd2c0ed0aa70ad3f92dd519e57ed4751c269a0cb05c995e59730332
MD5 e4210dc25497ba4dc5e819f286d1f1bc
BLAKE2b-256 6c6cbda37341f4637e0d0cc397240ec2d1a19e1d062cc995e64b26faae9ff14d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-2.2.3-cp312-cp312-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 90e48a567775027e05200cef5cc45a7a3b3fa49b6707975b0c9d2bf8dce0a077
MD5 fb4d9116b994553610b9b0300a5db349
BLAKE2b-256 e90ce1bbeba1fe0e81e0420907026070daba512527911396508da4506417d6ae

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-2.2.3-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 dc214ac6722cfda684308ec62deafc1dacf2b8a9d9e97e5ea084c8c98a9f1e84
MD5 dbbc320d8f2f436f1fb07eea7e9cee6d
BLAKE2b-256 65d1585cd988ba796b8700d632643c2300c5d3600ec52a6504af9701d8d4b0c1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-2.2.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 4386020d8c245d446aef7ac933caf4d3f92051a6fd33ff22e7adc31aeec7012f
MD5 6a333e9977b26b7f5f290ba65c296ebe
BLAKE2b-256 72d84cb52b3abcba6bcbea27f222507359eeb984450e6d69826f07ac7b40f653

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-2.2.3-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 d1c201ba4461e68b4ff73fe8481644bf6cf5c7d4534b6922b0fd737346a0b1c8
MD5 231e8829ac2008f722fdae8662c6936a
BLAKE2b-256 dd7fb7885d634a846e370cd50d7f700c06c5b2fddb6298a3563c1db00c6b00d4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-2.2.3-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 dc32ae76d26755c83b751d24e63c6cb89f2f9faaeb720e864b06fd0ad9250d19
MD5 59c33008bb243f96fb87a0319cba4c9a
BLAKE2b-256 abac94b3977be5014bdbfa57ddca12d64566cfca0532d3e05a8114a2ec38951b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-2.2.3-cp311-cp311-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 f7a5606c9e2653fb140159553ab0ffaa04b62c8ce31b566549954cecd91e60f3
MD5 6c1b34de93e17a513388bc3418152ed0
BLAKE2b-256 d534b78f2b519b5db350886566778784dc78688656f963030dd3a7ccf32ea7bc

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