Get the FREE Ultimate OpenClaw Setup Guide →

asap-protocol

Production-ready standard for agent-to-agent communication. Stateful orchestration, MCP-compatible, with a public marketplace to discover and register agents.

Installation
Run this command in your terminal to add the MCP server to Claude Code.
Run in terminal:
Command
claude mcp add --transport stdio adriannoes-asap-protocol python -m asap_protocol.server \
  --env ASAP_PROTOCOL_ENV="description or placeholder"

How to use

ASAP Protocol is a production-ready, stateful, MCP-capable communication layer designed for multi-agent coordination. It emphasizes durable task orchestration, artifact exchange, and tool execution within a single envelope, with security features like OAuth2/JWT, Ed25519 signed manifests, and optional mTLS. This MCP server exposes the ASAP protocol tooling to agents and coordinators, enabling decentralized workflows, persistence, and resumability. You can leverage the built-in MCP integration to define and execute tools, manage task state, and trace activity across agents using trace_id and correlation_id for debugging. The ecosystem integrates with OpenClaw, LangChain, CrewAI, and LlamaIndex through adapters and standardized tool-calling schemas, making it suitable for production-grade multi-agent orchestration.

To use the MCP server, run the server component (via the Python module indicated in the configuration) and connect your agents or orchestration services to its endpoints. Agents can perform MCP-based tool execution, stateful task delegation, and artifact exchanges within a unified envelope, benefiting from persistent state, replay protection, and observability features. Reference the documentation for transport, security, and compliance testing guides to implement robust, secure workflows across your agent ecosystem.

How to install

Prerequisites:

  • Python 3.13+ and a modern Python environment
  • Build or runtime environment capable of running Python modules (e.g., uv installed via pip)
  • Network access for dependencies and any required external services

Step-by-step installation:

  1. Create and activate a Python virtual environment (optional but recommended): python -m venv venv source venv/bin/activate # on Unix/macOS .\venv\Scripts\activate # on Windows

  2. Install ASAP Protocol from PyPI: uv install asap-protocol # recommended dependency management approach (via uv)

    or standard Python install if not using uv:

    pip install asap-protocol

  3. Install required runtime for the MCP server (example using the module): pip install asap-protocol

  4. Prepare environment variables and run the server via the MCP entry point described in the README (example): uv run python -m asap_protocol.server

  5. Verify the server is running and reachable via its endpoints, following the project documentation for configuration options and security settings.

Additional notes

Notes and tips:

  • The ASAP Protocol emphasizes stateful orchestration with snapshotting; ensure your environment supports persistent storage if you need resumability.
  • Enable security features (OAuth2/JWT, mTLS) in production to protect inter-agent communications.
  • If you are integrating with MCP tooling, consult the docs for the transport layer, tool execution envelopes, and observability hooks like trace_id and correlation_id.
  • For testing and compliance, use the Compliance Harness and the provided testing guides to validate agent behavior against the protocol specification.
  • When using uv for dependency management, prefer uv add asap-protocol to pin compatible dependencies and isolate environments.

Related MCP Servers

Sponsor this space

Reach thousands of developers