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 とエージェント」の他のコンテンツ
LinkedIn MCP Server
stickerdanielOpen-source MCP server for LinkedIn. Give Claude and any MCP-compatible AI agent access to profiles, companies, jobs, and messages.
Gemini MCP Server
aliargunMCP server implementation for Google's Gemini API
Mcp Agent
lastmile-aiBuild effective agents using Model Context Protocol and simple workflow patterns
Open Multi-Agent Canvas
CopilotKitThe open-source multi-agent chat interface that lets you manage multiple agents in one dynamic conversation and add MCP servers for deep research
Unreal Engine Generative AI Support Plugin
prajwalshettydevUnreal Engine plugin for LLM/GenAI models & MCP UE5 server. OpenAI GPT-5, Deepseek R1, Claude Opus/Sonnet, Gemini 3, Grok 4, Alibaba Qwen, Kimi, ElevenLabs TTS, Inworld, OpenRouter, Groq, GLM, Ollama, Local, Meshy, Tripo, Hunyuan3D, Rodin, fal, Dashscope, Seedream. NPC AI, agenti
コメント