
langchain-mcp
Model Context Protocol tool support for LangChain
3 years
Works with Finder
3
Github Watches
15
Github Forks
172
Github Stars
langchain-mcp
Note: langchain now has a more official implementation langchain-mcp-adapters
Model Context Protocol tool calling support in LangChain.
Create a langchain_mcp.MCPToolkit
with an mcp.ClientSession
,
then await toolkit.initialize()
and toolkit.get_tools()
to get the list of langchain_core.tools.BaseTool
s.
Example:
Demo
You can run the demo against Groq llama-3.1-8b-instant
:
$ export GROQ_API_KEY=xxx
$ uv run tests/demo.py "Read and summarize the file ./LICENSE"
Secure MCP Filesystem Server running on stdio
Allowed directories: [ '/users/aw/projects/rectalogic/langchain-mcp' ]
The file ./LICENSE is a MIT License agreement. It states that the software is provided "as is" without warranty and that the authors and copyright holders are not liable for any claims, damages, or other liability arising from the software or its use.
相关推荐
I find academic articles and books for research and literature reviews.
Confidential guide on numerology and astrology, based of GG33 Public information
Embark on a thrilling diplomatic quest across a galaxy on the brink of war. Navigate complex politics and alien cultures to forge peace and avert catastrophe in this immersive interstellar adventure.
Converts Figma frames into front-end code for various mobile frameworks.
Advanced software engineer GPT that excels through nailing the basics.
💬 MaxKB is a ready-to-use AI chatbot that integrates Retrieval-Augmented Generation (RAG) pipelines, supports robust workflows, and provides advanced MCP tool-use capabilities.
MCP server to provide Figma layout information to AI coding agents like Cursor
Python code to use the MCP3008 analog to digital converter with a Raspberry Pi or BeagleBone black.
The all-in-one Desktop & Docker AI application with built-in RAG, AI agents, No-code agent builder, MCP compatibility, and more.
Put an end to hallucinations! GitMCP is a free, open-source, remote MCP server for any GitHub project
Reviews

user_RUlanD0b
Langchain-mcp is an outstanding tool for leveraging language models in applications seamlessly. Created by rectalogic, it simplifies the integration process, making it accessible for developers. With a comprehensive repository available on GitHub, it's a go-to resource for anyone serious about enhancing their projects with advanced language capabilities. Highly recommended for its efficiency and ease of use!