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
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mcp_mesh_core-1.1.0b6-cp314-cp314-win_amd64.whl.
File metadata
- Download URL: mcp_mesh_core-1.1.0b6-cp314-cp314-win_amd64.whl
- Upload date:
- Size: 3.7 MB
- Tags: CPython 3.14, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
48fad4e122c91edbc8739f17da1e53aac68564151f0d3f6cdf1f0565f5dd8b09
|
|
| MD5 |
a9809caf8093b53d4a55b4d7a8c747cb
|
|
| BLAKE2b-256 |
643859a9d565c7c1195992094993e29fb07f2b134f30d6a58127f3641ffc85a1
|
File details
Details for the file mcp_mesh_core-1.1.0b6-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: mcp_mesh_core-1.1.0b6-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 3.9 MB
- Tags: CPython 3.14, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6d064cd8c6949f5a943e59b223b0601f99e99b1beddf2a470731c74f78a88f4e
|
|
| MD5 |
221a1efbe8f4dee5f22ccb2136fa4f24
|
|
| BLAKE2b-256 |
c7485739c0ca8fc90ee62a9450b4f0af28326251bae4eb14067eb1316ac93788
|
File details
Details for the file mcp_mesh_core-1.1.0b6-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.
File metadata
- Download URL: mcp_mesh_core-1.1.0b6-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
- Upload date:
- Size: 3.4 MB
- Tags: CPython 3.14, manylinux: glibc 2.17+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
37681fabd29a924c6485938502d8b158e8fb53f1caf0082bc368b235ddb31dd0
|
|
| MD5 |
49af60790938691448dfbf375fb6e3af
|
|
| BLAKE2b-256 |
4587a4b71ecf08f290efc52780d5795e70e73a07c219b817d41a19b407e1a113
|
File details
Details for the file mcp_mesh_core-1.1.0b6-cp314-cp314-macosx_11_0_arm64.whl.
File metadata
- Download URL: mcp_mesh_core-1.1.0b6-cp314-cp314-macosx_11_0_arm64.whl
- Upload date:
- Size: 3.6 MB
- Tags: CPython 3.14, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f941c1472ad43ca44d240f8cd5cdacd8316369abdb3765eae8e980bb6f208a45
|
|
| MD5 |
626eb09a5db5f8a6ccd1bfdbb9aab582
|
|
| BLAKE2b-256 |
1818ec8b9987e5ff3882728d4ce066b167b20a77f5b3a0adfa1fd7f383136ea7
|
File details
Details for the file mcp_mesh_core-1.1.0b6-cp314-cp314-macosx_10_12_x86_64.whl.
File metadata
- Download URL: mcp_mesh_core-1.1.0b6-cp314-cp314-macosx_10_12_x86_64.whl
- Upload date:
- Size: 3.8 MB
- Tags: CPython 3.14, macOS 10.12+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
829c358b7e212f2f37ef8aa696cdac6bf15059c1f3c9dd1560a0a89a859f30fd
|
|
| MD5 |
c1a95a55ccdf943f84f7061f4014984a
|
|
| BLAKE2b-256 |
c49194a28456b2d9674123a462bdd8b6a2220335e87bdf6a064b31faca68e9b5
|
File details
Details for the file mcp_mesh_core-1.1.0b6-cp313-cp313-win_amd64.whl.
File metadata
- Download URL: mcp_mesh_core-1.1.0b6-cp313-cp313-win_amd64.whl
- Upload date:
- Size: 3.7 MB
- Tags: CPython 3.13, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6cef3031b6885ce2d729022bc2b7c5bdc887d5695f3e142ad8574e536dcde535
|
|
| MD5 |
2ad9c63df35f248da488fd6cbf4fada9
|
|
| BLAKE2b-256 |
3700d9303d0c50bed91823d8a40715cd369108c8185a6decca46f649c25a7887
|
File details
Details for the file mcp_mesh_core-1.1.0b6-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: mcp_mesh_core-1.1.0b6-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 3.9 MB
- Tags: CPython 3.13, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1e30114862dc85a16e624d2f34d9ccea847b71da031140304eeb1e113b0a2505
|
|
| MD5 |
8908f173410c0818b5060619d60f742b
|
|
| BLAKE2b-256 |
eb5ff831a130fb35f121f0aa3df7084606d193136606a257fcdf1b6a0970bb76
|
File details
Details for the file mcp_mesh_core-1.1.0b6-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.
File metadata
- Download URL: mcp_mesh_core-1.1.0b6-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
- Upload date:
- Size: 3.4 MB
- Tags: CPython 3.13, manylinux: glibc 2.17+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b685c587c01d53f28fdf1a472fcbd2d682ae03314f4992d5e045eb2cb5abfbd7
|
|
| MD5 |
96a830a3527db8e0adef1ac1138ebb20
|
|
| BLAKE2b-256 |
60e9dab71653c0c2b488d012d26ee67ebf401aacad3c37ee556a9e91afb0b23b
|
File details
Details for the file mcp_mesh_core-1.1.0b6-cp313-cp313-macosx_11_0_arm64.whl.
File metadata
- Download URL: mcp_mesh_core-1.1.0b6-cp313-cp313-macosx_11_0_arm64.whl
- Upload date:
- Size: 3.6 MB
- Tags: CPython 3.13, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7f8bf5fa97526423910f6e5a4d775796b926200922f1f860eb971ebc36918445
|
|
| MD5 |
f7ea4cfebf2ae92d667c529119cc61f3
|
|
| BLAKE2b-256 |
2cbcc4e8d464aceb3f9c563021b69d8a464adfb7da112e3a4f569bc18190a4a9
|
File details
Details for the file mcp_mesh_core-1.1.0b6-cp313-cp313-macosx_10_12_x86_64.whl.
File metadata
- Download URL: mcp_mesh_core-1.1.0b6-cp313-cp313-macosx_10_12_x86_64.whl
- Upload date:
- Size: 3.8 MB
- Tags: CPython 3.13, macOS 10.12+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
471ae7aed28a213702d371d549f218f3cb74d5239ddc7df8ba15eac128cf8431
|
|
| MD5 |
bf146ca666b0913bec48e9cf02c0247a
|
|
| BLAKE2b-256 |
9c05a78abfb3bbde1c0b2b53ba07bfa713159d647d8840d44d82f370ca1c53f7
|
File details
Details for the file mcp_mesh_core-1.1.0b6-cp312-cp312-win_amd64.whl.
File metadata
- Download URL: mcp_mesh_core-1.1.0b6-cp312-cp312-win_amd64.whl
- Upload date:
- Size: 3.7 MB
- Tags: CPython 3.12, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ba50ac2826ec7f8d742ab4965762642761dcbf2f6061d92a2feb9d7d5e6c78dc
|
|
| MD5 |
3da5fafa9a47d0afabb8856b495a1325
|
|
| BLAKE2b-256 |
021cf9b112e4befc3b68a3952fea122af87b5085313fa993766c0bc88c66b124
|
File details
Details for the file mcp_mesh_core-1.1.0b6-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: mcp_mesh_core-1.1.0b6-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 3.9 MB
- Tags: CPython 3.12, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f2d2176d19787d26a2dde743046a40005dcbcb97a5140765e2af956b294d1556
|
|
| MD5 |
f05da9705ca2236295eabb4fd06d9e76
|
|
| BLAKE2b-256 |
01628f42dcea2e37f823b5e7a4ddf633ac8d53b8199f3f8c62b21530a3b7ffaf
|
File details
Details for the file mcp_mesh_core-1.1.0b6-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.
File metadata
- Download URL: mcp_mesh_core-1.1.0b6-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
- Upload date:
- Size: 3.4 MB
- Tags: CPython 3.12, manylinux: glibc 2.17+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dd51134d1c6d7f4b3425b40654542b1ba280f485738ca2a79969df5665aa568d
|
|
| MD5 |
af1d0be782abe37532bd5ac8f759061b
|
|
| BLAKE2b-256 |
5ba4758b08566e2b0efa7075c3231202795e87c92ee5bb0fada5c38e4fcfbe3e
|
File details
Details for the file mcp_mesh_core-1.1.0b6-cp312-cp312-macosx_11_0_arm64.whl.
File metadata
- Download URL: mcp_mesh_core-1.1.0b6-cp312-cp312-macosx_11_0_arm64.whl
- Upload date:
- Size: 3.6 MB
- Tags: CPython 3.12, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fff25cc07f1d299db35fa8e4de3ee744f84fd4a3ee0b43a9d906f58f5545bc78
|
|
| MD5 |
a7c2a79cee57ee2ec6add03f635da668
|
|
| BLAKE2b-256 |
437ad9ece2fded187d0ba7dcd442c97b3316ea491bd1227d2267059d84706890
|
File details
Details for the file mcp_mesh_core-1.1.0b6-cp312-cp312-macosx_10_12_x86_64.whl.
File metadata
- Download URL: mcp_mesh_core-1.1.0b6-cp312-cp312-macosx_10_12_x86_64.whl
- Upload date:
- Size: 3.8 MB
- Tags: CPython 3.12, macOS 10.12+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b0578acc419d3e8cb122c0bc71f05920fb09ee18849596d643e52330b9f6622d
|
|
| MD5 |
0e5ed9cb853aa3518c34cf9c8264aa29
|
|
| BLAKE2b-256 |
ba4868217fb36279d49a18a11d786d89eccab059f7e5c3152c926bd078dfe363
|
File details
Details for the file mcp_mesh_core-1.1.0b6-cp311-cp311-win_amd64.whl.
File metadata
- Download URL: mcp_mesh_core-1.1.0b6-cp311-cp311-win_amd64.whl
- Upload date:
- Size: 3.7 MB
- Tags: CPython 3.11, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4e88b623783004c77be4f9427184f4e329878231cdbae7ac0e1311d93d86c904
|
|
| MD5 |
41c541395ca4e28d0b777cde59e6080e
|
|
| BLAKE2b-256 |
799c3503b930eabc8728c09be7859b395702ad13093f8a2d3e6f01b3ed34a821
|
File details
Details for the file mcp_mesh_core-1.1.0b6-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: mcp_mesh_core-1.1.0b6-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 3.9 MB
- Tags: CPython 3.11, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
56c491076d0327a36ca75b833a01b2a6a3de3b03d033f247b4226a57cd7dc546
|
|
| MD5 |
96030940e6abbfdf4045de335859017c
|
|
| BLAKE2b-256 |
622cfe6d3532a8e2790533ddc9ab9c423a8a29100b6db7df4b5fd9e122bf4f3b
|
File details
Details for the file mcp_mesh_core-1.1.0b6-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.
File metadata
- Download URL: mcp_mesh_core-1.1.0b6-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
- Upload date:
- Size: 3.4 MB
- Tags: CPython 3.11, manylinux: glibc 2.17+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
230f65982d8a9bc535436c271887adfc0e180636b631a7ff35509ecc34f419b0
|
|
| MD5 |
26a8119048bed7aac45bba2effd3fdab
|
|
| BLAKE2b-256 |
af03918bf12a70592d54b99cebeee941d0ebeb7863d58832b0e879b8302b8c7c
|
File details
Details for the file mcp_mesh_core-1.1.0b6-cp311-cp311-macosx_11_0_arm64.whl.
File metadata
- Download URL: mcp_mesh_core-1.1.0b6-cp311-cp311-macosx_11_0_arm64.whl
- Upload date:
- Size: 3.6 MB
- Tags: CPython 3.11, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
26f980a8f7006200b371562bbc5a2f6f8e7ef8c0d97ecd570364ae60129ebb87
|
|
| MD5 |
1ad4371a0e7e9355570f5e22a2e079bd
|
|
| BLAKE2b-256 |
80bfe8b6cdeeb754d0b034a19149647e36bbd903a8822bc4d9f3a3bd0a020010
|
File details
Details for the file mcp_mesh_core-1.1.0b6-cp311-cp311-macosx_10_12_x86_64.whl.
File metadata
- Download URL: mcp_mesh_core-1.1.0b6-cp311-cp311-macosx_10_12_x86_64.whl
- Upload date:
- Size: 3.8 MB
- Tags: CPython 3.11, macOS 10.12+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
337d440975d767bf6018825b6bfb379d5bb4621b6ddd237a8b080b00154cdb06
|
|
| MD5 |
78be68c8c286c4541e62aef4bf7fa2db
|
|
| BLAKE2b-256 |
b2617a2ad30f341fc637d4c7c15eee72f14b093e54aca74cc13560a0589d347f
|