@agentic-profile/a2a-mcp-express
v0.7.2
Published
A2A (Agent-to-Agent) and MCP Express middleware for AI Agents using A2A, MCP, and the Agentic Profile protocols
Downloads
217
Readme
A2A and MCP client and server libraries
NOTE: This is not a full implementation of MCP and A2A, but instead a "lite" version for local testing and experimentation. This code allows you to experiement with different features and see the data flowing between clients and the server.
Prerequisites
Node.js v22.10.0 or higher
npm v10.28.1 or higher
A Google AI Studio API key from https://aistudio.google.com/api-keys Add this key to the .env file, such as
GEMINI_API_KEY=your-api-keyGit
Install this repo for local testing
git clone [email protected]:agentic-profile/agentic-profile-a2a-mcp-express.gitLocal A2A Testing
- Start the A2A and MCP services
npm install
npm run dev- In a separate terminal, start the A2A client
npm run chat- For verbose debug output, add the -v flag
npm run chat -- --v trueLocal MCP Testing
- Start the A2A and MCP services
npm install
npm run dev- Start the MCP inspector
npx @modelcontextprotocol/inspector- From the MCP inspector running in your browser
- URL: http://localhost:4004/mcp/presence
- Transport Type: Streamable HTTP
- Connection Type: Direct
Then click the "Connect" button
