Submit

FastAPI MCP Server + LangChain Client Example

@SDCalvo

a year ago
developer-tools
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 use the exposed tools.
© 2025 MCP.so. All rights reserved.

Build with ShipAny.