trackmcp
Back to directory
SDCalvo

sse-mcp-and-langchain-client-example

View on GitHub

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.

2 stars PythonAI & Machine Learning Updated Oct 4, 2025

No README could be loaded. View the project on GitHub for full documentation.

Frequently asked questions

What is sse-mcp-and-langchain-client-example?

sse-mcp-and-langchain-client-example is 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.

How do I install sse-mcp-and-langchain-client-example?

Open the GitHub repository and follow its README. Most MCP servers are added to your client's MCP config, then called by your agent.

Is sse-mcp-and-langchain-client-example open source?

Yes — it is hosted on GitHub at https://github.com/SDCalvo/sse-mcp-and-langchain-client-example and has 2 stars.

Related MCP tools

Run your own MCP server? See who uses it and what to fix.

Measure it with TrackMCP