Simple MCP Client with LangGraph Agent
@simozampa
Simple MCP Client with LangGraph Agent について
Simple Multi-Server MCP Client with LangChain
基本情報
設定
ツール
ツールは検出されませんでした
ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。
概要
What is Simple MCP Client with LangGraph Agent?
A lightweight implementation of a multiserver MCP (Model Context Protocol) client that uses a LangGraph agent for conversations, built with Express.js and TypeScript.
How to use Simple MCP Client with LangGraph Agent?
Clone the repository, install dependencies with npm install, create a .env file with PORT, NODE_ENV, CORS_ORIGIN, and ANTHROPIC_API_KEY, then build and start using npm run build followed by npm start. Use the /api/chat POST endpoint to send messages and configure MCP servers.
Key features of Simple MCP Client with LangGraph Agent
- Express.js server with TypeScript
- LangGraph agent for handling conversations
- MCP client for tool integration
- Streaming responses
Use cases of Simple MCP Client with LangGraph Agent
- Build a chatbot that can call external MCP tools (e.g., weather services)
- Create an agent that orchestrates multiple MCP servers in a single conversation
- Prototype and test MCP integrations with a streaming LangGraph agent
FAQ from Simple MCP Client with LangGraph Agent
What runtime dependencies does it require?
It requires Node.js, Express.js, TypeScript, the Anthropic SDK (for the LangGraph agent), and MCP client libraries. An Anthropic API key must be set in the .env file.
How does authentication work?
The server uses an optional API key per MCP server, passed in the mcpServers array. No other authentication is enforced; CORS can be configured via the CORS_ORIGIN environment variable.
Where is conversation data stored?
Conversation history is passed in the request body (chatHistory) and managed client-side. The server does not persist any data.
What transport does the API use?
The server exposes standard HTTP endpoints (GET and POST). Streaming responses are supported via the ReadableStream API.
Can I use multiple MCP servers in one request?
Yes, the mcpServers array accepts multiple server objects, each with a name, version, and URL. The LangGraph agent will retrieve tools from all specified servers.
「AI とエージェント」の他のコンテンツ
Model Context Protocol Server for Home Assistant
tevonsbA MCP server for Home Assistant
meGPT - upload an author's content into an LLM
adriancoCode to process many kinds of content by an author into an MCP server
Model Context Protocol for Unreal Engine
chongdashuEnable AI assistant clients like Cursor, Windsurf and Claude Desktop to control Unreal Engine through natural language using the Model Context Protocol (MCP).
Gemini MCP Server
aliargunMCP server implementation for Google's Gemini API
21st.dev Magic AI Agent
21st-devIt's like v0 but in your Cursor/WindSurf/Cline. 21st dev Magic MCP server for working with your frontend like Magic
コメント