Metadata-Version: 2.3
Name: langchain-mcp
Version: 0.1.0a1
Summary: Model Context Protocol tool calling support for LangChain
Project-URL: Repository, https://github.com/rectalogic/langchain-mcp
Project-URL: Issues, https://github.com/rectalogic/langchain-mcp/issues
Project-URL: Related, https://modelcontextprotocol.io/
Author-email: Andrew Wason <rectalogic@rectalogic.com>
Classifier: License :: OSI Approved :: MIT License
Requires-Python: >=3.10
Requires-Dist: langchain-core~=0.3.21
Requires-Dist: mcp~=1.0.0
Requires-Dist: pydantic~=2.10.2
Requires-Dist: typing-extensions~=4.12.2
Description-Content-Type: text/markdown

# langchain-mcp

[Model Context Protocol](https://modelcontextprotocol.io) tool calling support in LangChain.

Create a `langchain_mcp.MCPToolkit` with an `mcp.ClientSession`,
then `initialize()` it and `get_tools()` to get the list of `langchain_core.tools.BaseTool`s.

Example:

https://github.com/rectalogic/langchain-mcp/blob/8fa8445a24755bf91789f52718c32361ed916f46/tests/demo.py#L34-L43