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

Uploaded CPython 3.14Windows x86-64

mcp_mesh_core-0.9.10-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.6 MB view details)

Uploaded CPython 3.14manylinux: glibc 2.17+ x86-64

mcp_mesh_core-0.9.10-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (2.2 MB view details)

Uploaded CPython 3.14manylinux: glibc 2.17+ ARM64

mcp_mesh_core-0.9.10-cp314-cp314-macosx_11_0_arm64.whl (2.4 MB view details)

Uploaded CPython 3.14macOS 11.0+ ARM64

mcp_mesh_core-0.9.10-cp314-cp314-macosx_10_12_x86_64.whl (2.5 MB view details)

Uploaded CPython 3.14macOS 10.12+ x86-64

mcp_mesh_core-0.9.10-cp313-cp313-win_amd64.whl (2.4 MB view details)

Uploaded CPython 3.13Windows x86-64

mcp_mesh_core-0.9.10-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.6 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ x86-64

mcp_mesh_core-0.9.10-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (2.2 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ ARM64

mcp_mesh_core-0.9.10-cp313-cp313-macosx_11_0_arm64.whl (2.4 MB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

mcp_mesh_core-0.9.10-cp313-cp313-macosx_10_12_x86_64.whl (2.5 MB view details)

Uploaded CPython 3.13macOS 10.12+ x86-64

mcp_mesh_core-0.9.10-cp312-cp312-win_amd64.whl (2.4 MB view details)

Uploaded CPython 3.12Windows x86-64

mcp_mesh_core-0.9.10-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.6 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

mcp_mesh_core-0.9.10-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (2.2 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ ARM64

mcp_mesh_core-0.9.10-cp312-cp312-macosx_11_0_arm64.whl (2.4 MB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

mcp_mesh_core-0.9.10-cp312-cp312-macosx_10_12_x86_64.whl (2.5 MB view details)

Uploaded CPython 3.12macOS 10.12+ x86-64

mcp_mesh_core-0.9.10-cp311-cp311-win_amd64.whl (2.4 MB view details)

Uploaded CPython 3.11Windows x86-64

mcp_mesh_core-0.9.10-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.6 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

mcp_mesh_core-0.9.10-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (2.2 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ ARM64

mcp_mesh_core-0.9.10-cp311-cp311-macosx_11_0_arm64.whl (2.4 MB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

mcp_mesh_core-0.9.10-cp311-cp311-macosx_10_12_x86_64.whl (2.5 MB view details)

Uploaded CPython 3.11macOS 10.12+ x86-64

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-0.9.10-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 3e9c8a6df8285ee86fe650b44a821fb7f0413bc40a0b30e40c916ef16b468a14
MD5 dd14204b28b4986aece624969984369a
BLAKE2b-256 d3523e91c839753ca5e09ba299313041dcddf1039b72f72516a43489eb3c2331

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-0.9.10-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 e595749ab2c613de2a6f2cef93ed4578faac509ace995e2cfb237802b82a6a4a
MD5 8453e3c0a34136da1658800d9c216b45
BLAKE2b-256 bf56d9140b3baae52472b9fff8629e14833c8fd9cbea900d825f8aa5577444f3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-0.9.10-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 eda7e3c047f1e3a9d1ecc2ae417b3c6ca669312935f36480582908cd08a72492
MD5 bf6792f769bbd6329ad0c43cc1362b3f
BLAKE2b-256 1fb18185e771e6d3edb5616878e47feddbda4687e6ec5bdb152796e6e8d33ccb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-0.9.10-cp314-cp314-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 391be0edc4c6a4d21b9b4417e63b3d295db22ab9557d7dd0c7f20b4ea06872eb
MD5 b93917ba142c99a8ddda0dca78406dec
BLAKE2b-256 17a0090ff5344b639e5bfadef70405eb067ca7804830f284f764f922d7fbe12e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-0.9.10-cp314-cp314-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 d32ae1722b0e46215753de839a0be8999cdba9695fe18c0483edbb7d6a0eadf0
MD5 15a4cb642befcab789d3d120d65662d7
BLAKE2b-256 4ef4b928c7df8f939b76610ca8a534c6b5ce12715b388a7f909ae31abf6918ad

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-0.9.10-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 28ecc4ff30568a1fcc4ff78a787a00171946228291b38d6ddfb3cd61d5155c42
MD5 c7216ef91197bcaff7f018514d20341d
BLAKE2b-256 f9a17d841e510cbd640f3735d2639e73357d0509368fed4965160c4ebe81cd16

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-0.9.10-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 17255c3cc10c56c38e94d2a652fced96fdd4cf822f774458579fc84eb4465fb6
MD5 74bb5a218db78b95c7ae96a682fb0e57
BLAKE2b-256 472dc2b525ebd45483ed2cf7febd07a1bc7be4295651dac1a880cba9ae94c80f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-0.9.10-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 2d7081b1d98cc5147736e73c8db1dcfaf57788ab571b30c532a3b5272843802f
MD5 f34cc0bd85c21eac62d0c64eeb235914
BLAKE2b-256 a1149ef0ae748d29cb2638289abbffa3296fa7f23f9ab488a69a92be6dd7c5d9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-0.9.10-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 794e05dffc8f098d1d683d07b99f477c75e860984f1c5ec21ff04af4523ac0f4
MD5 c80d5407b0f07db111c9ae179df5e1b6
BLAKE2b-256 987c27fa20e22ba4095a309841cc898086df04b7239d5807ff764a6dfe9693a3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-0.9.10-cp313-cp313-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 40309a106e5e4582f7f904e6cce8dca8158d503e6245e60feb826ea4838867dd
MD5 365d2358c72ea547e2fff0bbbbbba188
BLAKE2b-256 0e9feae1afef1a86634700694e716097baec1c0a5810d53442e06341169bdc82

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-0.9.10-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 49f1192a4ab1b6340d13b8c67e73a290be3974d546b303224ff4dbb1cd0fc852
MD5 8dd620655dea6be63a5d0c9f412ecf82
BLAKE2b-256 e23b023fe5a9178240bb070f7b9a6fd5be4a9d70b90c3fd97b37f7a2ac2f24a3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-0.9.10-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 eedf32781405a144737d1b7242a0f7aba08ca974c9c387e670c2b297d112f3eb
MD5 a574a65cf3cc873af368be6d922dd5fe
BLAKE2b-256 2d14ce5795a0c35d4a2c05bf622b570b873e5cf47f7c2438dbcbd76d4ad13d58

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-0.9.10-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 cc668038e53105ccece340a94ebc974853c0aca401c23c6e624d103175ee9a24
MD5 a648fa4a33fd016fd04ec3903053d516
BLAKE2b-256 6f430ff02755c8b090fab1650e5636c5391b4c02be29a323ebeba855e56cf4d4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-0.9.10-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 78a4411458fa5a4b5fa07d516e4ef80be578d3979567556c73ca9638397eb93e
MD5 13c8799923bc62bfe29e4708eebc5146
BLAKE2b-256 77637564e36db93bc0732ed615d1026eea8a52009ba240ecfb8cecc920b931f3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-0.9.10-cp312-cp312-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 98b35e23219e37c6b55151d4c0a8fba7fae1b327b8dc8d35b51c42e6f0f1e767
MD5 9377767fb330e9663ecf4df4ca16830d
BLAKE2b-256 a11156019ea9ce46632e0e2d7ad8a1e2ffe4eb11755aacef57ffb20cf8cf25b5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-0.9.10-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 c9ab6056a6468893bdcb4ad8ac02f38ae0397068fd1074a33b7142cd5382a047
MD5 cf114e9ac74e4358f1fab81a2bb336c6
BLAKE2b-256 c9b6e0b60b4a1218e45b0ea88779c950c83e0e0085da84b573dcee435db3a774

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-0.9.10-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 a64c001d4f74ff3a18347a27a0d2b79caea90e25c74b59133ace38772d449581
MD5 78360de57947d06169e8237d79762828
BLAKE2b-256 3286e3131dadc7ec08348a8333b5f012473ca387c914b0755c1c8f53b7071164

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-0.9.10-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 399f1954f926e74504028084b05d7d9f8d927cf2903c1c71e43f0461b127e569
MD5 263cc9b985e6611904c7da3c1c38384e
BLAKE2b-256 d7b68e3ff59f5345028deac4a076a16e91b2667a2348f0e82f865e8441d283e5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-0.9.10-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 48017dc3ad93e027cdb1bf601ff7d2ce308fc4d1eca926f0dcaff88f640ad7ca
MD5 7b219d62a5c788217a4b51fc1be3a6e7
BLAKE2b-256 94023a510b9ca3c4dc58230e571fca97e24f4fe00a898bb6d1419536f0e40658

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-0.9.10-cp311-cp311-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 ca7869d3e6620f88fb89b4fe48715325edee4806c23877dfd0067ddaad1125b2
MD5 1c9c23a479477733ac21fc42e67b754a
BLAKE2b-256 b52239142ac77633d820554cdcb44706a7ccc3faff8ec94052518910078923ec

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