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

Uploaded CPython 3.14Windows x86-64

mcp_mesh_core-0.9.0b11-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.0b11-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.0b11-cp314-cp314-macosx_11_0_arm64.whl (2.3 MB view details)

Uploaded CPython 3.14macOS 11.0+ ARM64

mcp_mesh_core-0.9.0b11-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.0b11-cp313-cp313-win_amd64.whl (2.4 MB view details)

Uploaded CPython 3.13Windows x86-64

mcp_mesh_core-0.9.0b11-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.0b11-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.0b11-cp313-cp313-macosx_11_0_arm64.whl (2.3 MB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

mcp_mesh_core-0.9.0b11-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.0b11-cp312-cp312-win_amd64.whl (2.4 MB view details)

Uploaded CPython 3.12Windows x86-64

mcp_mesh_core-0.9.0b11-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.0b11-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.0b11-cp312-cp312-macosx_11_0_arm64.whl (2.3 MB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

mcp_mesh_core-0.9.0b11-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.0b11-cp311-cp311-win_amd64.whl (2.4 MB view details)

Uploaded CPython 3.11Windows x86-64

mcp_mesh_core-0.9.0b11-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.0b11-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.0b11-cp311-cp311-macosx_11_0_arm64.whl (2.3 MB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

mcp_mesh_core-0.9.0b11-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.0b11-cp314-cp314-win_amd64.whl.

File metadata

File hashes

Hashes for mcp_mesh_core-0.9.0b11-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 527cd51adbf2f92e9c2f130c670f01292ca7b919e3245f804bc4fbb34ede867a
MD5 5839477ca11d86ce53acc6f7db5d4a7c
BLAKE2b-256 cf261285a0929a15c7a482e92446f5b616567bac2b2d9615902daf62e203b7cb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-0.9.0b11-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 9508088898535199d71ceaec0a5d189c319195a455ea44fb24aa0639c36991ca
MD5 0b80b583b8941b680d7f8cf961a5d3b0
BLAKE2b-256 4cc6cb2773016e41bcf1c403e0f9f4de8da8c502ee521ab2d028bff67974e0f0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-0.9.0b11-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 41dc1b4b1998dfe63b4f410ee6d8b85134da7bd40b9b16223730f0df08cbc3f8
MD5 99122e87c8a5b6dc9c455457a1b94ee3
BLAKE2b-256 f546bb179166eedc0a6378bc4715a57f171d2f0f6bef4d2c1aa061c15d1b3cae

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-0.9.0b11-cp314-cp314-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 ed7c2fbb0325263ac4aadac04c979954cb7b04c3bc4a09cdf068226d12ccae94
MD5 077b0f06b9888bf57760dca2b0c09ea6
BLAKE2b-256 98b268fb70168ab03adcc0c3f2ddf30bf79e68b8c3fcc2fa7f2cc392deac5324

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-0.9.0b11-cp314-cp314-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 1b76fa64b7e43b2d8394c133d568370e4ecfa9d2e362698d270549e8970f2c18
MD5 1e57bdd47f8ff67fd2a341aa8005bf47
BLAKE2b-256 26977beb6bcce4f7e2451e5ae0433906e9b8b994ac9757e75e32eb732d14e8d2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-0.9.0b11-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 efe5aa211097a3c7d9c816fbf60bc0260919f9b09937a7b0b33fb33c934e60ec
MD5 b66881cc1a15c31dfb1b8e094efe28f7
BLAKE2b-256 d995730ca0347688cecfd34575a0efb5b37c45f725fe36a4615f1ec188ba1ac9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-0.9.0b11-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 ee25047d8a27248ea69d543b1be094d711a4ec8356cd6926730a445648ef143b
MD5 cf1ea2f86e39a0b0c3bbf0eb667d9237
BLAKE2b-256 f95a8491dd5006fbe7a15e8e7ebc888200b0ea82f58055bce69957dabe423d96

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-0.9.0b11-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 b592976d7b0c501cdc72e4c79f7d27b82eb93a54405f16f2ba03ac6046a8a7e4
MD5 3e2782305abe4d663401827fcfb30f35
BLAKE2b-256 c6e9e009ad47e97c2020afbab2622ab40683e3b4565630d24fca230672143cb3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-0.9.0b11-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 3d1b9bb77cd4d8fd44cfdff25d05f272d5d5e8987f047c747b4ad6004f3d4adf
MD5 c8f43a445b83207e01cdfacfd8b7cd1e
BLAKE2b-256 3fb815c92a76bf4eb2e16a9dc4acb66bd11c3c7e023e0d2a909015e6d0370dbe

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-0.9.0b11-cp313-cp313-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 b8fc82a73e6ca31c426dffe7327a3f38f09ac2306d140e150fc5ceed472c0a3f
MD5 bd007baa871ffccab94822b1f654066c
BLAKE2b-256 6de6b04452d0fe730a276457f13256b64a21988e27496187efce3e8a573f0468

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-0.9.0b11-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 0284f2b64dfdbe7f55bf2309d4d0b2aa248ac2ff799086e3dd5ebf3b9b8cc1e1
MD5 d579941fc2930897f9b9a1ef4c9aec4f
BLAKE2b-256 e177f900a776740c7d30236afb5b6b521f9f3b0b5d7907c5c3c3dc7536fb738c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-0.9.0b11-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 4662b34fa1d61d0e3dcf24660ba6f5c9219d7b383e5fd133f75a6dab19f027e4
MD5 cb4cfe9babba8c8c25976785ac2ae5f0
BLAKE2b-256 96e2edd78ddb7eb9b22c7970485e48d83d3531616c809f0152960ea8553932ed

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-0.9.0b11-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 caf5939215245d55317da31da9a47515b6c4a30c6c04d935c3ad544c8332d97d
MD5 5b9f81acca38acb7c6c430abf464f664
BLAKE2b-256 53b44a39da6b83dd7a2f7d255195c713f3aac325b7d377b8fc466813f4828f14

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-0.9.0b11-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 9a55f74dad90c6854c1b5d794daec677628174a9d1996f4ac0bf2921d66cb5df
MD5 04b73551f94225b52c8b782eaffe45b9
BLAKE2b-256 2c6ed88863cb88882205cc4481c4d008d96a9493ded6ad733c132867b32bb9f7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-0.9.0b11-cp312-cp312-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 61283ea7555affdee67f4c990e011ba43a7e6aed9f357207ca00775a2160e911
MD5 a00a949b4f2678c4b6f933e8b420dd4e
BLAKE2b-256 831b69408bb6525b9b2aa1bced560e9c65586d4aa6992695ca2607ca8981c0b4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-0.9.0b11-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 6d2fb0f69ad1e60fd2f8b59ec3f2135f92279c6527645625e65945f2270807fb
MD5 f97bfd77be7b0e35695c4a6bf741077c
BLAKE2b-256 2da0802ae3092936cd8ec155ba929c468be5f093188f6a8cd860350574fbceb7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-0.9.0b11-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 8a7365b791493a8cccd8034921a20f56bb8bf7f05bc9ad849f349f62c2172b5d
MD5 94003d4ab67636b8b56fa2dd04f6762b
BLAKE2b-256 478be5f6661861da698fdd177f596ebda5b84dbe59c3ddc8a6b9e8827c0591b7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-0.9.0b11-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 d910fd5d079792d6d49f4fd3323f798f0562f5f97d288fdde1d473b67ae00239
MD5 fe088d325d7e0fb3013fd8c341a7a727
BLAKE2b-256 362910dc2a89d7c17bf829f9c0249f2914c3513fc2ce176588ceec69def8d31e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-0.9.0b11-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 d796059698b5d71c3b90f1120b0dfdfbbfc728d4dd463f75e5e04a942874ba2d
MD5 43b6799f295405f5fde7e8a2469310cc
BLAKE2b-256 62e0535a8bbf60d56dfbe031bd043c4777d3c843ea1a4eef82c5386f48164047

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-0.9.0b11-cp311-cp311-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 16b8fb2683bedf218a9da18497e3cc8378670726ce40688f04a984c12aa6c8a7
MD5 709cf3192d86ef319e8f65208bb33496
BLAKE2b-256 5bb6ea1eda82c5d291053dc76537197069f16341030cdabaa4b37ab8f9008484

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