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.0.0b2-cp314-cp314-win_amd64.whl (2.5 MB view details)

Uploaded CPython 3.14Windows x86-64

mcp_mesh_core-1.0.0b2-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-1.0.0b2-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (2.3 MB view details)

Uploaded CPython 3.14manylinux: glibc 2.17+ ARM64

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

Uploaded CPython 3.14macOS 11.0+ ARM64

mcp_mesh_core-1.0.0b2-cp314-cp314-macosx_10_12_x86_64.whl (2.6 MB view details)

Uploaded CPython 3.14macOS 10.12+ x86-64

mcp_mesh_core-1.0.0b2-cp313-cp313-win_amd64.whl (2.5 MB view details)

Uploaded CPython 3.13Windows x86-64

mcp_mesh_core-1.0.0b2-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-1.0.0b2-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (2.3 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ ARM64

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

Uploaded CPython 3.13macOS 11.0+ ARM64

mcp_mesh_core-1.0.0b2-cp313-cp313-macosx_10_12_x86_64.whl (2.6 MB view details)

Uploaded CPython 3.13macOS 10.12+ x86-64

mcp_mesh_core-1.0.0b2-cp312-cp312-win_amd64.whl (2.5 MB view details)

Uploaded CPython 3.12Windows x86-64

mcp_mesh_core-1.0.0b2-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-1.0.0b2-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (2.3 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ ARM64

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

Uploaded CPython 3.12macOS 11.0+ ARM64

mcp_mesh_core-1.0.0b2-cp312-cp312-macosx_10_12_x86_64.whl (2.6 MB view details)

Uploaded CPython 3.12macOS 10.12+ x86-64

mcp_mesh_core-1.0.0b2-cp311-cp311-win_amd64.whl (2.5 MB view details)

Uploaded CPython 3.11Windows x86-64

mcp_mesh_core-1.0.0b2-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-1.0.0b2-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (2.3 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ ARM64

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

Uploaded CPython 3.11macOS 11.0+ ARM64

mcp_mesh_core-1.0.0b2-cp311-cp311-macosx_10_12_x86_64.whl (2.6 MB view details)

Uploaded CPython 3.11macOS 10.12+ x86-64

File details

Details for the file mcp_mesh_core-1.0.0b2-cp314-cp314-win_amd64.whl.

File metadata

File hashes

Hashes for mcp_mesh_core-1.0.0b2-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 d110961b89f588eee29a5461b9682c2599553001e56a3c39c090d8c08fbd89b2
MD5 fe9884a32570e60d91667ec5313922ad
BLAKE2b-256 c9c122a1fca4b31cc29c0e48a304cfa3e6cec8c6ec78f8aedc646540429c2174

See more details on using hashes here.

File details

Details for the file mcp_mesh_core-1.0.0b2-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for mcp_mesh_core-1.0.0b2-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 f77d70c686a0eda3e4664bf21af10fb7c6c639b24d6f9415a82018d344d36bc0
MD5 41e51c5773e3b8595d6450b90116ca7b
BLAKE2b-256 2f5da530869319b721d5d47c7fb941523c8dfd6c95d744176caeea62acbe1c5d

See more details on using hashes here.

File details

Details for the file mcp_mesh_core-1.0.0b2-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for mcp_mesh_core-1.0.0b2-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 b2313ae4bba9a391174d5f7de42c770a175b92a8a1748382e5870e187c438b38
MD5 0ab491c49b006427d8de5c00d8f1d796
BLAKE2b-256 48c9cc1e8a61831e47899087c5b08a9259cec02cddefe970018d81fc7b62139d

See more details on using hashes here.

File details

Details for the file mcp_mesh_core-1.0.0b2-cp314-cp314-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for mcp_mesh_core-1.0.0b2-cp314-cp314-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 48996095015cc0c73e4de7e7d7e965a361dbe56589e0b7091af5bd6dd6f0130e
MD5 18467b57d62271ea1e78acc1e02366b6
BLAKE2b-256 e8f2a5a12b9d906f9546417691bae19e806919b5ecd869c557bdef350c167719

See more details on using hashes here.

File details

Details for the file mcp_mesh_core-1.0.0b2-cp314-cp314-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for mcp_mesh_core-1.0.0b2-cp314-cp314-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 1194edb08e592d2872b25dcad9b9f1147ad467e7289cfe55319d5aac731f2188
MD5 5247ad107e2f90155108af41a3fdd85d
BLAKE2b-256 1943b9c67da7976003a29dc6b9565b0132e63fd48a740306f1b519c6a55a60aa

See more details on using hashes here.

File details

Details for the file mcp_mesh_core-1.0.0b2-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for mcp_mesh_core-1.0.0b2-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 3bed3a035ad57599a6466ae8b5edebad2422d90d877977ca9f012c1fb3565e3b
MD5 257e46480520d28d34d0c0171d451dd3
BLAKE2b-256 dbf4e503b79ed7369b6bae68f32b1c57b7f100f9cdf7ebe65b7a78d8ea5568c9

See more details on using hashes here.

File details

Details for the file mcp_mesh_core-1.0.0b2-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for mcp_mesh_core-1.0.0b2-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 441fc13a5519958683a23152f8571ba335b1cf19cd0d34d86db4901c5b21dcd4
MD5 deec623d010befee6135c56bbe78ea2a
BLAKE2b-256 f9fce824521a799944bfe508923dd26d42d659d60e1ea766da4c9d9b37d737d5

See more details on using hashes here.

File details

Details for the file mcp_mesh_core-1.0.0b2-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for mcp_mesh_core-1.0.0b2-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 cc62f88b40495d85f21a4da735cf84c756071e2f107c6b4e15fcaffa1073e2a4
MD5 032b6c5fbb8f46af2c525c799df017d8
BLAKE2b-256 19c18f8923d5b373a2475057516ce12e27b44f36f9681a329bb67a0a465f4634

See more details on using hashes here.

File details

Details for the file mcp_mesh_core-1.0.0b2-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for mcp_mesh_core-1.0.0b2-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 a6b44949f822868cd501169fdc66f3b216e78c74e68074a401b8f365eee251e8
MD5 48cda12ceaa3426ec59ffbcf644802f0
BLAKE2b-256 0c698caa9679939a40372121bcfe4bbcdd3b6a0d5c37f81cd3da260394d827d3

See more details on using hashes here.

File details

Details for the file mcp_mesh_core-1.0.0b2-cp313-cp313-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for mcp_mesh_core-1.0.0b2-cp313-cp313-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 df254d747b29554cfac57ef35ad13083806054eea17fd4e219f1b1cd00b2270b
MD5 3fe656bd77e412b0f53996326a9d3d72
BLAKE2b-256 c3689ad9c5d39de0bd9a0f779f269dc3723eab5ced488b69907898bc98c827f2

See more details on using hashes here.

File details

Details for the file mcp_mesh_core-1.0.0b2-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for mcp_mesh_core-1.0.0b2-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 3f37ef0d49ae65919da37cea2ed4aa1b98fa389471bf37771cf5feb49ed7bcb0
MD5 aa3a65635d2ea3465055c6091af1ebc7
BLAKE2b-256 6ca4ece6d67f2ce32f516fea896e2bc25c89870fdd1a3de4b9ff00a615803f42

See more details on using hashes here.

File details

Details for the file mcp_mesh_core-1.0.0b2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for mcp_mesh_core-1.0.0b2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 099e4b3df8f414f4be30a49ebed19160b682a8174908a2ad3806827d4c29fa0e
MD5 4c5e2d1705349e8f9ecbb20f1a714763
BLAKE2b-256 bfbab5f6109911c2107b00b946162e4035cc70a45aabf0fc0f33fb426312f120

See more details on using hashes here.

File details

Details for the file mcp_mesh_core-1.0.0b2-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for mcp_mesh_core-1.0.0b2-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 1a7f0d0f61dc9212f317b4beba12100223745e6aafef400283b5a8f8602cb0aa
MD5 01b37550913e71e6edbc8cfe9c0ffee6
BLAKE2b-256 92d6e58a24da0579cf6f0c32e06a87b95a14fe452d992cccf129e62e4f204ff8

See more details on using hashes here.

File details

Details for the file mcp_mesh_core-1.0.0b2-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for mcp_mesh_core-1.0.0b2-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 e727c9ede44abcd8f50e23bf65e4833f45a4a6dc629a186cb825eb88db4f7135
MD5 2e993416c454f3c08b637e9671bcf5e2
BLAKE2b-256 ace29dceba7b89c05f824440437651d7685fa63c44986a942b940932a6a83780

See more details on using hashes here.

File details

Details for the file mcp_mesh_core-1.0.0b2-cp312-cp312-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for mcp_mesh_core-1.0.0b2-cp312-cp312-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 c22c77e0b89af95acfaf8d504d10cdabe11756520644e79f2b586463950f8130
MD5 2f9cb599ce42fe650cfbe82fc48f446e
BLAKE2b-256 4b9036bf4dd82576b3a3e3708f7e0dc4bb66c1fd85a0b62facbdf800dc926b40

See more details on using hashes here.

File details

Details for the file mcp_mesh_core-1.0.0b2-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for mcp_mesh_core-1.0.0b2-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 73ada60826c904974110d628ad84c9a18567fa0a97eb89c20041c6a88c37fbd0
MD5 134fc1e029436031ff58e5eec4cddcad
BLAKE2b-256 75ba22476c78bb95e5ac4de82b102239f3d6a030e0a7b475d9b2ded0fa96aaa8

See more details on using hashes here.

File details

Details for the file mcp_mesh_core-1.0.0b2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for mcp_mesh_core-1.0.0b2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 ae9f2c87952fee49383e5a1aba451f5dd29181f0a3868fcf2841f722cc809194
MD5 14e4380ef05b5133b9dda3fc509b8d1b
BLAKE2b-256 747281d63c8ae99be9f824d5fd18b2f691949539aeeb1d7a64cf7235e5b07df6

See more details on using hashes here.

File details

Details for the file mcp_mesh_core-1.0.0b2-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for mcp_mesh_core-1.0.0b2-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 cceabf724e4eaced89d0c44993e98f4c1e14aaee6a0f879fecd598f726ec88fb
MD5 d81c92e83e306197bb880eceb4012c51
BLAKE2b-256 8d6683c9cd36aa6fe44063bb93eb3af1bdbbd89ce67a47d2372207e79ad868f3

See more details on using hashes here.

File details

Details for the file mcp_mesh_core-1.0.0b2-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for mcp_mesh_core-1.0.0b2-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 b4d00b7b925efd4e4afe33e68cb192b7951aa50a4b52cf733bb73cfc54b5b09f
MD5 4cf191546778fbd1be732f0ac12f1924
BLAKE2b-256 30e0d8e86adc129c46afdf44b978e3fb3003c33278def607325fb96d6e51121c

See more details on using hashes here.

File details

Details for the file mcp_mesh_core-1.0.0b2-cp311-cp311-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for mcp_mesh_core-1.0.0b2-cp311-cp311-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 9d05e4dad9f1fa05c59d645fc57bf7af24232f56aad6316bac41852324fbc9d9
MD5 25d0f4349493ff84eaa43968aedf476e
BLAKE2b-256 1f4f4b1cac08f6b57c8403e029f6610dfde760e4cbbb8415ddb6caf84063cb43

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