Discover MCPs & agents
Loading MCPs and agents…
Loading MCPs and agents…
Example repository of how to create an AI agent using LangChain and a remote MCP server
GitHub checked 795h ago - refresh overdue
This repository implements a Model Context Protocol (MCP) agent that can be deployed as a remote service. The agent architecture is designed to work with Cloudflare Workers and integrates with various AI models and services.
The project is organized into several key components:
To run this project, you'll need:
The following environment variables are required:
MOMENTO_API_KEY: API key for Momento cacheANTHROPIC_KEY: API key for Anthropic AI servicesThe agent is designed to be deployed as a Cloudflare Worker. The main entry point is in garden-agent/src/index.ts.
The agent exposes an HTTP endpoint that can be called to interact with the MCP agent. The agent handles requests through the A2A (Agent-to-Agent) server implementation.
// Example of how the agent is initialized
const agentExecutor = new GardenAgent(anthropicApiKey);
const requestHandler = new MomentoRequestHandler(
agentCard,
agentExecutor,
{
cacheName: 'mcp',
momentoApiKey,
waitForAgentOnTaskCancellation: true,
},
);
[Add license information here]
GitHub checked 795h ago - refresh overdue. Recently viewed repositories target hourly refresh.