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

Uploaded CPython 3.14Windows x86-64

mcp_mesh_core-2.0.0b3-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.2 MB view details)

Uploaded CPython 3.14manylinux: glibc 2.17+ x86-64

mcp_mesh_core-2.0.0b3-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (3.7 MB view details)

Uploaded CPython 3.14manylinux: glibc 2.17+ ARM64

mcp_mesh_core-2.0.0b3-cp314-cp314-macosx_11_0_arm64.whl (3.9 MB view details)

Uploaded CPython 3.14macOS 11.0+ ARM64

mcp_mesh_core-2.0.0b3-cp314-cp314-macosx_10_12_x86_64.whl (4.1 MB view details)

Uploaded CPython 3.14macOS 10.12+ x86-64

mcp_mesh_core-2.0.0b3-cp313-cp313-win_amd64.whl (4.0 MB view details)

Uploaded CPython 3.13Windows x86-64

mcp_mesh_core-2.0.0b3-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.2 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ x86-64

mcp_mesh_core-2.0.0b3-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (3.7 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ ARM64

mcp_mesh_core-2.0.0b3-cp313-cp313-macosx_11_0_arm64.whl (3.9 MB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

mcp_mesh_core-2.0.0b3-cp313-cp313-macosx_10_12_x86_64.whl (4.1 MB view details)

Uploaded CPython 3.13macOS 10.12+ x86-64

mcp_mesh_core-2.0.0b3-cp312-cp312-win_amd64.whl (4.0 MB view details)

Uploaded CPython 3.12Windows x86-64

mcp_mesh_core-2.0.0b3-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.2 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

mcp_mesh_core-2.0.0b3-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (3.7 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ ARM64

mcp_mesh_core-2.0.0b3-cp312-cp312-macosx_11_0_arm64.whl (3.9 MB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

mcp_mesh_core-2.0.0b3-cp312-cp312-macosx_10_12_x86_64.whl (4.1 MB view details)

Uploaded CPython 3.12macOS 10.12+ x86-64

mcp_mesh_core-2.0.0b3-cp311-cp311-win_amd64.whl (4.0 MB view details)

Uploaded CPython 3.11Windows x86-64

mcp_mesh_core-2.0.0b3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.2 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

mcp_mesh_core-2.0.0b3-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (3.7 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ ARM64

mcp_mesh_core-2.0.0b3-cp311-cp311-macosx_11_0_arm64.whl (3.9 MB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

mcp_mesh_core-2.0.0b3-cp311-cp311-macosx_10_12_x86_64.whl (4.1 MB view details)

Uploaded CPython 3.11macOS 10.12+ x86-64

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-2.0.0b3-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 d8f9504a48896db36f6d42df49f5b66407b739634c02d02022f62809f4a40323
MD5 a59d5f174d432c1a6ed0d8e438a2635e
BLAKE2b-256 f0f09350180e065723e6fa30f8cdac845b9e8f0966ba43d8d0c34f777533daaf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-2.0.0b3-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 8c946c8e1ce9ea111687f54bc9be68d27f8f5038931c2158dcc2e662536fdd9f
MD5 78e27e0c4c9a2656d9146fc5639de5c4
BLAKE2b-256 aa5e09ea6ebba4b32d66da97714a6e0031cad53e3a41d80c4cf0389b78a9bc4b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-2.0.0b3-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 1b557804a51eb84f6121b9691bac78c154aa05dd38c3bcfd6498a4e2fca99919
MD5 a06645dd27e809321d7016049932034a
BLAKE2b-256 5df5c00d9394c0ccd168981621271ea110e9b3df8b738386ca0293ac296c1523

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-2.0.0b3-cp314-cp314-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 c505453b66fd147fb78116c6c15672416e670ac53b5de9bf002bfa78fdfe635d
MD5 0a5f064648380fc1b955ffe4dad301f7
BLAKE2b-256 5266e6eabcf7a5a714af84d9f0c51c8c25de57e0e76107d0c19f96e35a1988c2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-2.0.0b3-cp314-cp314-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 e78dd8a8fe6797ce4b5c5faa02a900f7fded24597d97f21364388854e3126b0c
MD5 72ff2f4eccdafa9760bafd8a146b66f0
BLAKE2b-256 2406a06529140b995490607ba539872579c16b41d7b680ffefa4e14afea4f25c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-2.0.0b3-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 4a323348b30d047bae22011c91d3c74eb1ddf54bbb5b6dd20fd2bc05287ed1fa
MD5 78fcc7acd5ec0e0bc63508098f322f79
BLAKE2b-256 1924ada4bbc48bb01fdc7f51ec4d7d826b63b8c95e8053d2b01dc01523b99baf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-2.0.0b3-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 b5cc8221e3e0ef469f1f13943e74f5b7e61e7e66f261e31406acc647904a41e2
MD5 81d9793651b824f4ebbd0257b1d4dfe0
BLAKE2b-256 9023303e3b653d71b0568c3328e55370985fbd561ab2a479cec1a02ebc63786e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-2.0.0b3-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 573fec5b60d906d782ef7d68877ee8f4d32de6403633e43ca7c1596111b76463
MD5 21ab6274e910224396cb94bd6bc20b16
BLAKE2b-256 5a05302bed9c900e16f35d386ff3ad146ff31c434375a392b413886bf5cffe72

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-2.0.0b3-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 ef956324ad8bdb1e8c5f9cf131c0148f0ecbadb5051bc27211dde27cb6aa8c38
MD5 166de37fa7f0aa9a7a82dadfcf713dd9
BLAKE2b-256 dd531d4008f3f1935c07c54562411b443b4d7197b80a8ca4ae4c9ab6e443850d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-2.0.0b3-cp313-cp313-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 d3fb53905077263db7ec0b371c5d4fea4b21555e31e7a04f689407394d91be5a
MD5 0d5ca1fc966c743062ad2daba3d52ab6
BLAKE2b-256 41c2c3b2ade5d435daa7a51beec13c045a6080ac2e85d65f51060887e78d7212

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-2.0.0b3-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 f5dd1e20c7e350bd0b2cf29d4a4dc8866bedc6e466b01aa1ea799221c664e705
MD5 f8c910c6a545c4a998867d5fe4d622ad
BLAKE2b-256 e33a4b935a1610c2c78a77662eb17f326cb35b68808df581380ca7c8b898fdd7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-2.0.0b3-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 03deb3efa6791dc962db89a20561af42a8f3ef61b0283215ba3ed5b7bd49d59c
MD5 6ec9c563f94ebab50c65d26d6d2cbd9d
BLAKE2b-256 a083b997e83b7aeb715e21e0430d77ceb214939df366874898ae9ca97eefda4c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-2.0.0b3-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 8b72ec70134ee48b668224ec4e6d0ab6c1b8ad7a0e66ede3e54769830d1f14b5
MD5 0e831214de7e9b7fc28a40a5bef62f14
BLAKE2b-256 db5c5798bd84fe8ae358a861a354b25422e2744948d207392b25f480c1fc4e0c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-2.0.0b3-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 1940ee7c1c5215be117aed5fa9f3c53cbe0cfb973e96adcd4059b640ff7855ea
MD5 7fce7128d06d8707ea690276c1656c98
BLAKE2b-256 26f259189363de547a0a63e4dd4fea188b8046ab81a4f3c3c6e460bea6720ff0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-2.0.0b3-cp312-cp312-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 8306923115e1525c5c46f055fde1f25e87a8f6b1d78f63304beb29c0052536af
MD5 8359e655d076c0c0f74db02cb6ea681f
BLAKE2b-256 e794ba5da529223e806eab783bc9a1d57de5393b6e9bf822ccbe35435ba55b5b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-2.0.0b3-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 c7edea524ce0630c81a896bb2cf6f4f1e2ed382299b6fc0326c90461a5d3604c
MD5 d4ba735db3828099ed68942224f3e1db
BLAKE2b-256 c825109c9ec81d3f9fb10e724d5f7df328a6d2eab2f2c1be174552fb5118e45d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-2.0.0b3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 9819d09e28c58f8ca57932f92ab31d299e75ba06df16a7f8d4053615abe2a6c7
MD5 0ba5c222d04ab6cfb188f3b1d979eab2
BLAKE2b-256 cf8bb1cdd7709dd41e30b86bef3518fa0fb9b9f3f36ce7e22a2baa9201d3eb3b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-2.0.0b3-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 a99d51bfbf2bc70675943147769937496471e86ae5b96ed924d142578eec1fea
MD5 d937a42d0b1956be6126d23df2be6455
BLAKE2b-256 752a7d16ad8b1418630731630ddbaed05e328e3d3b2a1999289b3bb08c19a0c5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-2.0.0b3-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 e18bb35bf39e96a54209ce2b479c403a857a584c007745cfbe4acc8ce74e42a5
MD5 0f4eb589518a0d432cba15f7f58f85e3
BLAKE2b-256 586bd91e9ff8d1b30ab5a666584885ad68c9e13042a9b1eb50d56adb0bc759e1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-2.0.0b3-cp311-cp311-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 1e486a09b4e577d24f7fe1e4f84bfbb5387de0223f58c4cdc4c3d83b6fb444eb
MD5 b2938120921079ea89c197d690df1635
BLAKE2b-256 6da7946db00df839dc92aa214833708f8a4213f4a66a44490bd0106ffd451524

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