MCP.so
ログイン

Simple MCP Client with LangGraph Agent

@simozampa

Simple MCP Client with LangGraph Agent について

Simple Multi-Server MCP Client with LangChain

基本情報

カテゴリ

AI とエージェント

ランタイム

node

トランスポート

stdio

公開者

simozampa

設定

標準の設定はありません

このサーバーの README には解析可能な MCP 設定ブロックが含まれていません。インストール手順はリポジトリをご確認ください。

リポジトリ

ツール

ツールは検出されませんでした

ツールは 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 とエージェント」の他のコンテンツ