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

Uploaded CPython 3.14Windows x86-64

mcp_mesh_core-0.9.0b10-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.0b10-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.0b10-cp314-cp314-macosx_11_0_arm64.whl (2.3 MB view details)

Uploaded CPython 3.14macOS 11.0+ ARM64

mcp_mesh_core-0.9.0b10-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.0b10-cp313-cp313-win_amd64.whl (2.4 MB view details)

Uploaded CPython 3.13Windows x86-64

mcp_mesh_core-0.9.0b10-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.0b10-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.0b10-cp313-cp313-macosx_11_0_arm64.whl (2.3 MB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

mcp_mesh_core-0.9.0b10-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.0b10-cp312-cp312-win_amd64.whl (2.4 MB view details)

Uploaded CPython 3.12Windows x86-64

mcp_mesh_core-0.9.0b10-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.0b10-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.0b10-cp312-cp312-macosx_11_0_arm64.whl (2.3 MB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

mcp_mesh_core-0.9.0b10-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.0b10-cp311-cp311-win_amd64.whl (2.4 MB view details)

Uploaded CPython 3.11Windows x86-64

mcp_mesh_core-0.9.0b10-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.0b10-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.0b10-cp311-cp311-macosx_11_0_arm64.whl (2.3 MB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

mcp_mesh_core-0.9.0b10-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.0b10-cp314-cp314-win_amd64.whl.

File metadata

File hashes

Hashes for mcp_mesh_core-0.9.0b10-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 37ec517e5f967d1ffec244c449b05c0f73c2510e7027b48b37eecd938db892ea
MD5 b447e2bdfce5f2f4cf5837b56ee76d5c
BLAKE2b-256 b3477d0a7230e1ad9b175f4a9c3be699869397fe245e77b9dee6d1bff90dd3b4

See more details on using hashes here.

File details

Details for the file mcp_mesh_core-0.9.0b10-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for mcp_mesh_core-0.9.0b10-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 5da748025854e1f23361c05e122d32843f5537aaa753a0ce681375ce468ceef8
MD5 6e85a13bcb45fd4b188ba451e7ceb04f
BLAKE2b-256 9e49c0d82c900d64026b1f3ff7054ca4ff59522cf73f5db00a6fe2e061b4fc93

See more details on using hashes here.

File details

Details for the file mcp_mesh_core-0.9.0b10-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for mcp_mesh_core-0.9.0b10-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 6f726f63ee6f7b468374626b7039b0f9defe0e9ca81254629a894c83bce2086a
MD5 1d79828ec28786de3520daeb9cc99911
BLAKE2b-256 7b60e750265ad62b4877fc487c00b11036a905493aaa0413d66e0fdf8cdf807f

See more details on using hashes here.

File details

Details for the file mcp_mesh_core-0.9.0b10-cp314-cp314-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for mcp_mesh_core-0.9.0b10-cp314-cp314-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 dcf2fbd58d666b4a71ef4e7586f717ac8eaaa41fa792acaff30efdea7f40e246
MD5 c8caf2699439e707038ab32fe66d8d44
BLAKE2b-256 6f4d0cf0bab92a0a7fc8eaba41339f6fd8c66cffd1bc7cad35df31afc9722886

See more details on using hashes here.

File details

Details for the file mcp_mesh_core-0.9.0b10-cp314-cp314-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for mcp_mesh_core-0.9.0b10-cp314-cp314-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 092e234dfc6921bfcd0603ca3ec487bf0748ea946ca32c8167f72460d17094da
MD5 04df0eeae0b9e6459396653834b4b65d
BLAKE2b-256 dc72b88a9b642f95b474871a981983ebaaf8821784434d628370cd6f2d31e876

See more details on using hashes here.

File details

Details for the file mcp_mesh_core-0.9.0b10-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for mcp_mesh_core-0.9.0b10-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 5be2e040cd4952bf4f6c3082bf175f948f2695d1484aa14cba6f213f09609934
MD5 ad7e4828b25932aecf8ca2d314cf5313
BLAKE2b-256 de775686a9eff966a91ca5555e43eb7ef710071abf84f0271f4c13041171381a

See more details on using hashes here.

File details

Details for the file mcp_mesh_core-0.9.0b10-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for mcp_mesh_core-0.9.0b10-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 1fef8c6b04030afa1851f0e753222a753ec64b91d9dd2f8fefe6f4374b74eb76
MD5 6b332780da194e91cf2749dda13cf992
BLAKE2b-256 aaebf44ce6831342883da18d1c9b963822d2b48abf1493414ffc0e57a9e30904

See more details on using hashes here.

File details

Details for the file mcp_mesh_core-0.9.0b10-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for mcp_mesh_core-0.9.0b10-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 898c9db84bb38a0d2c981ddf7bac25506dff1ef9e5c07cf1de762f3c775ed629
MD5 1228fa8bb0983c7296b7e6927b0666ba
BLAKE2b-256 5be87f3fdc1699f446a02d21bfad67c19d4277786cbdf166ce3e094006d66d1c

See more details on using hashes here.

File details

Details for the file mcp_mesh_core-0.9.0b10-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for mcp_mesh_core-0.9.0b10-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 318dcb3a0be8c7e23220db12b432e821d907a836c9ff9b5c11218f9317f5b790
MD5 d7282b294ec353858fd789256557a5b3
BLAKE2b-256 44f828bfe5afe97408b8aef1844202a2c53e1e16cf06afeda02cfdf803a3681b

See more details on using hashes here.

File details

Details for the file mcp_mesh_core-0.9.0b10-cp313-cp313-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for mcp_mesh_core-0.9.0b10-cp313-cp313-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 fb1b0997ff13d044b1b30421ddb7a0c75e25e6c544795ccdc117cccc3a12862b
MD5 337b3b663e6df635d377c780c3e5cf45
BLAKE2b-256 9ce68150e70491c55ce2f4882e260ef46970d05dd81cf212bbe19c9eb94238de

See more details on using hashes here.

File details

Details for the file mcp_mesh_core-0.9.0b10-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for mcp_mesh_core-0.9.0b10-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 4ceb34e533922cd7a352adfa91747a7a4da511864258432920bd2097b6c1959f
MD5 4ec410a7a1e996278f68aea2071e0e6b
BLAKE2b-256 b2987fd2be06c152165838b8065bcd915112e84cebe058924bcb82b71f5efffb

See more details on using hashes here.

File details

Details for the file mcp_mesh_core-0.9.0b10-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for mcp_mesh_core-0.9.0b10-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 461273697f601b2b3b4faca0a36839fec639ed6afe277d20b6a76787eee26f91
MD5 7fa077fadfd60828b61f7d34f5e02145
BLAKE2b-256 9d20e8518bd9f991f77e39016dfa74998167090279789e2e7383cb2c8652ded2

See more details on using hashes here.

File details

Details for the file mcp_mesh_core-0.9.0b10-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for mcp_mesh_core-0.9.0b10-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 c6f0da5ac0b462a4ae67abe16a424d96c558c7e9b570eb5c0cf834d3c3c4e271
MD5 cbfbe3b052ac080ccb2564b086b8e896
BLAKE2b-256 67b8e9c322119740c9ed74552790f7f313ded3d44e6bd056ab3409d3390967f2

See more details on using hashes here.

File details

Details for the file mcp_mesh_core-0.9.0b10-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for mcp_mesh_core-0.9.0b10-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 35dfd751df6a9921440d0ac629321b3fc4f55da22748388f5f2b8fc3be476e51
MD5 af0acf46ddb8c39e4b114c2a899c69a1
BLAKE2b-256 cb5ce6599dfb9952ade78fce485be397da767b8f16ae481e702a10f76a1fd7e7

See more details on using hashes here.

File details

Details for the file mcp_mesh_core-0.9.0b10-cp312-cp312-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for mcp_mesh_core-0.9.0b10-cp312-cp312-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 2e9abed46f2420cd01797b133bbb7061de55de086761d89e56fba8cf09477288
MD5 c0008a70ec6563bcfb17b2325b3d3820
BLAKE2b-256 75e563cff548be90b2faf6004ac09e0ebc50c789a83d4199aa4dd953e41b4c90

See more details on using hashes here.

File details

Details for the file mcp_mesh_core-0.9.0b10-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for mcp_mesh_core-0.9.0b10-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 839c765ffde4c07d94995d1322a630411f19ac0abf11687608482dbb02ed59ee
MD5 e3d63c2e9144de19b7bcbb61422a4514
BLAKE2b-256 66e234388950be07fe771f40664844146f3aa97dc615b353672e758cdb13a7bb

See more details on using hashes here.

File details

Details for the file mcp_mesh_core-0.9.0b10-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for mcp_mesh_core-0.9.0b10-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 2b117eeefa5c95b2ff4620c8080a3e46a81e8d9475ce5d61223d916acdc40487
MD5 cf233e98bf9f711b6ae6f4d98dd9f204
BLAKE2b-256 c2b4176ee03606a59f33c019d4a8f834e371d31e6d106299db89917e7e750a8c

See more details on using hashes here.

File details

Details for the file mcp_mesh_core-0.9.0b10-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for mcp_mesh_core-0.9.0b10-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 2c7fc3e1c042c3b8203f29faf76092354fb601782e6ba2cc6c76d76ac104bfa1
MD5 cd5df4143fb05e3ba3f3bdb062293eb8
BLAKE2b-256 e7e025d2b5a77dfcd45630fe275a5f547154544c3f4684435301758c2b6fca82

See more details on using hashes here.

File details

Details for the file mcp_mesh_core-0.9.0b10-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for mcp_mesh_core-0.9.0b10-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 169907d25d3ecf48e2be7cbbe021b628be37cbe562a448bf2e326b5ad0149b6a
MD5 f08072f1182056d86209bae24c423a10
BLAKE2b-256 514b485e559a8cf50c85b7797e8bfc62cd24b3387352c18952b64d72a9235399

See more details on using hashes here.

File details

Details for the file mcp_mesh_core-0.9.0b10-cp311-cp311-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for mcp_mesh_core-0.9.0b10-cp311-cp311-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 b59fb8ba8bfed1ab62f2170a8a4a0ad705dfbfd8120b1aa942c068c8c2271f06
MD5 a1fb4a451a849a7ce151aad13750163e
BLAKE2b-256 f65a1da163a6b76b9d01797a3f04dcfbd1599f0194acf12c0940be6915db81de

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