About A2a Reference MCP Bridge
A2a Reference MCP Bridge is an MCP server in the Agents category: a2A ↔ MCP bidirectional protocol adapter.
Install
claude mcp add a2a-reference-mcp-bridge -- npx -y @reaatech/a2a-reference-mcp-bridgenpx -y @reaatech/a2a-reference-mcp-bridgeThis server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.
Ask AI
Ask AI about A2a Reference MCP Bridge
Powered by Claude · Grounded in docs
Security checks
- ✓README presentThe repository ships documentation.
5 checks have not been run yet.
README
a2a-reference-ts
Production-ready TypeScript implementation of the Agent-to-Agent (A2A) protocol, with a bidirectional A2A ↔ MCP bridge.
This monorepo provides canonical types, a server framework, a client SDK, and supporting infrastructure for building interoperable AI agents that communicate over the A2A protocol.
Features
- Canonical types & validation — Zod schemas derived from the A2A protocol specification
- Server framework — Express and Hono adapters with JSON-RPC routing, SSE streaming, and task lifecycle management
- Client SDK — Type-safe agent discovery, task submission, and streaming event consumption
- Authentication — Pluggable strategies including OAuth2, JWT, and API key verification
- Persistence — In-memory and Redis-backed task stores with consistent abstractions
- A2A ↔ MCP bridge — Bidirectional adapter enabling A2A agents to invoke MCP tools and MCP clients to interact with A2A agents
- Observability — Structured logging with Pino, built-in tracing hooks, and Prometheus-compatible metrics endpoints
Installation
Using the packages
Packages are published under the @reaatech scope and can be installed individually:
# Core types and schemas
pnpm add @reaatech/a2a-reference-core
# Server framework
pnpm add @reaatech/a2a-reference-server
# Client SDK
pnpm add @reaatech/a2a-reference-client
# Authentication strategies
pnpm add @reaatech/a2a-reference-auth
# Task persistence
pnpm add @reaatech/a2a-reference-persistence
# A2A ↔ MCP bridge
pnpm add @reaatech/a2a-reference-mcp-bridge
# Observability utilities
pnpm add @reaatech/a2a-reference-observability
Contributing
# Clone the repository
git clone https://github.com/reaatech/a2a-reference-ts.git
cd a2a-reference-ts
# Install dependencies
pnpm install
# Build all packages
pnpm build
# Run the test suite
pnpm test
# Run linting
pnpm lint
Quick Start
Create a minimal A2A agent with the server framework:
import { createA2AServer } from "@reaatech/a2a-reference-server";
import { z } from "zod";
const server = createA2AServer({
name: "greeter",
description: "A simple agent that greets users",
skills: [
{
id: "greet",
name: "Greet User",
description: "Returns a personalized greeting",
parameters: z.object({ name: z.string() }),
handler: async ({ params }) => ({
artifact: {
parts: [{ type: "text", text: `Hello, ${params.name}!` }],
},
}),
},
],
});
server.listen(3000, () => console.log("A2A agent running on :3000"));
See the examples/ directory for complete working samples, including task streaming, multi-agent workflows, MCP bridging, and authenticated agents.
Packages
| Package | Description |
|---|---|
@reaatech/a2a-reference-core |
Canonical A2A types and Zod schemas |
@reaatech/a2a-reference-server |
A2A server framework (Express + Hono) |
@reaatech/a2a-reference-client |
A2A client SDK |
@reaatech/a2a-reference-auth |
Pluggable authentication strategies |
@reaatech/a2a-reference-persistence |
Task store abstractions |
@reaatech/a2a-reference-mcp-bridge |
A2A ↔ MCP bidirectional adapter |
@reaatech/a2a-reference-observability |
Logging, tracing, and metrics |
Documentation
ARCHITECTURE.md— System design, package relationships, and data flowsAGENTS.md— Coding conventions and development guidelinesCONTRIBUTING.md— Contribution workflow and release processdocs/— Deep dives on authentication, deployment, protocol compliance, and the MCP bridge
License
README copy captured when this server was indexed; it may lag the repository. The original is authoritative.