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

1.1.0

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

Uploaded CPython 3.14Windows x86-64

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

Uploaded CPython 3.14manylinux: glibc 2.17+ x86-64

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

Uploaded CPython 3.14manylinux: glibc 2.17+ ARM64

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

Uploaded CPython 3.14macOS 11.0+ ARM64

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

Uploaded CPython 3.14macOS 10.12+ x86-64

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

Uploaded CPython 3.13Windows x86-64

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

Uploaded CPython 3.13manylinux: glibc 2.17+ x86-64

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

Uploaded CPython 3.13manylinux: glibc 2.17+ ARM64

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

Uploaded CPython 3.13macOS 11.0+ ARM64

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

Uploaded CPython 3.13macOS 10.12+ x86-64

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

Uploaded CPython 3.12Windows x86-64

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

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

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

Uploaded CPython 3.12manylinux: glibc 2.17+ ARM64

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

Uploaded CPython 3.12macOS 11.0+ ARM64

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

Uploaded CPython 3.12macOS 10.12+ x86-64

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

Uploaded CPython 3.11Windows x86-64

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

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

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

Uploaded CPython 3.11manylinux: glibc 2.17+ ARM64

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

Uploaded CPython 3.11macOS 11.0+ ARM64

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

Uploaded CPython 3.11macOS 10.12+ x86-64

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-1.1.0-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 06354d1205db6e77a6b3f80135747a7a0f711e273a7569918d80edf04bd98fe9
MD5 d9019ab32edf55ba54970dcad4f5a495
BLAKE2b-256 b645c3e6f116c3f53cb9629d79b8161da23ef1eac8068e4dd2399819b509fa22

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-1.1.0-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 567c79cddc3a429f4284435689e52ba9e115928f6ca972b3ba2d6f10305f9578
MD5 0a0a7b045b27e3aafe7bc8979dc0b309
BLAKE2b-256 d76ec5f9513fea3e01f04eac5e2cd5fe5a099be2d932f35a4834060b9824094a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-1.1.0-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 a28e65a563d4603c1cce88e66363396ebbdc33fe2ab920103d5010986b90ec65
MD5 f0ce524787f7b908da5982e3a6c93a71
BLAKE2b-256 b9404d961d3887f9e0350f7bb637ce548678546a0742288bb6baa7f0ffe7f1c6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-1.1.0-cp314-cp314-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 589fff595110010f9b3af1d3e16a704073fe172438fdf8f6d05518bc2899cec1
MD5 1f862650ad55324d6eedd1a70db2722e
BLAKE2b-256 0895431a4c4b56e9a7755caf76ed0bb64edda87c66aca4c361c5d717aa7d70f7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-1.1.0-cp314-cp314-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 3f6d4b030efadad19bcbd155777d3e19da311fc1f92b3b2d6288ff2e48c773be
MD5 cb8f562a35b8e4c65e6ec4b3d2b00a55
BLAKE2b-256 997c50459627f249bcbc2b461a2f5568ef0ce32c2b6517b74c7e58d04ded5efd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-1.1.0-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 a3d02bb5bfc2031942582605012d8a6b6caf96ea0957031df301d419b21095e6
MD5 d07397dfed9aa6f63d6a866edde93cbd
BLAKE2b-256 1d9d419fc133291df873259dbb4435c6a513c8ae7ff6f0f5c982dfadaad54aa1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-1.1.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 c7249099002d54037dd1ac8640e27c8fe23218353e1da72a260f11f8b54e9cbc
MD5 6f4374425848963ba236232aaf168a91
BLAKE2b-256 732b655e8f03160bcf718dfaac3f9eaf09845807bdb0ed78e346b551e6533db6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-1.1.0-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 ca4cb83971a08987b7c6dd9b88fc9f12fd2a6e1dd30e40600ef0269093f9ed58
MD5 87dd7fcbb997d82ca9093337b11f4767
BLAKE2b-256 d74ea6c1e9db039b52c205adc82b12a2776149c1239d0362321c0c3f1e5f0916

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-1.1.0-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 7bdace1f3264f8a427c1e046931d21819f2cd31fafdb4e144287852c550bf84e
MD5 5146dbcbe56a6302919e572fbdfd4376
BLAKE2b-256 0227e6aa1495b577ee08ce66f67aa9a234a6cd9356976a096cec60cdfc486d96

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-1.1.0-cp313-cp313-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 fffc979b420983f3c0cbf5a480ff320ac09c30039ba4c99f6329e5667511c7a7
MD5 b7446acaded3735fca2ae2e5f15dc1b4
BLAKE2b-256 7c7cf4562111096543be548ac34cf61afc05bf57c49907e16278d05e173ca8cd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-1.1.0-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 fc4392f4b905b874149d5804db942c8bf039d221257430f78864195ad23d75d5
MD5 85a9a75956f7f885b1e570c651750124
BLAKE2b-256 a3a6db18b94a7b8918242b8b9a24ee0ba1cb20c0df15bb73f4a05bacb220a0f6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-1.1.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 c6f31783ddf296178cfba14ddb8701bd883d7b224db9aa3cda10398449804f98
MD5 1f1a703dfc5b385f483358a23721c5f0
BLAKE2b-256 71846b39a29494db69781ae9fb9ca76b89b2474d1ad573e49991e730b4dc7b3b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-1.1.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 a580d8ad6324a631efd4ecd44ee26049cf727a34ef2cb12dcb1b6d881ffb4288
MD5 5b774128194f7782c0297d6e476d353f
BLAKE2b-256 366cbf4e003926216da1d67dfe80c3040a4e7092d20c1d37898c470a2bbadc96

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-1.1.0-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 068a29b80b281a6f07c92a200dc527a4be0ee16ddaecd34698bba03938c2bf7b
MD5 634b87903d4ba380437c6b8e483a7d89
BLAKE2b-256 0a8620100f25b89beec8385ea2e9733ce8b2bd90eb5ce94d79b6366578124b1f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-1.1.0-cp312-cp312-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 7183c80ac43c78aa94117e0d087ddb8934291962b96320b829bfce716aa17292
MD5 ef57bf3c2d2f3bae8ea9283352724b74
BLAKE2b-256 23cfd5538a6958bcf7503c972f31621777ac25b67a561c0e466e3f83da9e6faa

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-1.1.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 e031adfabb8cace401ec6c187ea3793b6bfefd7ad41bb6cb4c1636ab11765675
MD5 e20afad0c680e639448ed5670c910fa4
BLAKE2b-256 28be78c449e1d519e6259f528ac30cf6fe9c6d261a5965dd09c76efb8da3a8e0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-1.1.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 9d7344d4881428d32d3663c22d894158d6b347fad1e1337d4f8b5111a19f320c
MD5 48f303c3878ebbe90e1dd51ea28f0150
BLAKE2b-256 66ac04997ecbb7cdabbdfb9e7eb1a8e0f07887e80d175899a1e82085532b05f8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-1.1.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 7622f7a3b73c047347d638a667dd154e4ebe46ff683c6281050865800a9cb535
MD5 1a5e1d33692b1d2f8dd61c1afde60efa
BLAKE2b-256 b264c48fd24414a23699e8ccdc8a0e1eaae2436e5a619db979bdd94429699bbf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-1.1.0-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 ca5364cd13ea26cd33f4942c661f77716fe035e8a3dd279077e947c747d81700
MD5 056c26d2b7129200613035ab6c16cedd
BLAKE2b-256 60efb38dbf1c02288ff4637e161ba05568c77dfc7e00396b4eaba6dcfcd3fd34

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-1.1.0-cp311-cp311-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 a63985805c174af9e182befac49e5afca4ac9b894f97d531375e7a6b304e2436
MD5 2b9e6be9197a54472f37d1c7e9e17273
BLAKE2b-256 58dccc934864377972793d582fc05b7ac825f5a0378c27c174a7f4b5698a7657

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