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

0.9.9

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

Uploaded CPython 3.14Windows x86-64

mcp_mesh_core-0.9.9-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.9-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.9-cp314-cp314-macosx_11_0_arm64.whl (2.4 MB view details)

Uploaded CPython 3.14macOS 11.0+ ARM64

mcp_mesh_core-0.9.9-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.9-cp313-cp313-win_amd64.whl (2.4 MB view details)

Uploaded CPython 3.13Windows x86-64

mcp_mesh_core-0.9.9-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.9-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.9-cp313-cp313-macosx_11_0_arm64.whl (2.4 MB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

mcp_mesh_core-0.9.9-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.9-cp312-cp312-win_amd64.whl (2.4 MB view details)

Uploaded CPython 3.12Windows x86-64

mcp_mesh_core-0.9.9-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.9-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.9-cp312-cp312-macosx_11_0_arm64.whl (2.4 MB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

mcp_mesh_core-0.9.9-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.9-cp311-cp311-win_amd64.whl (2.4 MB view details)

Uploaded CPython 3.11Windows x86-64

mcp_mesh_core-0.9.9-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.9-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.9-cp311-cp311-macosx_11_0_arm64.whl (2.4 MB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

mcp_mesh_core-0.9.9-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.9-cp314-cp314-win_amd64.whl.

File metadata

File hashes

Hashes for mcp_mesh_core-0.9.9-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 f8f69e753681487c2a19f0923d97624a95c4581bc9906cc2476078c2522cea87
MD5 389665a2ce5bef42129c7ab4bd2328b1
BLAKE2b-256 63e6ba6da944187ab3bd78862962c075dbec830c3a9dc98008e51b925607bf37

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-0.9.9-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 dbe335584d64b35b3b5e38f602a0cd04c48890c4e5058072b43ae2684e8d6709
MD5 769c27e1d8ef986088f072eaaa7e1dde
BLAKE2b-256 2fe02467bc8a2dd8114d9bd476e51f6113e48f125e370fed42d7432bb4590a85

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-0.9.9-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 4eabe324191a934c0aae19ada14fb9bd6db7e97a347511f30ece7ab3d13d8598
MD5 11ec59c7337fc733509526a5e6fbf0bd
BLAKE2b-256 4ba9233e17b568f41fadb01cf47230625bd3e1d55855cf40f96211463f0185bb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-0.9.9-cp314-cp314-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 3f04e88ceda23141ace91117f5c478e20cf4642b28caf375a3e3bd75572d20c6
MD5 de121d27e97ee032a3ccc427c0e5e479
BLAKE2b-256 4ba4363bf8491ea985acdf92bc5383097e7ed341bad73ee4f9faa8e58dffbb69

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-0.9.9-cp314-cp314-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 53e0daf0261dd00ae8a3772fb8ecd2c5e363518e0785c6e8f0d0fbf8c1f7116d
MD5 8f61e75fcf1bc7414521962a6e9909a9
BLAKE2b-256 e308110f7fcf2c3721de958d056090469b10e88994126a09887d8d61478730c6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-0.9.9-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 1b3da37f2b267e2a47ee0731bb342de7a537339752e6b85fd8779606a95e1469
MD5 ab15ceeba8f8101aad528a02be8d20c4
BLAKE2b-256 e0d9f70cbacd5eb4fe98c7abdd7dfff88185be628d8e6a0599e7b4d5abdd7749

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-0.9.9-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 10aa08e309d3ef9e201081a5dce645299ee1f190c4c4dba6077ca930f7b22ebc
MD5 e0f6dc8d3f5f100fb42cd1206bb7a6ac
BLAKE2b-256 25ff4b4fed90cea6da919460acace2f409e6a2534314152b378f235eba9734ac

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-0.9.9-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 c715e66d3d4214919ac60063d01ffac82804d22b8f0ed5cd8c9e0569aacd7868
MD5 b0c18dbed35eda26bbea2e0e2a2216c1
BLAKE2b-256 e3622c439c867042414616d8b4f77d4842f829efa2e626cf6791847865df1e2d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-0.9.9-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 ccb883b2792360e1c8690771b39ce297f67a488db22fb4d79e990d84eae555a8
MD5 34203a1a88d6981d02137a4cb51205fa
BLAKE2b-256 b18196e7607eda6610b29f767333f8402d2bc5a5e565d5e05ea2cd1895247af0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-0.9.9-cp313-cp313-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 6caab057eb1e576195a5f89f4d0fc6f8dc3ab73c9952fd40a3c02c8eff87e6de
MD5 73142f048195f3ae1cce8b2912e12518
BLAKE2b-256 4fa7b4e46fa5eeb6c88381c6ae181ccfedda482d6d31aab87b291d4e02a38b14

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-0.9.9-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 660bb4346317990666cb54a0a1d511338e784fffa7f8855f842d68ca58756c97
MD5 d2b55807661c8bd2bc6ffea341500e6a
BLAKE2b-256 e61b0352777f6b41c502539c2c4cbd5b9c4d4e1529c03c5acd3c23c18ae978be

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-0.9.9-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 bc7929b89e8e929569d9d1ffc8f975ee63d61cbf9892dfea4951eb3180de774f
MD5 bd644f3872a74bff21bf0440ffaec3c2
BLAKE2b-256 bba34674cd88b251ad65d02ca5318886880b4d07f10c94874f61d4ff94fdd621

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-0.9.9-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 327082fc47fe840955f9bc0a95286e76453abdce6945481773a2878b58121e7f
MD5 9c28948c0d744f7ec58be024254a5fae
BLAKE2b-256 22bc6e3af855a8c29ec65ec4c8a5e0bfe8df0842753e2bbc18c60193587959bd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-0.9.9-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 13f1885947ace96d1f744cf21e06a59ace87a5bdebeb2d3900c806572e4508c7
MD5 64d47a00cbc7bb3623d0d0223966edc6
BLAKE2b-256 65b12e60cbd5f521528a2b63936fd75e7022bf3281b011a4c6f84c1510e2142d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-0.9.9-cp312-cp312-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 6d2c84ab7c39c057b3cab0d320e74beb03cf79010100cee6136a698a3fb716c0
MD5 f556584957db1b4dc70d295a68d3f1a7
BLAKE2b-256 cf59e3a3a37f64f1ecef55bfcdab9e81be0386ff6e24f4d7e60a8a3402610d44

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-0.9.9-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 53db3e672e55dc329a10514e28549a60d06372544d421949db809775cd044c07
MD5 34ab5d5c2299dc9e41bd4205217fdb44
BLAKE2b-256 ced77f07833ab887e606ae9038719e79e1029ac8a1cc49ee634df3dd7bf138f4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-0.9.9-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 39a231aec5255991dcf1039a398267e39e4ddde5b5ad6a33762cf3ccbb44700f
MD5 d87a6eb41521d33d1e1b3c0da9252c44
BLAKE2b-256 08a791a6bab6f10a9b29f69a69d6ac802521393bf7c3e0d15a0a44b86260d038

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-0.9.9-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 42a7d7c33e9d6ec6941a9f652cf846e2fa3ee81de457506fb0e8d81dc54c3bb4
MD5 47cad7ef073c3851b8bd32f21f9d9669
BLAKE2b-256 f4bf3258157d803e1a707e5ecf651749fa4fd7939b5a72cc8f85b29a9ff0fa25

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-0.9.9-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 368491ed5d8b4b2c0a7cf2c44e46b8aab0216a997e4cbe00360b5ddb7712c5d6
MD5 f71e84985086d18f15385795ed40e149
BLAKE2b-256 54b5ada5040e282dc38a5152790072dab30c8aacf850fd0e29a3d165417b0a06

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-0.9.9-cp311-cp311-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 8731a2fa18dd2b252be58635ca8397d3f323cf0ea97037b1aa9e80fd99e6b0ee
MD5 bf972918e875835901955db5dab1d315
BLAKE2b-256 84d8cd829daaa12dded876608b2fa74923df86372ed84fef9302cdb5ef6e37aa

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