ai/py-langchain-mcp-adapters 0.3.0 MidnightBSD
LangChain: Make MCP tools compatible with LangChain & LangGraph agents
- System
- MidnightBSD
- Repository
- mports
- Maintainer
- [email protected]
- Port added
- Last update
- Commit
b807d69740- License
- mit
- Categories
- ai, python
Description
langchain-mcp-adapters makes Anthropic Model Context Protocol (MCP) tools compatible with LangChain and LangGraph agents.
It provides adapters that expose MCP tools, prompts, and resources as LangChain-compatible callables.
Version history 1
Upstream's version as each commit to the port's Makefile set it, or as this site first saw it in the system's packages; the tree's own revisions are not versions here.
Install
Binary package:
mport install ${PYTHON_PKGNAMEPREFIX}langchain-mcp-adapters
From mports:
cd /usr/mports/ai/py-langchain-mcp-adapters && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}langchain-mcp-adapters>0:ai/py-langchain-mcp-adapters
Dependency graph
Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.
Dependencies
As this port's Makefile names them.
Build 1
${PYTHON_PKGNAMEPREFIX}pdm-backend>0: devel/py-pdm-backend
Runtime 3
${PYTHON_PKGNAMEPREFIX}langchain-core>=1.0.0: ai/py-langchain-core${PYTHON_PKGNAMEPREFIX}mcp>=1.9.2: misc/py-mcp${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.14.0: devel/py-typing-extensions
Test 5
${PYTHON_PKGNAMEPREFIX}dirty-equals>=0.9.0: devel/py-dirty-equals${PYTHON_PKGNAMEPREFIX}pytest-asyncio>=0.26.0: devel/py-pytest-asyncio${PYTHON_PKGNAMEPREFIX}pytest-socket>=0.7.0: devel/py-pytest-socket${PYTHON_PKGNAMEPREFIX}pytest-timeout>=2.4.0: devel/py-pytest-timeout${PYTHON_PKGNAMEPREFIX}websockets>=15.0.1: devel/py-websockets
Build dependencies 1
Run dependencies 3
No port depends on this one.
Configuration
No options to configure.
- USES
- python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| langchain_mcp_adapters-0.3.0.tar.gz | 42774 | fa6c9497015eb2807de5d0c341a36e1d2445cecbae1f4a24e922fc5b94f1a36c |
Master sites 1
- PYPI
Commit history 1
| Date | Commit | Credits | Log message |
|---|---|---|---|
b807d69740 |
Lucas Holt | Add LangChain AI ports and dependencies AI-Assisted-by: OpenAI Codex <[email protected]>
Signed-off-by: Lucas Holt <[email protected]> |