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

This version

2.8.1

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

Uploaded CPython 3.14Windows x86-64

mcp_mesh_core-2.8.1-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.4 MB view details)

Uploaded CPython 3.14manylinux: glibc 2.17+ x86-64

mcp_mesh_core-2.8.1-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (3.8 MB view details)

Uploaded CPython 3.14manylinux: glibc 2.17+ ARM64

mcp_mesh_core-2.8.1-cp314-cp314-macosx_11_0_arm64.whl (4.1 MB view details)

Uploaded CPython 3.14macOS 11.0+ ARM64

mcp_mesh_core-2.8.1-cp314-cp314-macosx_10_12_x86_64.whl (4.3 MB view details)

Uploaded CPython 3.14macOS 10.12+ x86-64

mcp_mesh_core-2.8.1-cp313-cp313-win_amd64.whl (4.2 MB view details)

Uploaded CPython 3.13Windows x86-64

mcp_mesh_core-2.8.1-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.4 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ x86-64

mcp_mesh_core-2.8.1-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (3.8 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ ARM64

mcp_mesh_core-2.8.1-cp313-cp313-macosx_11_0_arm64.whl (4.1 MB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

mcp_mesh_core-2.8.1-cp313-cp313-macosx_10_12_x86_64.whl (4.3 MB view details)

Uploaded CPython 3.13macOS 10.12+ x86-64

mcp_mesh_core-2.8.1-cp312-cp312-win_amd64.whl (4.2 MB view details)

Uploaded CPython 3.12Windows x86-64

mcp_mesh_core-2.8.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.4 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

mcp_mesh_core-2.8.1-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (3.8 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ ARM64

mcp_mesh_core-2.8.1-cp312-cp312-macosx_11_0_arm64.whl (4.1 MB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

mcp_mesh_core-2.8.1-cp312-cp312-macosx_10_12_x86_64.whl (4.3 MB view details)

Uploaded CPython 3.12macOS 10.12+ x86-64

mcp_mesh_core-2.8.1-cp311-cp311-win_amd64.whl (4.2 MB view details)

Uploaded CPython 3.11Windows x86-64

mcp_mesh_core-2.8.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.4 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

mcp_mesh_core-2.8.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (3.8 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ ARM64

mcp_mesh_core-2.8.1-cp311-cp311-macosx_11_0_arm64.whl (4.1 MB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

mcp_mesh_core-2.8.1-cp311-cp311-macosx_10_12_x86_64.whl (4.3 MB view details)

Uploaded CPython 3.11macOS 10.12+ x86-64

File details

Details for the file mcp_mesh_core-2.8.1-cp314-cp314-win_amd64.whl.

File metadata

File hashes

Hashes for mcp_mesh_core-2.8.1-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 260832f0c60f70d671a0966dbe93edf79e91924b1bb008b52f688362d1146623
MD5 4a1d93d4d3013115196abf11669462ba
BLAKE2b-256 58b0c4b89a9abe32ccc18f98d6528c1739ef409ed6ab3665fd0a38a8743282df

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-2.8.1-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 f1af382b22f233a49689111c977988e170b80f061f873bf4a69c0a9568931c75
MD5 753671a0fff681a49f02857ca35bc901
BLAKE2b-256 ff220b0cc2cf979e7c2bff643bb57325a24e6758e7c8122b6b7a23c4c7b6c302

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-2.8.1-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 cb45e64c66ee626ccf44e7def028aed5b700d9cc08ce45f6d762c2f8a1054d6d
MD5 aad7a76488bdeb835b45dc4b7c3b2791
BLAKE2b-256 6198e2ddc6a4149ecac47ecee46a635cf715a940924377c562077b6160fec7ac

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-2.8.1-cp314-cp314-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 755962998bbaf8ca8f8773dc4669a371806aa072a0e4cfa67ea30773cc2735d8
MD5 e0e45561d71c7934ee04acb2410fc534
BLAKE2b-256 72702b2c37c3e826c4c6221fe39543c4f577f95d291dc5065d196992edc6d618

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-2.8.1-cp314-cp314-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 fd752c2c93f7a6470cf4b277e7e4cbf7333403ee7994eb24139242649085bfa1
MD5 a452be763408d20f0b1a3cb48e30c361
BLAKE2b-256 6c9dc5fe6c819ef016583472169e1f522d202f303f5de747ca946ab83fc41b64

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-2.8.1-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 aed5f19b6eb101e14dc9045999d30b06e0811c05108e730badd6e7b8a131256b
MD5 4acd503260cdd5f17f9a69c3e56eb549
BLAKE2b-256 7327d61a9955f289ad6121ea718c8b01bc5abf7c7935325f96d8d1dc8892e199

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-2.8.1-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 82ad86bb6e09b2230d88d600c725a95fdbf8f8dfba11abdd81c5bb8eccdd7029
MD5 dc3a10979eb944f90ee5385933d6743c
BLAKE2b-256 99b011ba594c42b0937d3cc317e089047eecb6e1b0209a298d06faf0a57a8d0c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-2.8.1-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 b1b7222fb301185fa7c228f42c0cbc83059cb34e765ebb3c56c574a7281e8efc
MD5 ad925c3df81565d4584426d76ec0f83a
BLAKE2b-256 1b59873ffa51d832500e32530bcbe6d3f388c931bdf1192b0b0e159e0df910bf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-2.8.1-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 9e3c2ce4df89bcf49e4d16f237083b691c968a414b0f5cad2951e4a6a4647155
MD5 e976ea938a769d22bae3ebf1657bffe5
BLAKE2b-256 bea1d32c9804a9c413f41d21ec02ce6a6ac7c64fbd573461000ef3f8b80cce3b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-2.8.1-cp313-cp313-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 1e8e117d565c7493173829d008a047780ec4a8eb52577e0486eb1cb020da400d
MD5 42e7e23ee0a52b306c6755c66b3f82b5
BLAKE2b-256 d30425200aca93a9d20733c787798466858b38ea33ba05fd66c3a694780ee6eb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-2.8.1-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 c2a7bcd51ef096b98bc114ddeb5738e012471929f9d34a57f1da4a1915311c00
MD5 102e5196520dda919520ffb5020a6adf
BLAKE2b-256 e2a7ccf7311e9795e1e31251e9db413e841c3ad47aa44fa55eefca5101aab5e8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-2.8.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 b368b58ea076412100e3f560356e36c29219d3b53e74c53b62d4345687cdba69
MD5 933949f23152c38fcc686db44a59668b
BLAKE2b-256 35295cd38dde7ac785fabd9a76e0b3304183e945451937a943dd3163253c8625

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-2.8.1-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 3df538cfaffd366283007f49c7dafa875fe1bc998558fda3cffbcaa98b455b40
MD5 50bd9bd5a48a9f40fc904912d9438035
BLAKE2b-256 fc719c3fe2cb9dbe83c7fec9c3cf04f39f921b171842b30fb8166370209f195f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-2.8.1-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 0b9f88dd13139df178c1c346873c149b39ecab518ffb7f85d511bf280ea8d3c1
MD5 87c78c8d1131ec31f7615d3588002b33
BLAKE2b-256 39c71f51b147e70dedc8a9dc01e5dee35229ec1648397774ff3c3f207fe42db6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-2.8.1-cp312-cp312-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 cf418c880796be833c2a5ea4d54f2fd5c6b2f10b10a98bb96fe934e721d000d5
MD5 2c0bbc699d687b32d22dc193abfcd765
BLAKE2b-256 46260e544adac5892fdf732060b4dcab114482adc657eb4c04dc26833d5a7fbc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-2.8.1-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 d3e4d2e418c2cf76da1fdf5545b93f6728336e19fc4eee075521d85c20485e40
MD5 c98d1f3b76062f53fc8b8673b6e17069
BLAKE2b-256 bff24c4436c4accebf8635ac21e45209dda2e4ef59bdc28ac194585898743844

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-2.8.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 4e4cf2bb31ac1115eadf8b1158270f1f834541c650c96c6b956b71858efa705a
MD5 52c4529806980c87cb14fb8bd355be9b
BLAKE2b-256 fd0981fc9f778a53eef70fea3145c00ceaac6fc2038f4d5451f90533b6846882

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-2.8.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 00081a7b8d8b150e8f3480d76ab11e9b4ea7d9fccbcab30035c72251911d2b3c
MD5 f5e1eee3c6717e595b9ea38e47e839c6
BLAKE2b-256 0104dad198e84eef3b8f2ecdc2c146835f7a55c1402a649f0c6d57807a9efa83

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-2.8.1-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 3fbb936f8f891c7bca651f10f4ce2169f49cb9a2fa6bceed4ba30d9859e1799d
MD5 2b75121c3ab29a3bac3a4bbc2c6056e8
BLAKE2b-256 47a8781a163a79811a21c17d5e0653a67d8b2944f6674c46a8eed899e7cc056e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-2.8.1-cp311-cp311-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 1e0b1f870adc94681043f6aba56bc76cc0a120398dacb48b584c5d3f7b1d45a6
MD5 c844d23c40588bd2b61dc7053e212b17
BLAKE2b-256 2ae00d4ae85e9a75e81e2049a9b419b2bd1f5b5f3e6349defb8276f68ea3fa55

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