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

Uploaded CPython 3.14Windows x86-64

mcp_mesh_core-1.1.0b2-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.2 MB view details)

Uploaded CPython 3.14manylinux: glibc 2.17+ x86-64

mcp_mesh_core-1.1.0b2-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (2.8 MB view details)

Uploaded CPython 3.14manylinux: glibc 2.17+ ARM64

mcp_mesh_core-1.1.0b2-cp314-cp314-macosx_11_0_arm64.whl (2.9 MB view details)

Uploaded CPython 3.14macOS 11.0+ ARM64

mcp_mesh_core-1.1.0b2-cp314-cp314-macosx_10_12_x86_64.whl (3.1 MB view details)

Uploaded CPython 3.14macOS 10.12+ x86-64

mcp_mesh_core-1.1.0b2-cp313-cp313-win_amd64.whl (3.0 MB view details)

Uploaded CPython 3.13Windows x86-64

mcp_mesh_core-1.1.0b2-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.2 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ x86-64

mcp_mesh_core-1.1.0b2-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (2.8 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ ARM64

mcp_mesh_core-1.1.0b2-cp313-cp313-macosx_11_0_arm64.whl (2.9 MB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

mcp_mesh_core-1.1.0b2-cp313-cp313-macosx_10_12_x86_64.whl (3.1 MB view details)

Uploaded CPython 3.13macOS 10.12+ x86-64

mcp_mesh_core-1.1.0b2-cp312-cp312-win_amd64.whl (3.0 MB view details)

Uploaded CPython 3.12Windows x86-64

mcp_mesh_core-1.1.0b2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.2 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

mcp_mesh_core-1.1.0b2-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (2.8 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ ARM64

mcp_mesh_core-1.1.0b2-cp312-cp312-macosx_11_0_arm64.whl (2.9 MB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

mcp_mesh_core-1.1.0b2-cp312-cp312-macosx_10_12_x86_64.whl (3.1 MB view details)

Uploaded CPython 3.12macOS 10.12+ x86-64

mcp_mesh_core-1.1.0b2-cp311-cp311-win_amd64.whl (3.0 MB view details)

Uploaded CPython 3.11Windows x86-64

mcp_mesh_core-1.1.0b2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.2 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

mcp_mesh_core-1.1.0b2-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (2.8 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ ARM64

mcp_mesh_core-1.1.0b2-cp311-cp311-macosx_11_0_arm64.whl (2.9 MB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

mcp_mesh_core-1.1.0b2-cp311-cp311-macosx_10_12_x86_64.whl (3.1 MB view details)

Uploaded CPython 3.11macOS 10.12+ x86-64

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-1.1.0b2-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 2e6da2d854ac4f239c3ac9e75a4b51a9fb4afdd853e3c487f138d10b5a57c05e
MD5 6beac7f1d0dd27e26e95bcf046dfe422
BLAKE2b-256 d73d96760e21bd8c52f24e2654582c04576d4c8a7de2915581c8ad6730ce367a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-1.1.0b2-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 53d0969777a6cefd038fa8b5e43ca73df2dec1e94592218d2b14059ddd851bad
MD5 3685081913b7ce2c64f207349fcf8014
BLAKE2b-256 f0c1f7214804f7c32d4074a599c0d61cd7b1131544c979745d911385349e5e3f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-1.1.0b2-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 f0576c4f6c3a30bae7742e05f1f21a33f50a8ff5b0448fa999b53b3d2b383d79
MD5 18cd87d3d386fcbe274560c9ec05c71c
BLAKE2b-256 5b666faf1649333921569aa0ea8f2fb41b4ddcdb708f53fafc02a095bec742d2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-1.1.0b2-cp314-cp314-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 42d800d5562339071d93a26c13795ebf131cedb2057ac2f5dd7e98782e343c82
MD5 39ea54518ece28a601796ab57b4f4064
BLAKE2b-256 5ab08a33b68c1cdb8844a7e3681ec378f90b4de5febeda47d9e0e940865964d8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-1.1.0b2-cp314-cp314-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 bfd6acf62a307456e075eb7c790539759f628a48b018e0bf6054425482e131f0
MD5 6a197e9a494fe4876d96c51b84cfc9f7
BLAKE2b-256 9e6da724c4cfbda7124846b1884ef4d64f2f9e5fe5bacc17280ba98d88e3f3ad

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-1.1.0b2-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 3028a824d42b3167da1ea97fda68a7ee4fa7e39ed9dccd38f239325d7954f1d7
MD5 b5fd4097ca797656423c491af09570cc
BLAKE2b-256 923c859faa44dbc0dc62980b34b65c85c030d4275d24781318411d4bfe6c74b7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-1.1.0b2-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 8cfae320d7b3310c20c8cdceeb8ed1490684edfe4e1299ec7a7670e9a38cff8d
MD5 1d7d442692d228b787cf3789a99400ef
BLAKE2b-256 676964b57b6e78c804048926b0c3e2dfb28cebdab0bb3240253aa823e96593b0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-1.1.0b2-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 5afaa2c113d79a36b1f1b4fdb2428cb7ed0712cb9fb5d59e995fab865fcf63c2
MD5 13f404361f127da583342f883bac9846
BLAKE2b-256 85659df5b677a258588481623f6aad77643bf0243b2807adfb1ed86488a096fc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-1.1.0b2-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 2e521f9c0314acd161ee70799d533ffea3c2061de7078fc662d2a0fc03d1ac38
MD5 1fd710c99e5b637dc806b46537a72956
BLAKE2b-256 cbb2514db6da46a01188ad7a3581599cc90ab15ff45155f542778c61e5379ce0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-1.1.0b2-cp313-cp313-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 5cef40f219b427fecb73fde2e844cc05771c5117e852a28d7a6872e1b083ff81
MD5 866255dd54134e7b39f26eff9a6003b8
BLAKE2b-256 221466b8fb196d24a046aa4064b223493e01ae9c6524c13a087185d142ae3b66

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-1.1.0b2-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 84af059f5123455bc2546034719e96fb71174f0330d48e6cb364b96d4cd006fa
MD5 f073ef5a0822820757b61ba2aa5f0d2b
BLAKE2b-256 75cc5f43f9da20c393eb5ef49a9bdf7fb8ae46655dc011b12cd50ccbb38ddf2f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-1.1.0b2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 971081d5a51cef2b96869ceeb247270262df6c33e0ca696c673dee1ffef83720
MD5 aac74504d82b9008a2c03a29de483b7c
BLAKE2b-256 8e8ac0f1ba3f5568c961cfd3db85f7184735c6135fc6c3eadaea9519f4b36e77

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-1.1.0b2-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 984c2700cd52e4e19775c5cf7d638b45d5b16f7e2376d2bf263cd97323c57dfa
MD5 fba034945f17f351a824c523b801ea03
BLAKE2b-256 9ec357bd737cfb7a842b3c77a09e3b7d8bf189c2eabceee0ff24682f0edad2eb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-1.1.0b2-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 53c185d6c51926c55caf9d8a3558d97105f25dcce98a6f9e9fd1df650ca599da
MD5 5adcebf4c5ea6aa33faf110872b168f0
BLAKE2b-256 29a5201100a39b5b6105421c22e3ab2ac70d5b7aeeb669e4e9ef3aac28c09fdf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-1.1.0b2-cp312-cp312-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 778a1c1bdf53265b9f2e27d23c7cfda9a3771adc1f8e3548b4bb989b527c84a0
MD5 7955b7b30d483d8fb403daa69baf33bd
BLAKE2b-256 bef5b954ccaffbc60c317004837be462fd39b357ee1aff90ff03694172adbb11

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-1.1.0b2-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 1a42adcb10304d65ac73bfa72ee46829bd8955ede8053f2cfbae3bd940d6f0df
MD5 99cf418a6100f38d6c6cbb8fd41885a1
BLAKE2b-256 4b6095b23c4872165abad9fd36319edae93a6770697e73af687ee6f5cfc49343

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-1.1.0b2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 2a253895f459d9a47c0e1001010dcb531cb5a9b5486f87a036138e3a933c5f61
MD5 0da650565476d574b69163971eabe129
BLAKE2b-256 4a9479f614d7aa82da9d3ae9423c5e0e1ad1cc2fc4481622de053e9aaed0dbaa

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-1.1.0b2-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 30b45b0ccbe6a895f7428c8f2384081e116cc3918431d62f1fc3350f40e89aed
MD5 f0e07bb93999eb59e8e91968a322b5fb
BLAKE2b-256 486638377c43977bda88114ace364b0113dc2e048069d11cda2acb0795bb855a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-1.1.0b2-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 6bad03b6dc66e579f58c9bce99727e0afbaf2c27edfc4af86ae7f692ad9c5760
MD5 43bd288d11d83a179a511f5b005f4334
BLAKE2b-256 54bacaf4425c21ba008a5f4172dc9409ff718bddaf039cbbd40cd1b57163c9ed

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-1.1.0b2-cp311-cp311-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 0d9dc27f037573481f610b496c6384dc4109a659623494e9932018e6a1d1420a
MD5 967b89be0753e867038c83bc675a0adf
BLAKE2b-256 fbb0cbd6d96392ee81e92bc87289dfaa311099de1a22645ccf0ff012ecd08390

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