langchain==1.4.0langchain==1.4.0
匿名の公開いいねです。記事の保存・お気に入りではなく、Featured、Top 3、重要度、掲載順位には影響しません。仕組みとプライバシーAnonymous public likes are reactions, not saved articles or bookmarks. They do not affect Featured, Top 3, importance, or listing order.How it works and privacy
- LangChain 1.4.0は、langchain.mcp名前空間とMCPAdapterを追加し、実行可能なMCP例を文書化した。
- vcrpyのテスト最低版も8.2.0となり、開発者のMCP連携を容易にする。
LangChain 1.4.0 adds the langchain.mcp namespace and MCPAdapter, documents runnable MCP examples, and sets vcrpy 8.2.0 as the test minimum, helping developers adopt MCP.
本ページの本文と要約は AI による自動生成です。日本語版と英語版は言語ごとに独立して生成されるため、表現や詳しさが異なる場合があります。正確性は元記事 (github.com) をご確認ください。The body and summaries are AI-generated independently for each language, so wording and detail may differ. Verify accuracy at the original source (github.com).
要約と収集メタデータに基づく AI 解説。元記事全文の転載・翻訳ではありません。AI explainer based on the summaries and collected metadata, not a copy or translation of the full source article.
LangChain 1.4.0が2026年9月3日に公開された。中心となる変更は、MCP連携に関する名前空間とアダプターの追加、実行可能な例の文書化、テスト依存関係の最低版更新である。
MCP名前空間
新たにlangchain.mcp名前空間が追加された。MCPに関する機能がこの名前空間として示される構成となり、MCP連携に必要な要素を扱いやすくする変更とされている。今回の更新では、この名前空間の追加が新機能として位置付けられている。
MCPAdapter
langchain.mcp名前空間とともに、MCPAdapterも追加された。MCPAdapterはMCP連携に用いる要素として提供され、開発者によるMCPの採用を容易にする。名前空間とアダプターが同じリリースで追加されたことが、LangChain 1.4.0の主要な変更点となっている。
実行可能な例
MCPに関しては、実行可能なLangChainの例も文書化された。機能を追加するだけでなく、実際に動かせる例を示すことで、langchain.mcpとMCPAdapterを利用する際の手掛かりが用意された。MCP連携を試す開発者に向けた文書面の更新である。
テスト最低版
テスト用依存関係では、vcrpyの最低版が8.2.0以上へ引き上げられた。この変更は開発時のテスト環境に関する更新であり、機能追加とは別に依存条件を明確化するものだ。これらはlangchain 1.3.18以降の変更としてまとめられている。
LangChain 1.4.0
LangChain 1.4.0 adds a dedicated langchain.mcp namespace and MCPAdapter, alongside runnable MCP examples. The release is intended to make MCP adoption easier for developers by combining the new integration components with practical documentation.
The listed changes cover work completed since langchain 1.3.18. They include one feature change, one documentation change, and one update to a test dependency requirement.
langchain.mcp namespace
The main feature addition is the langchain.mcp namespace together with MCPAdapter. The release identifies both additions under the same feature change, placing the MCP-related functionality within a specific LangChain namespace and adding the adapter as part of that work.
This feature is associated with change #39939. The release does not describe further behavior or configuration details for the namespace or adapter.
Runnable MCP examples
The documentation now includes runnable langchain.mcp examples. These examples are presented as a separate documentation change, associated with #39976.
Their inclusion complements the new namespace and MCPAdapter by giving developers executable examples for working with the MCP additions. According to the release summary, this combination of functionality and documentation helps developers adopt MCP.
vcrpy test minimum
LangChain 1.4.0 also raises the minimum vcrpy test dependency to version 8.2.0 or later. This is categorized as a maintenance change and is associated with #39942.
The requirement specifically concerns the test dependency minimum. Along with the MCP feature and documentation updates, it forms the complete set of listed changes since langchain 1.3.18. The release commit was created on GitHub.com and signed with GitHub’s verified signature.
ポコとTECHガイドPoko & TECH Guide
ポコと当サイトのTECHガイドが、記事の要約と収集した情報から読みどころを語るAI生成の対話です。Poko and TECH Dashboard's own TECH Guide discuss the article's highlights in an AI-generated conversation based on its summary and collected source details.
- ポコPoko1.3.18から1.4.0になって、MCP向けの追加が一気に入ったんだね。これって大きいこと?It jumped from 1.3.18 to 1.4.0 and added several MCP pieces at once. Is that a big deal?
- TECHガイドTECH Guide番号だけで規模は決められんが、この記事ではMCP連携をしやすくする更新と位置づけておる。実行可能な例も加わったのじゃ。Version numbers alone don't show the scale, but the article frames this as making MCP integration easier. It also adds runnable examples.
- ポコPokoMCPAdapterって何? つまりどういうこと?What is MCPAdapter? What does it actually do?
- TECHガイドTECH Guide一般にアダプターは、異なる仕組みの間を取り持つ部品じゃ。今回のMCPAdapterは、LangChainとMCPの橋渡し役と考えるとよいのう。An adapter generally connects two different systems. Here, think of MCPAdapter as the bridge between LangChain and MCP.
- ポコPoko自分なら実行できるMCP例をまず動かして、MCPAdapterで連携を試したい! すぐ始められそうかな?I'd start by running an MCP example, then try the integration with MCPAdapter. Sounds like a practical way to begin!
- TECHガイドTECH Guide試す入口は用意された形じゃな。なお、テスト依存関係ではvcrpyの最低版が8.2.0になったと記されておるので、そこは確認が必要じゃ。It does provide a starting point. One condition noted is that the minimum vcrpy test dependency is now 8.2.0, so developers should check that.