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

Uploaded CPython 3.14Windows x86-64

mcp_mesh_core-1.1.0b1-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.0b1-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (2.7 MB view details)

Uploaded CPython 3.14manylinux: glibc 2.17+ ARM64

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

Uploaded CPython 3.14macOS 11.0+ ARM64

mcp_mesh_core-1.1.0b1-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.0b1-cp313-cp313-win_amd64.whl (3.0 MB view details)

Uploaded CPython 3.13Windows x86-64

mcp_mesh_core-1.1.0b1-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.0b1-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (2.7 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ ARM64

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

Uploaded CPython 3.13macOS 11.0+ ARM64

mcp_mesh_core-1.1.0b1-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.0b1-cp312-cp312-win_amd64.whl (3.0 MB view details)

Uploaded CPython 3.12Windows x86-64

mcp_mesh_core-1.1.0b1-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.0b1-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (2.7 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ ARM64

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

Uploaded CPython 3.12macOS 11.0+ ARM64

mcp_mesh_core-1.1.0b1-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.0b1-cp311-cp311-win_amd64.whl (3.0 MB view details)

Uploaded CPython 3.11Windows x86-64

mcp_mesh_core-1.1.0b1-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.0b1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (2.7 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ ARM64

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

Uploaded CPython 3.11macOS 11.0+ ARM64

mcp_mesh_core-1.1.0b1-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.0b1-cp314-cp314-win_amd64.whl.

File metadata

File hashes

Hashes for mcp_mesh_core-1.1.0b1-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 43109faac0c689f9ad96d531b7fa372a34d19e8155b5d32047489c61ee774dba
MD5 92ac124a6d71fb13ba7348790633f31d
BLAKE2b-256 493f5b979f573db65e96a34163032c4b185409db0c4cfbb8b0e3c37bd08f2b62

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-1.1.0b1-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 1fb616429c8c498d6b94f72cbb739fa8832ecad6ed59a4ce551bf54ab28cfd26
MD5 67808933ce2343e524b894bb0dd723e2
BLAKE2b-256 47b5b8e51e82bb4a4d5807a89c6f43cb090b67f33b7fc8dc29d459708dbc6e4e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-1.1.0b1-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 52f864d33bab5cf2c5b8f0daeced96b33f39d6ff79959d471712f96d11459bf7
MD5 70bcccb68240e228fc8e2a4b9a5a3dba
BLAKE2b-256 2320ad146f4aba9318b7f8ec499cfcd511022fd2810e434ab9862c7f0d4eda3f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-1.1.0b1-cp314-cp314-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 8dbca9f6e7a8abbc6032b2809f04ed6baba141b5d3b79fed14e026feed5a43df
MD5 8148b2d864ce2c504ed78886cc994b92
BLAKE2b-256 4b98ccc783b089e280905fbe96c08779f80068a7a2f6892497ca022eca8bc4ee

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-1.1.0b1-cp314-cp314-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 634a29b72f1570eec18bd7037d4df972f2d12e93263437959b04bec8d956c22a
MD5 2eece783fc4f1b6c7bf6f4e329198622
BLAKE2b-256 42cd1590960b73a40fde0f78a2720c2930f55eeaab13aae17c55bb18d64f76ad

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-1.1.0b1-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 96c9da79546138f71862f6247652b2566c1c177285bd8efb315dc607e4914340
MD5 c2e74fc60c36f6f945d7e954cae5bb69
BLAKE2b-256 26f8a1e1348cdaf302b8e2754bac118adf270f24bfc34a3e988cf4252cdfed8a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-1.1.0b1-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 a6cf2c2b12d3204559f5e33f33f67cf711672161afe12f62f572541aedb9669b
MD5 90650f680aad38cb21ea979dd2c72653
BLAKE2b-256 8c4ec5065e4baeb73d7d52cc09d73120e2932f1d69be1012560c2f2b543631f1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-1.1.0b1-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 24588093428bf5cd4cb9db7d3a461adacac78c26be61d009576c987dbdf4ad84
MD5 18c64c435b6313ee31a6dea46d5f3e8c
BLAKE2b-256 6c6c6f056fad75a362044427184bf098bf672d27f9f50877958eac48da33d7c1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-1.1.0b1-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 65c85b6573fd15a6a88f8e2d930bc0d4f2337c5751e9b3b382d425c9c2c7a584
MD5 a749bc7d57fb92fe9244b7fd57c710d2
BLAKE2b-256 f2205f8966e826bf81119bf094cf82346e61768e4506d78365c3c28caa913cf2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-1.1.0b1-cp313-cp313-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 0fbec2cef2c9751e91d3afd8df01e224fad81c1bd2948f43cbf94359709d83d0
MD5 b68f58a349ac27262c9c15d1a384b8b3
BLAKE2b-256 bf7d12d2423cbe2196e5132ec0ed09e4f90b3407b2993de4e744ced6ff062687

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-1.1.0b1-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 83e9f763b5225e01502fc59109cb2bbf1d5a4cd981c44dae49760675b09a09f8
MD5 6164a2b7e024b9b795b8baa68abdca71
BLAKE2b-256 b298c9e57b00c3b6adb3a33bde2ca74ec54f3d4432dae31f16f5cbda70473fce

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-1.1.0b1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 e5a8f20dcc68bbe630dae26193c72e1b898a4ad1dfd725f2d492370f71e606a8
MD5 715ba52b185660712ad875ed91a94f3a
BLAKE2b-256 e2d9db1969f2ac269362a61ada09240f68e4de80202f93d1949507a00d7a1c4b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-1.1.0b1-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 c015c5b20b3ef704b0bd1d8367333ab34873ea6da726799141f3121345a0d198
MD5 50d7455c30bd2347993ea66f52fd337d
BLAKE2b-256 bbbb6cc2a6f86e10ad4db1d9a1c6b91f0577d7161c5cfd537275a694e210ba39

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-1.1.0b1-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 13d95c485efc608191410d18c473cf2a47d915b6cf911357712933f27b6fd990
MD5 9b6933cc6af146b068c5046764c272bb
BLAKE2b-256 0a565cca36b594682f60cad35f0d0207043581bd7548595f1f8d3451339e2461

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-1.1.0b1-cp312-cp312-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 81604a2128f00fb8c2b2bd45b8a8cdc460bf0b7f2e705eb1ea2e3775978e6b0f
MD5 2425da8008734aa849e0080e7504475f
BLAKE2b-256 8d11a9843c12846709c88a89d229d60d4a0c3625170d501b4172feede58fac30

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-1.1.0b1-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 c1941276886d6de878a60f76b9d3eb5558658df6ba56746e25b96803880b169d
MD5 83c0da6cd39fee5f9da52d8840e966af
BLAKE2b-256 0eb72a0f59ae21d280cc65118a35b5b248fde9849f94e59f13d7a5465bb0e472

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-1.1.0b1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 6503f36ec30c65f764382300c1ee9478795355a15afe45d1e4174961b87b24db
MD5 997cd68b087a9804fc09988d9bea510f
BLAKE2b-256 e119bb474f0bfd4feb62cbcf5855ae0454f80eef066a2d6ea620d131f10fbaee

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-1.1.0b1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 ecb97d2b0d025dc0bdd313696c807371362f5c3c902866d58783e50aa49439f3
MD5 7c8741a7b476c869ae521ae60ffe4f3f
BLAKE2b-256 860aed4c0351fcf37740f72806c274481fb2b014c19e8cf5609d333545ee61bf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-1.1.0b1-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 1f4921a2092090ae8528d5166765406896122b69da05e6b7c8a8f798b2a7fb25
MD5 910c02ef9fe704fc5753d9cd3ab1a10e
BLAKE2b-256 7459a6d1f6ba89b97069e19ef5804fdb578bdc0384f43f87eda1dcf629bdfabd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-1.1.0b1-cp311-cp311-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 5b23195216211ea458e79b483f63bb0d760239916c68f33e1f7647a20e126ee3
MD5 2e7a4d27866f23903f0e19937947e130
BLAKE2b-256 44c18385c08994db50ce08eb151206692eb7f1685970d6cfbd354a1daf5f17c3

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