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

This version

2.7.0

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

Uploaded CPython 3.14Windows x86-64

mcp_mesh_core-2.7.0-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.4 MB view details)

Uploaded CPython 3.14manylinux: glibc 2.17+ x86-64

mcp_mesh_core-2.7.0-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (3.8 MB view details)

Uploaded CPython 3.14manylinux: glibc 2.17+ ARM64

mcp_mesh_core-2.7.0-cp314-cp314-macosx_11_0_arm64.whl (4.0 MB view details)

Uploaded CPython 3.14macOS 11.0+ ARM64

mcp_mesh_core-2.7.0-cp314-cp314-macosx_10_12_x86_64.whl (4.3 MB view details)

Uploaded CPython 3.14macOS 10.12+ x86-64

mcp_mesh_core-2.7.0-cp313-cp313-win_amd64.whl (4.2 MB view details)

Uploaded CPython 3.13Windows x86-64

mcp_mesh_core-2.7.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.4 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ x86-64

mcp_mesh_core-2.7.0-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (3.8 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ ARM64

mcp_mesh_core-2.7.0-cp313-cp313-macosx_11_0_arm64.whl (4.0 MB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

mcp_mesh_core-2.7.0-cp313-cp313-macosx_10_12_x86_64.whl (4.3 MB view details)

Uploaded CPython 3.13macOS 10.12+ x86-64

mcp_mesh_core-2.7.0-cp312-cp312-win_amd64.whl (4.2 MB view details)

Uploaded CPython 3.12Windows x86-64

mcp_mesh_core-2.7.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.4 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

mcp_mesh_core-2.7.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (3.8 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ ARM64

mcp_mesh_core-2.7.0-cp312-cp312-macosx_11_0_arm64.whl (4.0 MB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

mcp_mesh_core-2.7.0-cp312-cp312-macosx_10_12_x86_64.whl (4.3 MB view details)

Uploaded CPython 3.12macOS 10.12+ x86-64

mcp_mesh_core-2.7.0-cp311-cp311-win_amd64.whl (4.2 MB view details)

Uploaded CPython 3.11Windows x86-64

mcp_mesh_core-2.7.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.4 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

mcp_mesh_core-2.7.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (3.8 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ ARM64

mcp_mesh_core-2.7.0-cp311-cp311-macosx_11_0_arm64.whl (4.0 MB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

mcp_mesh_core-2.7.0-cp311-cp311-macosx_10_12_x86_64.whl (4.3 MB view details)

Uploaded CPython 3.11macOS 10.12+ x86-64

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-2.7.0-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 5edf961f7c0b62433c8625475edc2ddda4594fed85e5891d77d9c03babcd537e
MD5 722586b7c3d496f8a5cb63f8e09f3437
BLAKE2b-256 e6e0503184ff65c4eac38c47971a26702669ec7c494fe2372719a2fe09eb7440

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-2.7.0-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 5bdd108107228aa247ac88adcdd10432ef9ef957c4feef94369f9ccb14825197
MD5 cff12da8a56a4c43896ac1ba22829991
BLAKE2b-256 b99a02b5e59844729e5696da41ae67f94df6eba80914c83747873c4173263153

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-2.7.0-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 3ff9ab836a119eac97399af72b00e622d3e5feb9eebc32138db801eeb59dd042
MD5 dec3b338239efebe991c11e0c11b27c3
BLAKE2b-256 b6f4cdbc9a68c7addfcfc546da0807bad1e672e5499be79106a5fd184b0d0f6b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-2.7.0-cp314-cp314-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 3486657a3e253cd643c1866ce33f0eec5d6dd39e3baf6616ed0f519987d1955f
MD5 4f356503ce188bc7a5b88701fc1f8c2c
BLAKE2b-256 e558fc1714f72ef33565898ae86b31bb3bd604412afba1c759617af55e1eb3d1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-2.7.0-cp314-cp314-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 fc80ca508e4ff46af0dbae95d60f0508ac023b593f4236183b56091a57070735
MD5 59e50c2ad70dc6f25b22bbcf52404399
BLAKE2b-256 354da078daf0f53ebc4263c035811dd09098403433eee7014551df56d9f1da12

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-2.7.0-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 9e597303c33e70c7f712f7896b1c5f6cb952c32841c0e2557d9f39b924bd2c65
MD5 58d844b1b97fc59a5a80e0c837433451
BLAKE2b-256 687e2079e861eb0af4caddfb5f7bd990e11df0e6e3357793fb9716ea873b4899

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-2.7.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 4a9db55d799260f0153171eb3a0c131946f656a11914d05a70815f2a55d719f6
MD5 2ecc89a2ac9e588fa083f84c58606c99
BLAKE2b-256 42a96dacf57c512116f3f0d52a346def16214f2bb646c63bf6f589d586f05ce0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-2.7.0-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 d772857634314f438b786b73fb7d03c20a1ddb6f68d50e37807a4e9ed017c70a
MD5 3dbd0cdb4ea9adad27f13e568cb37635
BLAKE2b-256 39de363f84a16ced785a91c3726ff1a2b9f1e158eb1e50ed3b68b729463385bf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-2.7.0-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 d1e852451a2090737511c2e2ac72d958ea5481e40052be6deb991f5c9bc41219
MD5 fc2d17468618a1b27db50ac3ef73ef34
BLAKE2b-256 63a111a0664a60f55d8c1717e3ed92c9c1ccce2fb188ab4269a7a5d6bf20030f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-2.7.0-cp313-cp313-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 da4031fe2cbf1af7923ce6d017cc6837cccf36d01340ed065e115f6ac82f68fa
MD5 2803b75e43bfee9fbd8b47ffaf1b6562
BLAKE2b-256 4474e0243c23db168479a9b13bafa4a7724e8ae383b1663313ab69c68c2c5a2f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-2.7.0-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 2e4b2a1300562a24fbfc3e78adc9fd8a6ec771f2d33408a4b3ce8d08faa5161f
MD5 e3f798dd0803f8376d99b809fbf84a87
BLAKE2b-256 0c5b2b3a14f267ff8bba3fc7db1216c8eb31a72e5cab54d262c0543024bc4ec1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-2.7.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 6045b74833c4e33cbf252fe2ad7a23199e450b10a7da463e24f3855cd1020d85
MD5 5def39878189344a8adb84d7556b7fe1
BLAKE2b-256 84fda365119fff5e02b91b921d63de62d10657255fe7b7987ebfac8e3339f6b8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-2.7.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 6cac67757569cc494068bdd0dd6e36289657cf4f559a4c873fe61318d2cf7733
MD5 ada4fa36c8c73e03b67297cc99e49d2c
BLAKE2b-256 e49f36cf1acb11f42699dd6961611decaf14c14e409ccdf373200c7cfd302801

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-2.7.0-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 6935a939ba6ba0bbaf491c43572d308b59349d7cc2112cd40b7a32f21021d237
MD5 cdf6a7e962aea4ef3e602fddccee49cf
BLAKE2b-256 a6d738620479bedd4da0398506ba90a6f082dcdb48fd3046f5919b27cdcb56b8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-2.7.0-cp312-cp312-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 d09d9222a9bad9a0561e962d8085055c82c786970c6e8049b48c5e4b4ddf926f
MD5 690052147f31937e89aa9f8dc5c01263
BLAKE2b-256 f77883862b2c117ef1b3105b0baea7af83ce3889b0def525a2094f9741bed54f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-2.7.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 1605e5afe8b97be392eb7d493907b810578cf44a21780b91ad3e0ad78ea78287
MD5 56ebbaa70d1bb57cf32a8c60e111c99b
BLAKE2b-256 f14273762422bd1815cdf5efb5b428bd2c73dbed1b619cc87616f4235517f972

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-2.7.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 608baa6ea9a939c04774cbf2ef92b9f66746eb819091bcd17d80cf80336d4ca7
MD5 1d361efa226cb940231c5dc894189526
BLAKE2b-256 8106a7c079880fa9a5b05eb8dd5c03eaf2c276d728efc7b8b4000c5edef9742b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-2.7.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 196530c922c687b12965a82db6f5009607f63329ad4433b54eba5b19503a28c4
MD5 aebde835c3688f157adcc2391b6cfd45
BLAKE2b-256 364db08afc4d2c7c09b90f0d9ee0898181185e7ce0af1eb1eb75270f2a0e3287

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-2.7.0-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 57ba873665bbe2196ae30cf9b3ccd957713eae0d9bd519aac7f4f0dad799964d
MD5 5e35533b060dcb2377a7563b7a1336cc
BLAKE2b-256 ccd3ba9bde6d02fa7034da72b5f1af88490e5c96c96f499786295302df8a98f6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-2.7.0-cp311-cp311-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 d18fb7c30708d7b70fe55babff56e2472b9c5e1a578253c926b04871876b025e
MD5 b5ab0798c64af40fde0c412fb82e4e2a
BLAKE2b-256 4a47fa18ab525b07d1b7b1002a3b45071d06eb4b0fc8c666fe037b76d6e8dd53

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