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

Uploaded CPython 3.14Windows x86-64

mcp_mesh_core-1.1.0b3-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.2 MB view details)

Uploaded CPython 3.14manylinux: glibc 2.17+ x86-64

mcp_mesh_core-1.1.0b3-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (2.8 MB view details)

Uploaded CPython 3.14manylinux: glibc 2.17+ ARM64

mcp_mesh_core-1.1.0b3-cp314-cp314-macosx_11_0_arm64.whl (2.9 MB view details)

Uploaded CPython 3.14macOS 11.0+ ARM64

mcp_mesh_core-1.1.0b3-cp314-cp314-macosx_10_12_x86_64.whl (3.1 MB view details)

Uploaded CPython 3.14macOS 10.12+ x86-64

mcp_mesh_core-1.1.0b3-cp313-cp313-win_amd64.whl (3.0 MB view details)

Uploaded CPython 3.13Windows x86-64

mcp_mesh_core-1.1.0b3-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.2 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ x86-64

mcp_mesh_core-1.1.0b3-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (2.8 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ ARM64

mcp_mesh_core-1.1.0b3-cp313-cp313-macosx_11_0_arm64.whl (2.9 MB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

mcp_mesh_core-1.1.0b3-cp313-cp313-macosx_10_12_x86_64.whl (3.1 MB view details)

Uploaded CPython 3.13macOS 10.12+ x86-64

mcp_mesh_core-1.1.0b3-cp312-cp312-win_amd64.whl (3.0 MB view details)

Uploaded CPython 3.12Windows x86-64

mcp_mesh_core-1.1.0b3-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.2 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

mcp_mesh_core-1.1.0b3-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (2.8 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ ARM64

mcp_mesh_core-1.1.0b3-cp312-cp312-macosx_11_0_arm64.whl (2.9 MB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

mcp_mesh_core-1.1.0b3-cp312-cp312-macosx_10_12_x86_64.whl (3.1 MB view details)

Uploaded CPython 3.12macOS 10.12+ x86-64

mcp_mesh_core-1.1.0b3-cp311-cp311-win_amd64.whl (3.0 MB view details)

Uploaded CPython 3.11Windows x86-64

mcp_mesh_core-1.1.0b3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.2 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

mcp_mesh_core-1.1.0b3-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (2.8 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ ARM64

mcp_mesh_core-1.1.0b3-cp311-cp311-macosx_11_0_arm64.whl (2.9 MB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

mcp_mesh_core-1.1.0b3-cp311-cp311-macosx_10_12_x86_64.whl (3.1 MB view details)

Uploaded CPython 3.11macOS 10.12+ x86-64

File details

Details for the file mcp_mesh_core-1.1.0b3-cp314-cp314-win_amd64.whl.

File metadata

File hashes

Hashes for mcp_mesh_core-1.1.0b3-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 63e9afb13c68e898a9d8c13741877302ee223ac56a5d2bb3c8cee53641ba85d8
MD5 6fdb12d4f7d855b46b405c0d543e3bb3
BLAKE2b-256 c6a675851f2850ad074238e374a212938d2f23fdba299348d29eefe3106340b8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-1.1.0b3-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 6933bea64e9875a30897625b9032cfbf5c9cbb4d260a611bd8233d1bc4863164
MD5 b8e6aa5bbd4a1abcf6b47ba7f73d26b1
BLAKE2b-256 58f9a25b4f5e69275918067b84eba82c76c5b784548be67cbad165d396b70bb1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-1.1.0b3-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 a0a5fc64ad7f0c0a39b5d3aba0a90c40dea073199b08247a8b9e5c0ff75a2fce
MD5 8827fea7d4c1c04c2f571dd7815d06c9
BLAKE2b-256 ae47b02e2f750abc8830580225de2e3e8c77401e2bb18ba4a5068483b70a2c0d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-1.1.0b3-cp314-cp314-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 f7e0c6e897afe1615591fe36ae9fd3c75fe53550f587ca2f8894ca446443e177
MD5 929923c6a4c199fc55bb7667d7a9b342
BLAKE2b-256 3024bc49b142212e2f9b7dae8adf1344e7d0186ab50ad04feb1835d4a83d0f82

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-1.1.0b3-cp314-cp314-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 bbde4f718603ab36f5a9eebe900bcfe0d4e5ac321a920633145e9a221ab7ffa8
MD5 290dbdce172508f9d3fadfad984e0eef
BLAKE2b-256 067a904c32fdce4c17c04b7e73e6688ca25385e4a5f95b8fe0255c6001bf172b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-1.1.0b3-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 0d6bde0f4ea01d9422aa26e10189a88a0eac48f1b3148f6112e0e85e05976036
MD5 597c8b82c3fd948030a84d6d7d440aca
BLAKE2b-256 c8c6643b62e362c94fdf1b2355133cb808a361ed8e30ee8a37d02d52f96ae812

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-1.1.0b3-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 f2bdc26a24d3ed5ad517eeb9f6adc9e21acb8afa3538c3bda2a32186f444a3ef
MD5 639af0e54f4450676d00dd94fa333a0d
BLAKE2b-256 a03be1d473cb7f625d9b57ed71c389f5e4f940f92c0e23d423acdaf37014e4fd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-1.1.0b3-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 ce4ed6a602155299be4f0f48d12fe2697cbede49e9cb4e6c3002f0a8f9ad8fbc
MD5 90e187b3240355c33e56a2682afb328e
BLAKE2b-256 ea6abe0b7fa2c645c341c2316fbad3e5cdb8119465ddb927b86bf128abadf882

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-1.1.0b3-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 2b4df4dcc793841acbb1764de48acce6d63a8d01abb87c8fd184bf7e20543f4c
MD5 afe65829ef23e2467e023259dca6a391
BLAKE2b-256 e28d54834f33b51adc0e3a70c8fb4d404a07887e0c9be83acd8a726d1251dd6b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-1.1.0b3-cp313-cp313-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 c6c564dea10b3568834377aac4767b47f262c47e1f7be530d306569f1d488dcb
MD5 fd80ea3ac465275683dbd15ae1979bae
BLAKE2b-256 9170d6d01d1f306a7ae855358aa0a82fdeaf5f623d1b7d983189d1a0edc46e24

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-1.1.0b3-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 80c02be64ef71af9d733c8b1f5e8dd002f50d29d2659e533ae7c7f48525eed74
MD5 33211d8a43e61084071d502c085b3649
BLAKE2b-256 604e4502a73480a689cc4c1302d5eb71dfe7b9996b9728dcaeda771c158c877a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-1.1.0b3-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 d764c593f5a1cf79db5c1f55a28cbb58e4def448cb824c431388b2b8927a48fd
MD5 41a8cd59b01523e049479e361b089927
BLAKE2b-256 fd9cfbee2b1c00c99cba693371ce345243817eda27a0cfd7d3916d5b597fe06c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-1.1.0b3-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 ec4a4c05b54ffbdde75c852eb223b901be31b9e6a229c23c1dcf96e8310b4f20
MD5 b1a7408a056f0bee9236fa649fa6c403
BLAKE2b-256 b2d5a4573d14c49088a43cd9634dba7836c54668af78fc6f8a9da1db610a5b00

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-1.1.0b3-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 850c390a5acb89d1b4755cbaad57e6b7beee69d363655bcad5cffffba9868f3a
MD5 05d1463f4c1c709a583e37f639e63a00
BLAKE2b-256 8a60c8429d2687fa97c9e148a019cad151deee524027774affe0d48e94bd9f1b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-1.1.0b3-cp312-cp312-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 8e4cd8455f7a4c2026f616a000ea323b7e7b5b0574adddf2790d74ccd333d3eb
MD5 2e8818f914b057ca096380e8a0cfb685
BLAKE2b-256 3b0aff3cd884dce4283d87ea4308b01c2de1a2f24a18a95fa219dbc60b48be2e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-1.1.0b3-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 04481c99c78ddf2eb4f8c9a31eb92cfa98751db193689ba71afc7ec4b919533a
MD5 0e411f2c326bbde9092ca38faf79b4f5
BLAKE2b-256 bb304aad80f60431b2d434775ff318f40e9e7a52b2f6fa914f7290de9b35a2ff

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-1.1.0b3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 06e702c9960dba6e856d6e025255cdfa31c8c58d6d4a8231cdbd0b5ee8e8d79b
MD5 e873cb79ff84b25f50d32bc7ddefa1f2
BLAKE2b-256 ecd63edce07bcf8f0e0dd9c7a778e8c1762a989189654e81ec84b2471376d288

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-1.1.0b3-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 fc8942d1380412d6a47d8fa66842dd8e5d737c11f8fe705a7241099ff1d94842
MD5 711617ca292727599e5e14ed61593bfc
BLAKE2b-256 3b734bf998982c9ba787bffb4a4782c5a0de1fa1247a7691c321ae7c22d794c6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-1.1.0b3-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 eb4653c5ab01d04605b4747c6fc6169105d87fdace463217b0f4f223d16f3e27
MD5 f766c349614ed8e6e6bbcbbe32b41964
BLAKE2b-256 663d6e2c9de9c589d7c4e0553b526cb95dc489166b4d6e1d5dd993e4f95ceea6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-1.1.0b3-cp311-cp311-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 03ffbb0af4ef6daf64c913509e2576e544a137ed575b196cab08c78f87284797
MD5 578e524464febb158887a813239ff4b5
BLAKE2b-256 80b4961830280f45f64dc57467dbc2837a843b11096fee4b23aabc6ed81e8d49

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