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

Uploaded CPython 3.14Windows x86-64

mcp_mesh_core-1.1.0b5-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.1.0b5-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.1.0b5-cp314-cp314-macosx_11_0_arm64.whl (3.6 MB view details)

Uploaded CPython 3.14macOS 11.0+ ARM64

mcp_mesh_core-1.1.0b5-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.1.0b5-cp313-cp313-win_amd64.whl (3.7 MB view details)

Uploaded CPython 3.13Windows x86-64

mcp_mesh_core-1.1.0b5-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.1.0b5-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.1.0b5-cp313-cp313-macosx_11_0_arm64.whl (3.6 MB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

mcp_mesh_core-1.1.0b5-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.1.0b5-cp312-cp312-win_amd64.whl (3.7 MB view details)

Uploaded CPython 3.12Windows x86-64

mcp_mesh_core-1.1.0b5-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.1.0b5-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.1.0b5-cp312-cp312-macosx_11_0_arm64.whl (3.6 MB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

mcp_mesh_core-1.1.0b5-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.1.0b5-cp311-cp311-win_amd64.whl (3.7 MB view details)

Uploaded CPython 3.11Windows x86-64

mcp_mesh_core-1.1.0b5-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.1.0b5-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.1.0b5-cp311-cp311-macosx_11_0_arm64.whl (3.6 MB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

mcp_mesh_core-1.1.0b5-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.1.0b5-cp314-cp314-win_amd64.whl.

File metadata

File hashes

Hashes for mcp_mesh_core-1.1.0b5-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 5343fee1f9b7c993b39e3d15ab521d84d3373d1a8227e1f0ca4c07a9fe77bd79
MD5 d366167742361ad77a11c6e523e89dc5
BLAKE2b-256 90b5122713ab9a67e4acbb3e80c98382a20a9c811331b4751754e80600202804

See more details on using hashes here.

File details

Details for the file mcp_mesh_core-1.1.0b5-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for mcp_mesh_core-1.1.0b5-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 b114338ae1f1a318e344da2c83a692ade8e938f70f71612b6b4f7427f6e3e8b4
MD5 5e4952a53484bf006673c1744a10ee4c
BLAKE2b-256 a8cef569b738dc27b9b0c435250a257ab66e922353d1bc4e6c01120753555038

See more details on using hashes here.

File details

Details for the file mcp_mesh_core-1.1.0b5-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for mcp_mesh_core-1.1.0b5-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 b1d7ad2f0cdd39828530d9181cc7ee36ca45da97ad4725fa0ef8035d30fb019b
MD5 7dbf551b3a643ad3f1643d1cba6787a6
BLAKE2b-256 df7a87f0153558046449c0f0fdbe30c27504f9195a99db97309b361a50403106

See more details on using hashes here.

File details

Details for the file mcp_mesh_core-1.1.0b5-cp314-cp314-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for mcp_mesh_core-1.1.0b5-cp314-cp314-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 86cc3af82287fce4665afdfc5cc9eaec10b749ce1ab06d1c6f2cddb4cabe2ac7
MD5 aea7c36a03cc4f38c2b9dfe4ad1e0e5b
BLAKE2b-256 e9764bdd3b10d069a659c85f197f4bd1cb68c81e131f0a17fbe7b8a91a92d793

See more details on using hashes here.

File details

Details for the file mcp_mesh_core-1.1.0b5-cp314-cp314-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for mcp_mesh_core-1.1.0b5-cp314-cp314-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 d47d8393d1854360dbc6e80e143e26e668bbf3448b560fb47ecc9fe57389c28e
MD5 5878652f75792ca497c613e29d2d6b10
BLAKE2b-256 53263ce3becfcfa3e99357c0975f349a8dc6590df8ed9da96e6495b7a8610b06

See more details on using hashes here.

File details

Details for the file mcp_mesh_core-1.1.0b5-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for mcp_mesh_core-1.1.0b5-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 ec1e4b0c3f70988a79b82bb584e52a06d1206caab31f4be9eebfed29776d2a14
MD5 00cd164860d8f612d1656b7ca3b4cf1e
BLAKE2b-256 1228cb7addf17d76b7d99fea339c483a252bb664182d0d24229ba4d6f84d65f7

See more details on using hashes here.

File details

Details for the file mcp_mesh_core-1.1.0b5-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for mcp_mesh_core-1.1.0b5-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 f1cf78ab13a965c5f1884d38c55da4ca69ef0fa123543eb427b675966f7617b3
MD5 2df58b17022c1b379fd283e8b4cb8886
BLAKE2b-256 80456c51dab9b208c2eaa3b5195dcafe3b787059c7451619d530175689842d9e

See more details on using hashes here.

File details

Details for the file mcp_mesh_core-1.1.0b5-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for mcp_mesh_core-1.1.0b5-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 5c821374642b43cebd7b4ac1f047bbb8fbce42740aef3448b7f1077d23cfdfc0
MD5 aa3a5e318c391ded779ca2bf360c0ce7
BLAKE2b-256 dd9c28e5f3b6a569a8ae000a249c80ebcf274291824c64d1ab1f9971412a91e8

See more details on using hashes here.

File details

Details for the file mcp_mesh_core-1.1.0b5-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for mcp_mesh_core-1.1.0b5-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 8a2ceaee5232560413146c20072a8bfb3a8f5242ce067cac886f513ca52bbeb0
MD5 f872799c36fdec08e176972484f052be
BLAKE2b-256 817355fcb492f2e9d46d6b7676358ee58456ffafec095b55eec8beda07ac86e4

See more details on using hashes here.

File details

Details for the file mcp_mesh_core-1.1.0b5-cp313-cp313-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for mcp_mesh_core-1.1.0b5-cp313-cp313-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 e14acc4f23ad4e1c8e3a9328dc2eaaf8fbc7acbec5461050f7601fde74c33ae2
MD5 2a78698d83fcf23f21087e7375a6c8ba
BLAKE2b-256 b13c552bee71af27f97d21cdc2637e74ddf66d1cb6c2c4ddcc517166eca0511c

See more details on using hashes here.

File details

Details for the file mcp_mesh_core-1.1.0b5-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for mcp_mesh_core-1.1.0b5-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 9de00f0a48c6a1ff882a87d64011763d6c1c8bbc9a776647c7d378d8a488e41a
MD5 832d118a93b4cdb17aeff03e62045c19
BLAKE2b-256 5e877c1d5ba0ef273e7833885e08f8e3625ea7b8523dc932368d4b7942275f4e

See more details on using hashes here.

File details

Details for the file mcp_mesh_core-1.1.0b5-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for mcp_mesh_core-1.1.0b5-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 16aae8e2d18630a4741409627750ca04ca33b0175697993388c02a7d97220659
MD5 6d889f8f21722cfe14f3381b7f3bfa87
BLAKE2b-256 a6028303892f9a0ca5730fec8d949e268a1132a4d179d950ed162dde14ea8a44

See more details on using hashes here.

File details

Details for the file mcp_mesh_core-1.1.0b5-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for mcp_mesh_core-1.1.0b5-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 05abd045435e944154894c9bd2d315df9c8566fe70baff2624afa464fd95e29b
MD5 c0f77b7a75c0dae30c016ee15797e749
BLAKE2b-256 1bfcb8c70dedd53f7ef74dd2b334f0035a0afdb22220f7e7fdfe4ea4bb236d85

See more details on using hashes here.

File details

Details for the file mcp_mesh_core-1.1.0b5-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for mcp_mesh_core-1.1.0b5-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 cc4a0d617e885ea6c5807f4cc26d9b8469d2f29dbe36020b133766efd739f6f5
MD5 f7572996c67d6dde9bc44a137434a8b4
BLAKE2b-256 75d09a508a51a3d52d5983dccbb5562ccd5efa78a9084a6c50c337d00427b636

See more details on using hashes here.

File details

Details for the file mcp_mesh_core-1.1.0b5-cp312-cp312-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for mcp_mesh_core-1.1.0b5-cp312-cp312-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 d1b0da222c553bedc6ae3bf230d9a288422cf917e4a850144b81c63302925b87
MD5 8611fd237bab3d71aa7b2c1b167abb24
BLAKE2b-256 fc8e609ee71523a3e45b985535a9443a332a7e2e7b13a55a124a4d15b9fbfa25

See more details on using hashes here.

File details

Details for the file mcp_mesh_core-1.1.0b5-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for mcp_mesh_core-1.1.0b5-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 97f2b828f169fcc843e12ce05f4d3ea6ad49b7d36cb7e1d99a3c9080d8352e3f
MD5 50096a975017430964e27def1477aee6
BLAKE2b-256 aa5ff470feadc5d6e02fa830a7867296debcd4fcbb728640cb075d54b0f365bd

See more details on using hashes here.

File details

Details for the file mcp_mesh_core-1.1.0b5-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for mcp_mesh_core-1.1.0b5-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 fc819e87cb466800e9e13dead3eb86b86b71401d4c29ddf21b4a43dd8c6edd0c
MD5 613c4efe9bd519b3043db73c236dccff
BLAKE2b-256 b8a6530f6f0e802924a057b99964490f5942e5aaceadfcedf44f7dbd7dd49027

See more details on using hashes here.

File details

Details for the file mcp_mesh_core-1.1.0b5-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for mcp_mesh_core-1.1.0b5-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 77403e20b37aaedb37721cc79b74588a5531498a2a00613bc0312d2fd8ca82ae
MD5 2f57adb0d31665f67742c50d06db9771
BLAKE2b-256 b47d965910f5ed46b9c3cfede23a0bf03686d0f86b94fc48277a2a31c2f05b5f

See more details on using hashes here.

File details

Details for the file mcp_mesh_core-1.1.0b5-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for mcp_mesh_core-1.1.0b5-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 b87bda20d789a7e2f8df57147dc191e339948b31a9f69e111a609d351c1df108
MD5 28ea50b0d8aecafa808596d3b1df66f7
BLAKE2b-256 5b8e830149c1ac206594f0332822c1366fa3cd3f8722e3cd534de3437b4a5989

See more details on using hashes here.

File details

Details for the file mcp_mesh_core-1.1.0b5-cp311-cp311-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for mcp_mesh_core-1.1.0b5-cp311-cp311-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 3c8db9280ee58cb6a4f3d00bab9c8b9afbac9c5c19d9f5ea07a33548f4f3af17
MD5 684d6e528830d385e124622f2493be2c
BLAKE2b-256 60322dd5f685c133813dec1884f3f49e5da495181c8d695248c68ad167ba9217

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