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.2

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

Uploaded CPython 3.14Windows x86-64

mcp_mesh_core-2.8.2-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.2-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.2-cp314-cp314-macosx_11_0_arm64.whl (4.1 MB view details)

Uploaded CPython 3.14macOS 11.0+ ARM64

mcp_mesh_core-2.8.2-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.2-cp313-cp313-win_amd64.whl (4.2 MB view details)

Uploaded CPython 3.13Windows x86-64

mcp_mesh_core-2.8.2-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.2-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.2-cp313-cp313-macosx_11_0_arm64.whl (4.1 MB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

mcp_mesh_core-2.8.2-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.2-cp312-cp312-win_amd64.whl (4.2 MB view details)

Uploaded CPython 3.12Windows x86-64

mcp_mesh_core-2.8.2-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.2-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.2-cp312-cp312-macosx_11_0_arm64.whl (4.1 MB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

mcp_mesh_core-2.8.2-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.2-cp311-cp311-win_amd64.whl (4.2 MB view details)

Uploaded CPython 3.11Windows x86-64

mcp_mesh_core-2.8.2-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.2-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.2-cp311-cp311-macosx_11_0_arm64.whl (4.1 MB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

mcp_mesh_core-2.8.2-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.2-cp314-cp314-win_amd64.whl.

File metadata

File hashes

Hashes for mcp_mesh_core-2.8.2-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 553d8cc526a4e79d8d5b81f2343b7b08f6dc51ad1b759b9202586ca85f1c9bb8
MD5 737a09c40a65e672bb4abf2128444fe7
BLAKE2b-256 ce39b9e5605516fdd793eee447e7cf90c2d0b0eea3db19948c27174e5f6b67ed

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-2.8.2-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 d4ec75ff9eba1918469fadc2571816507a75a6be7d4af7e324fa5574408f77d3
MD5 3a1f007cc2e396454eb9ef0f94aca27b
BLAKE2b-256 d69bb63ee6d62fe7fcd8cfc18114a308a14f9c66c227c40c813b6177d4c9e09d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-2.8.2-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 8da0e22a2724ea71fd30027f4ed4dad526d6f21be6fb77cd465a8e055364732f
MD5 4dc3dcaec23b834674d80e81d9b3c501
BLAKE2b-256 ad0f6aca276e898598b4d3372342b2088e9ad903970343cfd0833bf33f84ebc2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-2.8.2-cp314-cp314-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 19bbe17ba7f655beb171b243707bbecbda552c04d1ba55869f7aab45580c9eb0
MD5 58e6000943f7916a407b8f5272fe2adb
BLAKE2b-256 74e842ccc402a01426642ce14360a1afa0a9833aae5eaf619d37bd23ab50e30c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-2.8.2-cp314-cp314-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 ee6e4f88773e1a60bd9f8242e4f1ae1333d809c46c526883b23606e0f461da0e
MD5 9578bfaaa9fdbecfb21e794d25d2b166
BLAKE2b-256 aeee9ab0db091fce39a9281d248de122a12e9c931422be86ad99bcf4634ceab2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-2.8.2-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 d8e83fffb61d36c89576a439801a82afc22e041ae7785f03496cb88c62a864c4
MD5 25a800b2d345dd39eb3b0ee2764e438d
BLAKE2b-256 9c4182111b004f10b3fb2e8c007d3d6c386dcf4017fd69783a2f34c0d664b952

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-2.8.2-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 d65a5ad770feaeb9b00a303db8004570d2257ee0159c094056a3e5257747fbb9
MD5 ce8d443b5f7163a5ecccc97b71eea786
BLAKE2b-256 6cd97272ef2236508c824f01ec3a09a46bbe04db7c48e9d5dcf8ff07a11e9193

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-2.8.2-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 846b8ac54f6bcd878d7731d6a111979a48be84bdea32ee4b4426a16b4675c734
MD5 9cb99b954cfe76e93b390a2a6827cb6b
BLAKE2b-256 3be222c67097749c6172c39eeb16b5edcd5f54446563a0c1bd60cbbe374383b6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-2.8.2-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 5428fe2264ad978efa8431ad175219c4dde781196bf817bae196cc4a72626cf9
MD5 f9a079358d5c6b361f56c00fe3b437df
BLAKE2b-256 9d46453bb8334e654a800865ce470e51e931fdbd6c9b709c4ba4be52522b07d2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-2.8.2-cp313-cp313-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 e9e756457e939681ed91cca2cf2b7e372cee71a92ba192ae4ff97e3ba3cc8804
MD5 7bd611dbe53338f56b2cdcd2aaf5aac6
BLAKE2b-256 f0e6a01743da71d55c83019cfa70439b294c5cd5c1af20caa17b659c72bdfb7b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-2.8.2-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 4b2805033dd355b4215370f13c313cf366212eace9fd24541e59db7e68bbe3fe
MD5 cd40c33e6e017a0fa862a6807e356415
BLAKE2b-256 348f18be6b125d7c623d31a4e6b4ead588bdcf6c936644d813a73d1cb0dd2561

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-2.8.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 963e1893dbb0146093deb1caf33e9e484edfbb9d70f16bbb84723259f0a16dd4
MD5 e90a94b350c1bb8fde8f9bff43d12879
BLAKE2b-256 d2c050afd6d31a6b23c9d2433289eb1ce4e0abb86a21d293f0e02927150d04cb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-2.8.2-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 6fbf7195fe0662b4ed0d6eeb1a4bd02d949b29d913027f742db2faf82b32b919
MD5 af3dbf9b1e5963317aa073455d45dcb4
BLAKE2b-256 dd080d055a50a630d08c5b82502477c067106268363ec14744ddabaf0f900254

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-2.8.2-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 9cb716ba8b56bdfa39fbc4432e396c779fe93c74c0db75aa08cc20b773a748f5
MD5 40c1d621a77539b69abe40f57badd949
BLAKE2b-256 b86575597adecd26ab2c354fd38b1b39684df560e3fe69235f98e082d5cbf8e1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-2.8.2-cp312-cp312-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 e3130312d32a0851770e3d7499dc9e9fe617d5f957bd78f8ba13f9181ad27c85
MD5 add0af055c45a498d024268a21ca87f1
BLAKE2b-256 5dfbc58850dd3b10162995c7418e2c9cea3a092eadd35acc812797add4b2c60e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-2.8.2-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 7737bc3f9cbd5facf3a6559ae028c2666f05959ff479287dc05cc645250ec67b
MD5 e23a10a968c5b0c6747bae5fa7d9a505
BLAKE2b-256 dc9ed50661d04eb2baa67b9ad7f92ce09df6ff329ce03b00ad19d37697f6f27e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-2.8.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 1b48967cca10159aced233e4c944267f6f6d8af9e0e1e2785a8a2249bde175f4
MD5 fc9fc48e72ebfc91a78009cd36d6d158
BLAKE2b-256 2f61b5ef2c7ac54e7f6ee343d4201d49285e6a72389cbb23940e1e24e59a8432

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-2.8.2-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 955ca050c0582e5fb78c216bb39543ce0282cdfe1742035a3caea57a821e5e22
MD5 47678d5971ae0fbd8f07767a90d6f765
BLAKE2b-256 719e7bbb0f02323f7608f16ace6a9abb5d628e91ae9ec82100a61558a8549e99

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-2.8.2-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 63f654090b347f95fd81c6a3c3cd41b37a46526bde7fad7668a6cf4ae81784b2
MD5 c92c2e27cb395a6e87821b622c71963a
BLAKE2b-256 a57785234e76058f303242ad7e1ea18560fdb7adf0688dcaba04873e532d1d0f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_mesh_core-2.8.2-cp311-cp311-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 3c063ac039afd1f58c84bbdafe2ff0f2bb8283d555d4a788e70e15274ea9864a
MD5 096fd3ccecc6226685b8dc33956550cb
BLAKE2b-256 9e17d4dca141ac0148cf12962304633a394ab3b894c99522117726393361419f

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