SS

Sse Mcp And Langchain Client Example

Ai Agents
✨ NewAi Agents
3
GitHub Stars

Example project demonstrating how to expose FastAPI endpoints as Model Context Protocol (MCP) tools using `fastapi-mcp`. Includes a basic LangChain agent (`langchain_client.py`) that connects to the local FastAPI server via HTTP/SSE using `langchain-mcp-adapters` to discover and

Installation

⭐ RecommendedUv
uv init # If pyproject.toml doesnt exist
View configuration snippet
{
  "mcpServers": {
    "sse-mcp-and-langchain-client-example": {
      "command": "uv",
      "args": [
        "init",
        "#",
        "If",
        "pyproject.toml",
        "doesnt exist"
      ]
    }
  }
}

💡 Tip: Make sure you have the appropriate package manager installed. Refer to the official documentation for detailed installation instructions.

Compatibility Matrix

Filter:

Cursor

STDIO
stdio:From mcp.so (unverified)

Claude Desktop

STDIO
stdio:From mcp.so (unverified)

MCP Compatible

STDIO
stdio:From mcp.so (unverified)
Verified - Tested by community
Unverified - Not yet tested
⚡ STDIO🌊 SSE🌐 HTTP

Server Information

License:Apache-2.0 license
Classification:active
Source:Data aggregated from public MCP directories

Quick Stats

Transports:
STDIO
Compatible Clients:3
Install Methods:1

Like this server?

Discover more MCP servers or submit your own to directory.