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
Metadata
Release files for mcp-mesh-core 3.7.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
Total release size: 83.6 MB
Release files / mcp_mesh_core-3.7.1-cp314-cp314-win_amd64.whl
| Download URL | mcp_mesh_core-3.7.1-cp314-cp314-win_amd64.whl |
|---|---|
| Size | 4.3 MB |
| Tags | CPython 3.14 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
b7de3e5492a0fe449250208686581fa255f29fcdad5117872bb19d833644768a
|
|
BLAKE2b-256 checksum How to use checksums |
997d3aa5a652f8fb9d565073fb413042a86345e8dc57826f5375c09bb2d890cf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / mcp_mesh_core-3.7.1-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | mcp_mesh_core-3.7.1-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 4.4 MB |
| Tags | CPython 3.14 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
7c1f99072b6827abf51f0566a71d119361888fc680ef25446ea4983a98ddf556
|
|
BLAKE2b-256 checksum How to use checksums |
616e272ddec9ba3f7dcdc4a5101a10561cefefea19e26e5c95c542a177d3e989
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / mcp_mesh_core-3.7.1-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
| Download URL | mcp_mesh_core-3.7.1-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl |
|---|---|
| Size | 3.8 MB |
| Tags | CPython 3.14 Linux glibc 2.17+ ARM64 |
|
SHA-256 checksum How to use checksums |
60330c1087b553bde0fb9a149b5b0f11a36c21c32905225b1029e1ff1ffb33e5
|
|
BLAKE2b-256 checksum How to use checksums |
4c29dd539d45009a779c0ef80a1626c907a36c03004d91b944574db750bc34a8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / mcp_mesh_core-3.7.1-cp314-cp314-macosx_11_0_arm64.whl
| Download URL | mcp_mesh_core-3.7.1-cp314-cp314-macosx_11_0_arm64.whl |
|---|---|
| Size | 4.1 MB |
| Tags | CPython 3.14 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
086bb223c918e5b16bae96a612d5f29efbe6f7c377e2f39fecbbf045f3eec31c
|
|
BLAKE2b-256 checksum How to use checksums |
1e20350e30c325831cba748bd6cf09e0e2b926ba15ddbc53a082baf87581947b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / mcp_mesh_core-3.7.1-cp314-cp314-macosx_10_12_x86_64.whl
| Download URL | mcp_mesh_core-3.7.1-cp314-cp314-macosx_10_12_x86_64.whl |
|---|---|
| Size | 4.3 MB |
| Tags | CPython 3.14 macOS 10.12+ x86-64 |
|
SHA-256 checksum How to use checksums |
9732062d3ffeab1c9fefa48030ceb17d5988ed5db7dadf022a6d25a64f96a6ba
|
|
BLAKE2b-256 checksum How to use checksums |
5fd442132c5a0e406de6434e5f8a92cb431f1e58c678328ad626e35d454716e7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / mcp_mesh_core-3.7.1-cp313-cp313-win_amd64.whl
| Download URL | mcp_mesh_core-3.7.1-cp313-cp313-win_amd64.whl |
|---|---|
| Size | 4.3 MB |
| Tags | CPython 3.13 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
b87c198c4b6c2f63f179efa02c1e468ff277b3dfacfd54c0ce7a79ac8d44ac6d
|
|
BLAKE2b-256 checksum How to use checksums |
19c974f6a3f2c690d7dfdf729f5675527b28a5537b1ba797d445e0048cca9a3a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / mcp_mesh_core-3.7.1-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | mcp_mesh_core-3.7.1-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 4.4 MB |
| Tags | CPython 3.13 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
d43850dc4c9fd223766a8a5d8c9f8ebecbb6aa9bf8e3dc92db891def7925d66c
|
|
BLAKE2b-256 checksum How to use checksums |
9a6059f5d1d4d920cbacc5eeda6e9f3f042cb1bd4b2e10d3236472b789215c1c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / mcp_mesh_core-3.7.1-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
| Download URL | mcp_mesh_core-3.7.1-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl |
|---|---|
| Size | 3.8 MB |
| Tags | CPython 3.13 Linux glibc 2.17+ ARM64 |
|
SHA-256 checksum How to use checksums |
b75dbc4c464306545a030f6cd8f72efd1716d0c335eb2867c5d7182dae1b7099
|
|
BLAKE2b-256 checksum How to use checksums |
92a57736010312e36df3aec4b9aa35a6217f8242ef27fae99817fbaffb8e5233
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / mcp_mesh_core-3.7.1-cp313-cp313-macosx_11_0_arm64.whl
| Download URL | mcp_mesh_core-3.7.1-cp313-cp313-macosx_11_0_arm64.whl |
|---|---|
| Size | 4.1 MB |
| Tags | CPython 3.13 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
c6d8a180c4d5032e43fdb6f0c00a1d2ecfaec399f0c55e51d91c1483721f6f66
|
|
BLAKE2b-256 checksum How to use checksums |
6cabc16218b29911adcb1269c60e7f6724c7b94dd4f6b78ea86b160aae74ad00
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / mcp_mesh_core-3.7.1-cp313-cp313-macosx_10_12_x86_64.whl
| Download URL | mcp_mesh_core-3.7.1-cp313-cp313-macosx_10_12_x86_64.whl |
|---|---|
| Size | 4.3 MB |
| Tags | CPython 3.13 macOS 10.12+ x86-64 |
|
SHA-256 checksum How to use checksums |
78cff5811a7693734e1bdefa7f63f6be24ab1d10a5e3ece8f53d0af0931e62e3
|
|
BLAKE2b-256 checksum How to use checksums |
a6cbdb1945b2b16423a8d081fa11cfc3bdf9f3ae1e0106f449b4e4c7cfe319c5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / mcp_mesh_core-3.7.1-cp312-cp312-win_amd64.whl
| Download URL | mcp_mesh_core-3.7.1-cp312-cp312-win_amd64.whl |
|---|---|
| Size | 4.3 MB |
| Tags | CPython 3.12 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
761f1f299759abb886049545f2a9151a0030362d9f448e7d3a8fedd8c0a0037d
|
|
BLAKE2b-256 checksum How to use checksums |
b15e3cac0425053da52f2ae2d5ff51cdea4f6008dc3aac68cdc6dcd01848dc54
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / mcp_mesh_core-3.7.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | mcp_mesh_core-3.7.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 4.4 MB |
| Tags | CPython 3.12 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
13a65931395763e8e617ceb04452ff90e5d40dd10078debbe2ff87734aa312e9
|
|
BLAKE2b-256 checksum How to use checksums |
2778b960fe0f17bfc2c78ab4e40ab23f363480f28655dadbe2b72a37b1f3ff3d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / mcp_mesh_core-3.7.1-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
| Download URL | mcp_mesh_core-3.7.1-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl |
|---|---|
| Size | 3.8 MB |
| Tags | CPython 3.12 Linux glibc 2.17+ ARM64 |
|
SHA-256 checksum How to use checksums |
5342b4390d7d9c0609fd25effc6fdb78ad095850319e59f5246a6bde88e1dfd1
|
|
BLAKE2b-256 checksum How to use checksums |
69e97d3e6ffddac0bbe9af159ddce8638c6e308f88d1105874a4ed08289bacf0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / mcp_mesh_core-3.7.1-cp312-cp312-macosx_11_0_arm64.whl
| Download URL | mcp_mesh_core-3.7.1-cp312-cp312-macosx_11_0_arm64.whl |
|---|---|
| Size | 4.1 MB |
| Tags | CPython 3.12 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
8f58fdc2d3de50effa3ce1ddd75541ca8bfc4b428afd0d5f19eb1ad661cee3ad
|
|
BLAKE2b-256 checksum How to use checksums |
76caa8e213b431ce4c59104c45d1d63659c5be5512260f7016f96ed0726ebef5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / mcp_mesh_core-3.7.1-cp312-cp312-macosx_10_12_x86_64.whl
| Download URL | mcp_mesh_core-3.7.1-cp312-cp312-macosx_10_12_x86_64.whl |
|---|---|
| Size | 4.3 MB |
| Tags | CPython 3.12 macOS 10.12+ x86-64 |
|
SHA-256 checksum How to use checksums |
2c5ceaeb73a5e77f273c3fc62605bdd1942c003704b3568e1a46eba11340b2c6
|
|
BLAKE2b-256 checksum How to use checksums |
f37389f70ce07f9343706ed9f75c5f6c99b7138a585fc6cb972586a903eb2a85
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / mcp_mesh_core-3.7.1-cp311-cp311-win_amd64.whl
| Download URL | mcp_mesh_core-3.7.1-cp311-cp311-win_amd64.whl |
|---|---|
| Size | 4.3 MB |
| Tags | CPython 3.11 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
cfeda7a249a7868b09f94bf6a8f915967acef9543bea14609d8ac346b65b7631
|
|
BLAKE2b-256 checksum How to use checksums |
48f2eb861d0ef8146d0a43500b1dc3365a36ab0a63f5913a5fb7d3ef8a60a6a8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / mcp_mesh_core-3.7.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | mcp_mesh_core-3.7.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 4.4 MB |
| Tags | CPython 3.11 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
14ab3c9f38a5dc7b5c2d1fd9b46d207fc1a17d62d3c9cd55beefca487a1ac626
|
|
BLAKE2b-256 checksum How to use checksums |
96ab41eec9a87d3659661c84e1450f268c1a37150b085cc6a405b42992984c1a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / mcp_mesh_core-3.7.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
| Download URL | mcp_mesh_core-3.7.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl |
|---|---|
| Size | 3.8 MB |
| Tags | CPython 3.11 Linux glibc 2.17+ ARM64 |
|
SHA-256 checksum How to use checksums |
73869b7c936e3b54e9b2deb56facaa39440664b669f86532f3850b45dcd7fccb
|
|
BLAKE2b-256 checksum How to use checksums |
852ea0f0963dc8f1bc8ef58643f22ec9857f6799fe372b134cd14b4f921d8f9d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / mcp_mesh_core-3.7.1-cp311-cp311-macosx_11_0_arm64.whl
| Download URL | mcp_mesh_core-3.7.1-cp311-cp311-macosx_11_0_arm64.whl |
|---|---|
| Size | 4.1 MB |
| Tags | CPython 3.11 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
c8db52dd92f86a0e01fd203c86f57ff06cc5508c5cc242c50a31bd0772a47013
|
|
BLAKE2b-256 checksum How to use checksums |
f500d2e6b0accf662964dafcfc0467a28e915d5b867ee5bb12a22f614082899f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / mcp_mesh_core-3.7.1-cp311-cp311-macosx_10_12_x86_64.whl
| Download URL | mcp_mesh_core-3.7.1-cp311-cp311-macosx_10_12_x86_64.whl |
|---|---|
| Size | 4.3 MB |
| Tags | CPython 3.11 macOS 10.12+ x86-64 |
|
SHA-256 checksum How to use checksums |
a3442c51e5d7ed20aab883d9ad3fd94f2fad6bfa4b865c5beaeabe8dcd10d1f8
|
|
BLAKE2b-256 checksum How to use checksums |
7af80b0f171b90d7f6d7ea3e993a12e955eeb0882e1a735f31ac4acb2586e552
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|