1. Conduid
  2. AI
  3. Langchain MCP
MCP server · AI

Langchain MCP

Model Context Protocol tool support for LangChain

Unclaimed MIT last commit a year ago ai
67Good

Scored 7 days ago · breakdown

About Langchain MCP

Langchain MCP is an MCP server published by rectalogic in the AI category: model Context Protocol tool support for LangChain.

The repository has 205 stars and 24 forks, with the last commit a year ago. Six months or more without a commit doesn't mean the server is broken, but check the open issues before depending on it in production.

Install

From source
git clone https://github.com/rectalogic/langchain-mcp

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Ask AI

✦

Ask AI about Langchain MCP

Powered by Claude · Grounded in docs

I know everything about Langchain MCP. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

Static checks derived from the repository yesterday. Heuristics on the source, not an audit.

  • ✓README presentThe repository ships documentation.
  • ✓License declaredUsable under a stated license.
  • ✓Tests presentA test suite exists in the repository.
  • ✓Dependencies pinnedA lockfile pins dependency versions.
  • ✓No dynamic code executionSource scan found no eval, dynamic Function, or shell execution.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

Releases

0.2.10.2.1 · 1 Mar 2025
0.2.00.2.0 · 14 Feb 2025
0.1.00.1.0 · 6 Jan 2025
0.1.0a10.1.0a1 · 28 Nov 2024
0.0.0Placeholder release · 26 Nov 2024

README

langchain-mcp

Note: langchain now has a more official implementation langchain-mcp-adapters

PyPI - Version

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.BaseTools.

Example:

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

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.

README fetched from the repository yesterday. The original is authoritative.

Questions

About Langchain MCP

How do I install Langchain MCP?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Langchain MCP safe to use with an AI agent?

Its trust score is 67 out of 100 (good). It passes 5 of the 6 static security checks run so far; the failures are listed above. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Langchain MCP still maintained?

The last commit was a year ago and 1 open issues. That's long enough that you should check whether the maintainer is responding to issues before depending on it.