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

Uploaded CPython 3.14Windows x86-64

mcp_mesh_core-2.0.0b1-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.2 MB view details)

Uploaded CPython 3.14manylinux: glibc 2.17+ x86-64

mcp_mesh_core-2.0.0b1-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (3.7 MB view details)

Uploaded CPython 3.14manylinux: glibc 2.17+ ARM64

mcp_mesh_core-2.0.0b1-cp314-cp314-macosx_11_0_arm64.whl (3.9 MB view details)

Uploaded CPython 3.14macOS 11.0+ ARM64

mcp_mesh_core-2.0.0b1-cp314-cp314-macosx_10_12_x86_64.whl (4.1 MB view details)

Uploaded CPython 3.14macOS 10.12+ x86-64

mcp_mesh_core-2.0.0b1-cp313-cp313-win_amd64.whl (4.0 MB view details)

Uploaded CPython 3.13Windows x86-64

mcp_mesh_core-2.0.0b1-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.2 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ x86-64

mcp_mesh_core-2.0.0b1-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (3.7 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ ARM64

mcp_mesh_core-2.0.0b1-cp313-cp313-macosx_11_0_arm64.whl (3.9 MB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

mcp_mesh_core-2.0.0b1-cp313-cp313-macosx_10_12_x86_64.whl (4.1 MB view details)

Uploaded CPython 3.13macOS 10.12+ x86-64

mcp_mesh_core-2.0.0b1-cp312-cp312-win_amd64.whl (4.0 MB view details)

Uploaded CPython 3.12Windows x86-64

mcp_mesh_core-2.0.0b1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.2 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

mcp_mesh_core-2.0.0b1-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (3.7 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ ARM64

mcp_mesh_core-2.0.0b1-cp312-cp312-macosx_11_0_arm64.whl (3.9 MB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

mcp_mesh_core-2.0.0b1-cp312-cp312-macosx_10_12_x86_64.whl (4.1 MB view details)

Uploaded CPython 3.12macOS 10.12+ x86-64

mcp_mesh_core-2.0.0b1-cp311-cp311-win_amd64.whl (4.0 MB view details)

Uploaded CPython 3.11Windows x86-64

mcp_mesh_core-2.0.0b1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.2 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

mcp_mesh_core-2.0.0b1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (3.7 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ ARM64

mcp_mesh_core-2.0.0b1-cp311-cp311-macosx_11_0_arm64.whl (3.9 MB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

mcp_mesh_core-2.0.0b1-cp311-cp311-macosx_10_12_x86_64.whl (4.1 MB view details)

Uploaded CPython 3.11macOS 10.12+ x86-64

File details

Details for the file mcp_mesh_core-2.0.0b1-cp314-cp314-win_amd64.whl.

File metadata

File hashes

Hashes for mcp_mesh_core-2.0.0b1-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 396424a61c49806c26662ce321cb46adf018588537db6cd0a011ee231c9ee433
MD5 6094b187c010821a387ee4db6e4ae7b0
BLAKE2b-256 c917843c5c117a248ce6c812e5f6be363df1de6f42101859379c0aa22d062d17

See more details on using hashes here.

File details

Details for the file mcp_mesh_core-2.0.0b1-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for mcp_mesh_core-2.0.0b1-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 f53caa5ba856d4defc0956af1b598d387d1305c468de8f02b992f5978ca9570d
MD5 9def3bedfb54dfb6c1a12283c54cf682
BLAKE2b-256 7d7805b83a1149a471e28bcc04cfd42bbcaeaa91eb5aac8f581581d3cea78a0b

See more details on using hashes here.

File details

Details for the file mcp_mesh_core-2.0.0b1-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for mcp_mesh_core-2.0.0b1-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 d30ed5b8beedd1a4066c6afc70a38d4fd4d25ee915518b96e315e39cc4ba3b4d
MD5 d58b3e9579a64464580cd89555001e5e
BLAKE2b-256 4ca9d7cca166b7c42ba3e08e8c5b98fdd15f6dddde99f21301a12434e4c1a278

See more details on using hashes here.

File details

Details for the file mcp_mesh_core-2.0.0b1-cp314-cp314-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for mcp_mesh_core-2.0.0b1-cp314-cp314-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 7650f5d50275002fe98acb5db664e90fdc9f5da1a041186ada39adadc385cf4e
MD5 12d4ceaedb0298654598fccbd57fdfc6
BLAKE2b-256 33ff83e43fd639a881781a8e7ea24176f79e9ca2bde9e855529f9c1c1136eb76

See more details on using hashes here.

File details

Details for the file mcp_mesh_core-2.0.0b1-cp314-cp314-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for mcp_mesh_core-2.0.0b1-cp314-cp314-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 6fd6b936542c936fad50804f2c34fe22b1f729c3a65a5653a9d33592eb7b0a05
MD5 d8b70a34744b33f567310a5a7a1113c8
BLAKE2b-256 ad4b087dcf27a864dc635f297ecfaabcba84c012f24ab8dffd46a5b77f63ed5d

See more details on using hashes here.

File details

Details for the file mcp_mesh_core-2.0.0b1-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for mcp_mesh_core-2.0.0b1-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 d1484c2d18d513325ac64d498d9e3e7cf62081c82be6cecf9f2222c97f8edeeb
MD5 7319535cbe09fe3d451028d9b0a0e3e2
BLAKE2b-256 50b6d623a17f597049bb349cc3e05ae25b634cefbfa24b0ed117fcbb1db12b4f

See more details on using hashes here.

File details

Details for the file mcp_mesh_core-2.0.0b1-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for mcp_mesh_core-2.0.0b1-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 47ca1391a4184ad5d8d0089274c929d01bc2d3f9b88c97232b6dd837542fa9e3
MD5 771a8e4eaeb1cfa965747a883403f2ea
BLAKE2b-256 7a1ba0329801284803c8acb32b26ee8876b2098e3a737add8f55cb6980ca9bf7

See more details on using hashes here.

File details

Details for the file mcp_mesh_core-2.0.0b1-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for mcp_mesh_core-2.0.0b1-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 658c79f5d7e040ed946c28118ce6c8a60b8d3cb94779c30c6573d8d5c12ce6f0
MD5 dbf7a9bc1d879df965c3219228e85ea4
BLAKE2b-256 ec52fc747ca2d4def5342707b1936efab02065542d08b49e143ac59753f5d8f9

See more details on using hashes here.

File details

Details for the file mcp_mesh_core-2.0.0b1-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for mcp_mesh_core-2.0.0b1-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 7ae0c24062d827a7ec115ebd32fbe2e0a1b0b22e2572fbf4ee3555f58e7c867e
MD5 ff2642b2e72411a3ac6c407a7e24375a
BLAKE2b-256 51e24a77775addcdf23deda867ec2b66d93d3ba33e292d28ca31009597a2c43c

See more details on using hashes here.

File details

Details for the file mcp_mesh_core-2.0.0b1-cp313-cp313-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for mcp_mesh_core-2.0.0b1-cp313-cp313-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 859615932317dd457ca41138910e893e72ebbe5655f944683ce04827a3eb4325
MD5 3fb7da6b0bf0a9dd9cc64ac12ac7b020
BLAKE2b-256 a0fb06f2ecb6a0cab2a503b118c4719158dbfb62d1c3b8b2489e823fe64b7caf

See more details on using hashes here.

File details

Details for the file mcp_mesh_core-2.0.0b1-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for mcp_mesh_core-2.0.0b1-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 67f4053f1d8ec46e083d90290b1f5097f85a5e110fff4529d9e5016ab64f44ee
MD5 569eac8812433d367c2a281ac939a0dc
BLAKE2b-256 846c363deddea4b0a35b381204be7867cc8522a159e7e482178d6c8bd5492146

See more details on using hashes here.

File details

Details for the file mcp_mesh_core-2.0.0b1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for mcp_mesh_core-2.0.0b1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 2a088907c862bab3f8e8f3f3c3e4d3b50fc6d827875de64ece634525bf9e5643
MD5 6ba319d451e0b965fb172d5e12e1f7a4
BLAKE2b-256 3e4c31bd3538411d80befd61a66b7e643bd5d561d89b8e7a60856521c6884ca6

See more details on using hashes here.

File details

Details for the file mcp_mesh_core-2.0.0b1-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for mcp_mesh_core-2.0.0b1-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 2a2dac9ec09c46fd24f041a6debc9dc21846439626450fd02892d024d011008b
MD5 ceac76c6795ea41ca26421ef5bdbccbf
BLAKE2b-256 adb984893b0095deff6981084d28f45caf4643c33e656026042e33886866fbfd

See more details on using hashes here.

File details

Details for the file mcp_mesh_core-2.0.0b1-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for mcp_mesh_core-2.0.0b1-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 1df54a55f7feccff760bcb4117e9a69b050e5c597ce4035a840e9a9fa836ce1c
MD5 0534f2a4ad8205d4ee2d4ca3fa6b7973
BLAKE2b-256 5834891b58464052bc083c0143481e7bd4e925bd2d84eb5274399246d22dc944

See more details on using hashes here.

File details

Details for the file mcp_mesh_core-2.0.0b1-cp312-cp312-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for mcp_mesh_core-2.0.0b1-cp312-cp312-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 fbbee6c7a5241e8b81d984ddd73b249432ef06f39bae88f0794cd3efd98e3b7b
MD5 8a86cb4f331af5ab89b0172932e4fa58
BLAKE2b-256 5ba889d2ee3dc87926efcdc33e75bcbd436bc7bb37ef83cd753b119f84aa6a4b

See more details on using hashes here.

File details

Details for the file mcp_mesh_core-2.0.0b1-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for mcp_mesh_core-2.0.0b1-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 8d27aecc371433a6b66bff1d53aeacd3aa249194d7743d5811c799288cccef54
MD5 09c921088a0b3f0b47588978e3b2c142
BLAKE2b-256 d3e84a61b2388258325d9d257d343c04ce3b81e627d175b805167084cc577368

See more details on using hashes here.

File details

Details for the file mcp_mesh_core-2.0.0b1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for mcp_mesh_core-2.0.0b1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 d10a662f4c6887bcf540712282f66c657cd8a8bcfd8c627daf44fc81f719391b
MD5 306fb85daefdf0da97de1fbd0f2a05ea
BLAKE2b-256 0a1a58bcb10e391c5de109581a5746bcaf42e0fd513efb188a869f3738458b69

See more details on using hashes here.

File details

Details for the file mcp_mesh_core-2.0.0b1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for mcp_mesh_core-2.0.0b1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 02d3b0579121d7c4a1b63a5c4e6e7be924d7ab4a964a23989035ca951e6b442b
MD5 368a6b1407bc43c051d2c4e76e200687
BLAKE2b-256 b8a13ee9d0be39b17a3b2ca898d20803b5a7feaf79745a8a1988922eed6e6c6b

See more details on using hashes here.

File details

Details for the file mcp_mesh_core-2.0.0b1-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for mcp_mesh_core-2.0.0b1-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 69e925054ffd1198674a487b3539150442f0d784ff8573902788d361d74786c4
MD5 03701746d4c79cbf6047cee1d04c02be
BLAKE2b-256 e7dbf8e7d7f9a958232fe51b4ebe6ad86dff51189b4cb8ac41a2779d3add4cdb

See more details on using hashes here.

File details

Details for the file mcp_mesh_core-2.0.0b1-cp311-cp311-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for mcp_mesh_core-2.0.0b1-cp311-cp311-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 534809746fc3d56da2463d941c2d722a1dda588a3ff74086d4f6ba8f7a904357
MD5 3d91e565d54401c7555a075d247826ee
BLAKE2b-256 eec2244d11f29ce27fcb7f26ba97671dd619f8d21424cb78639b0f354aa2f6a7

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