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

Uploaded CPython 3.14Windows x86-64

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

Uploaded CPython 3.14macOS 11.0+ ARM64

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

Uploaded CPython 3.13Windows x86-64

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

Uploaded CPython 3.13macOS 11.0+ ARM64

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

Uploaded CPython 3.12Windows x86-64

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

Uploaded CPython 3.12macOS 11.0+ ARM64

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

Uploaded CPython 3.11Windows x86-64

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

Uploaded CPython 3.11macOS 11.0+ ARM64

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

File metadata

File hashes

Hashes for mcp_mesh_core-0.9.7-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 312d00eaaa10b6c52f35d6d7c5e581c072e3e7ffb690da1cc8c265586d87bc59
MD5 a1adea47a6b2a69b69094768e86f536d
BLAKE2b-256 adb71d3ea5e263c7279cdea4bebbd51a85dbd604deb3f589c41b10d8e29a07de

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-0.9.7-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 2bfb8904be39ee5a4cf036aad00473bfa7b0cd051e472fbd0671274aaac73840
MD5 d5bcd806c2ff352239830061556d22cd
BLAKE2b-256 c184ddab77347dabd423f86471a71c6c8e94b3d0757569342c84e7b2ffbfcd59

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-0.9.7-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 5e439d4ee12fe5bfa1615d12b26acb9e50299fc4c4a4004a6f357f76042c7ffe
MD5 12fd8f405982dd58b409d918ac9d2b20
BLAKE2b-256 0687f349506fc6d2ae908d83168da0c2febc7e830c234ecd3b98556ef1afbb9b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-0.9.7-cp314-cp314-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 d3113392d0e04d13bab98a4f008adc7d28a9ab6471e27186c65508c64ed54809
MD5 be3257dcb78c6a0171454c5698c4c72f
BLAKE2b-256 2c7aa03f66e5bacd5c496f0415a5731cd01a174e21aea196f70911d4f5bcbd6a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-0.9.7-cp314-cp314-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 b418516f33ab0fda26b5aa5dc7504520ea01fd0a175226ad3089616fb25d459b
MD5 13f8b0b0ed5bde8fd2de06cc1d386bf8
BLAKE2b-256 b12f2998973c691a40eca88102aa3f2d2ade70eb2f29ed894df1686c238a48b8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-0.9.7-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 4933de7eb64766a7b1f65141ace413be56727dc495b7c1fe28dc2551c2462d39
MD5 1a8665861865b1fdd801ea91badbe8eb
BLAKE2b-256 5836c39dc98404d908e18001dd4bc06d0cfbce8f61148937c63d8df2a571b918

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-0.9.7-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 3e31648a6698ac270a19ca10d3b105f131bcf09f987aeb5498fe43e6d2134482
MD5 a3b1f8279d736cb448d981f77c78d598
BLAKE2b-256 8c5df1b86b054d6b1c2372b981ab43918fca5f36dc0f3b84d2b11504de114302

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-0.9.7-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 8f17fb90ecda0f5781e9a3158ed34403867ad85e6fb01fc7783e26ea7f9156c7
MD5 7b5087f402430e8157d94ea307c81353
BLAKE2b-256 f315abb0b85ea6547f6b5622c4052fa29935d7acddcce7b149b2848482ecf8e1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-0.9.7-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 bbccd1b24460d30d8bab04064d736565e31117651fac7bb03174119c68e985e7
MD5 f7c4bef8c9e02f907e5ae1efdc9a45d5
BLAKE2b-256 30823dea7b761930265dbfad3de0aba9107254be1154c01dd611bb35960984fc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-0.9.7-cp313-cp313-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 3447638f282ef3e06e10bada90c2912fae0370bb942517b7bed2ada4fabe08ee
MD5 05bae007cb0b0e3da3613a2e7b2fb205
BLAKE2b-256 fba4249fd6abca5bb10221c38619f73836903ac5247bf0ce6fec475d8fa9323f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-0.9.7-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 c2c9ff7a8d35d3ef2bc6d8eda4c03bc93efef2c70e0849bf73a6779aaae85db5
MD5 1e62b7a0526775a3454bc609c7259679
BLAKE2b-256 ebc41d652ffca685302aac34fc6374574437975abc64a860602c0d57170a9cc2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-0.9.7-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 5845f0d24a1312ab938ae99700a7730233b97e53075076ee60c930a6fc499600
MD5 bda3746cd04c111d3951b2b58697f5ab
BLAKE2b-256 3e3bb4d7abd0e0f90762d86b5755cec505c344296c26fe2576c2c40bca916344

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-0.9.7-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 1200cb787e1817aaf2c1f309089f3382c87875f8487739acd39686c4854bc013
MD5 55ee8eb3b0c2c0802bf822630680a726
BLAKE2b-256 808b31cda2223fe420a0a16c8edc26584fab157b71c53456599b020a3e619f27

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-0.9.7-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 8f62a7e9ad58fcefbb85974649eacac2b45abf6149550a5e3dd441ff81df70f5
MD5 944454e4456a27ee2184303e21fafff5
BLAKE2b-256 3edfc5fdbe2f0ad9d5fe1d374f6625c2d1964680426fde0c2e79be3d23f24ed6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-0.9.7-cp312-cp312-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 6e9ad9989a363a07517f74d349c6aded4529445ac03a0fe9cebc2f6105eed4e7
MD5 2b53f65fc48eba61e0903a36ca5cbc0f
BLAKE2b-256 935fd4437dfcff366d66ad1827290aafdf8366323fc933694c876c08c1430579

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-0.9.7-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 7b5c11dac374566bf2e457b981e34bc73b8dd2a2088256dea253ba99d4371f22
MD5 a78ca8d75ff3dcccc531496c12e837db
BLAKE2b-256 a91639149a9f21b5b062064faf66937e5aa567ccdc22d6d834de3edf120c33ee

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-0.9.7-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 9a66b58680205f25facba867be541db26fc7de2e8df72c2ee5cb6ee31c2d2078
MD5 42335803fa317913d4dba2c64ff8b949
BLAKE2b-256 636ba04b84e637b7eea4b390cac8d615728a4a12995c3b09ffdd3d3fa6e64f91

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-0.9.7-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 6f59d0d137733df680f97a9728926228a16a263137f3129b9638df5abe1b1bfd
MD5 13551355546d5669aa5345924a4eed50
BLAKE2b-256 a5a0f3d82ff41cb9ce88d0a0b0aac2914bb6600f49f46cf7679b9e12ad5975c0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-0.9.7-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 0d153a827b7042ccb9456f5359ec8b8cc068f65e4e7404cf2b2d4a3b9978cca6
MD5 f9a79183d9ad13b4d17e476d5cea4dc6
BLAKE2b-256 29c3126f698a554bd013f393434a07112681c999ae82094a696974e9447c0c59

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-0.9.7-cp311-cp311-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 fd9e93ca8d96fa0d36512e19c374bf12f3d052493025a18bdcae48a838750427
MD5 ca46f08f884a07c60d7646fb0ea58c2f
BLAKE2b-256 6f61edbaa75f37a71759d9be5bc72e80653e7d602475dbf24d4d09221e1115d7

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