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.1

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

Uploaded CPython 3.14Windows x86-64

mcp_mesh_core-0.9.1-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.5 MB view details)

Uploaded CPython 3.14manylinux: glibc 2.17+ x86-64

mcp_mesh_core-0.9.1-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.1-cp314-cp314-macosx_11_0_arm64.whl (2.3 MB view details)

Uploaded CPython 3.14macOS 11.0+ ARM64

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

Uploaded CPython 3.13Windows x86-64

mcp_mesh_core-0.9.1-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.5 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ x86-64

mcp_mesh_core-0.9.1-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.1-cp313-cp313-macosx_11_0_arm64.whl (2.3 MB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

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

Uploaded CPython 3.12Windows x86-64

mcp_mesh_core-0.9.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.5 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

mcp_mesh_core-0.9.1-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.1-cp312-cp312-macosx_11_0_arm64.whl (2.3 MB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

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

Uploaded CPython 3.11Windows x86-64

mcp_mesh_core-0.9.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.5 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

mcp_mesh_core-0.9.1-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.1-cp311-cp311-macosx_11_0_arm64.whl (2.3 MB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

mcp_mesh_core-0.9.1-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.1-cp314-cp314-win_amd64.whl.

File metadata

File hashes

Hashes for mcp_mesh_core-0.9.1-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 bacfbc2c50a1fe554fd2b4a1cbf5964789fc378f6ec20e0fd4fd7176eea5096e
MD5 56d9fa1d4ca8ea8960266f0f18416ad0
BLAKE2b-256 9bcbd36af51861f0380690bf75774dd119938e1333e3bbace46be09e034324b1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-0.9.1-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 95b8fdbdcf927f3b618347cb93a84d0f1845c6457e1e4f7bd83d3de2713a86b9
MD5 179d5256e5600d7b54e1a0f687704915
BLAKE2b-256 ab330f32fc5f25fff134ee08436b40f1522349e88f1abe9613be8740e2dba5c1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-0.9.1-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 a4907e92fa3dcd30f35fd493cf88dcb97785c40d687cc69d9e1d62e12f9e8491
MD5 7a795ad392a977276ce02b341b4ee41b
BLAKE2b-256 8f208d7e5e1bafb5d9522e62b6eb4220da8ec710f22bceb2bdfddf69ea5d48c2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-0.9.1-cp314-cp314-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 cc3c89fa4380b124f3d345db2c450a66a2139540d7056704afb4777c1de588e9
MD5 0fc3a8c2c46a13eaf27b004ef276ad06
BLAKE2b-256 348807687eac9e5a11c6e855b0abde994a861edea1324c7a536131d2556936d8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-0.9.1-cp314-cp314-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 56b69fd28df6cdc6e8491bba4bba8bda70fe23d23ff51ec7da662bb2af76ac08
MD5 4204b6386dfce1f89ef54b3b3afd2e4a
BLAKE2b-256 3859eb9f4a81a242a7e8f151abf23ba9a39dc61635ba73c234924032d2c84c08

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-0.9.1-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 fc16c572d27faff6b67bc013ccb658fef05b4c212ca90f874be0e5e79e3bab49
MD5 4363bfa91eef8812b29e107303d42b93
BLAKE2b-256 f94e2f67d83445c037656f44429eec6b128bc5dfb7bb3eff751b8868b6803e63

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-0.9.1-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 4731c7b013b378f4be289c91f958d8802c168f2a0202d6caa37507439304c572
MD5 51fc56798693bdaae24a0555cf61d9f5
BLAKE2b-256 302c66afac87f35289f7883130cd6967e2980a461acffec913c49437dc574d1a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-0.9.1-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 2d47c69d8f2cd7ed65e64e7abd8a6e9d5b4caf0a464b57631b29c12f7c42610d
MD5 e66108d3475e4e99d7a46016e11d1128
BLAKE2b-256 006cc686a33845bf99ccde79fc8e652072c470af6653f4aeb4275f245646b1d3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-0.9.1-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 316095e294d8526d34b64cef04260b8de080c6d5b4072e11e12e8a87b4dd2a2c
MD5 e0ef45d7f006c10bac82478da0be8858
BLAKE2b-256 abc9e77609651fa112a166e500db2d78c9a39de4e08cc8bf2af27f36f59b1083

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-0.9.1-cp313-cp313-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 d678a216d574b90719a951480efc63e151d3dce10c187cbe9f47f0808fde523c
MD5 5f47d55aa8c4038c1274738082f6e37b
BLAKE2b-256 4c71f9ef77914053b497f483506ae58a003cc4ee6c2ddc2bed4835230336e319

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-0.9.1-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 ac0457e92b0a3348b0cfacf9f68b0d39725d7be78e76d5dfca91f346e2302186
MD5 1954ad4d454b1ea49d766ba5827c2634
BLAKE2b-256 b3841fae9f61e42966b92d7841b92d561d5f05e4c191a4eebc26ebf45fdd77e6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-0.9.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 277af75057a57e1a44363b909bf19591228bba5173323239df1b3c906beb2ce3
MD5 dccda0246a4f35ca75c99ff34de0cf0f
BLAKE2b-256 b818cc0bbcbb43ae17c457f2ff5b52b04a0e161e5879b1efc4a11a4b9be28e2b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-0.9.1-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 970e59e44f1d62bcc18a5cefcad235e44a978d8775756d89decfc249eaf2ff78
MD5 257318b36083232e9901b7051d0093bf
BLAKE2b-256 f6b6af9daac8483f5f30f6c92c457c6dee0d03002ea1ff9a3cece5b70ae8a48d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-0.9.1-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 73f13f1e6c535e9bcba48c7fcd575f65b3aae6ca488b8e2506ed6ce17b69d3c9
MD5 ff66a91609c5d38b5ecdf767d2cc02e7
BLAKE2b-256 847909b154b3420e6257ab7eb22b52f5e0572d721a0d60ccecd3a8a3cc3a6d26

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-0.9.1-cp312-cp312-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 98709e7c00993027788842ec750c5dde033a8c845230f2609ea0a102c07937c6
MD5 0ae0eb745300f24dcef7d009c3d77519
BLAKE2b-256 99f01931a217f649a06a7c80e9875d665a64f95296c1f91685e1b323a09c0a8d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-0.9.1-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 bb9e9f1638632473b43d1aff9f9e975273eb149ce17d4ffe625d9791c36d4b6d
MD5 086f9ba843a68fa7ae690232028285c6
BLAKE2b-256 c0760e48cc0077ca134d8ed29b5e67368e9bc7f21859dd213398803d1c5ceeab

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-0.9.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 ea97110e9294e07f8e409c304ae66858c83f84ca6e82c9c73f391bfce7f1afee
MD5 9853cbcad9e753c0c50e15c8c9ffa8c5
BLAKE2b-256 3768b01b0f17658da7833b404a6413acd727fa070c3b24ca234a5515e49ff893

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-0.9.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 c7a245dbda9d8940370eaf036bb7e1eb11cd088754cb1c82d42b54bf3f32d42d
MD5 fdc94c61d8fda1458a09f5a4d9c325a0
BLAKE2b-256 3e63c2c7e1d8a4054afcb1a6d235ee11b37ec913dcd7f9142cc7831a29bedb5b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-0.9.1-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 e82824a1f6b0f56f5ec28856ff4f8280da5067d0b48ddb0fb653c7e7b460c52a
MD5 c0695cb9ac3e3f06df7fb819c5fb4acd
BLAKE2b-256 3f2d92369a10c27444d072ad970157f7c828592be76dbe5edf933c2b5c4e7df1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-0.9.1-cp311-cp311-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 3586c2394e2f3d9eece1215b912229e2f1d872c9d7c8b719742d48881ccb91c6
MD5 526550e6ff7cd28a6ea264db2cd8bcac
BLAKE2b-256 9d709c5914cef94909fbd1e873f2c9d84405ec6d074b9ba83425120ec06521d8

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