@h1deya/langchain-mcp-tools 0.2.3 → 0.2.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +17 -4
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # MCP To LangChain Tools Conversion Utility / TypeScript [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://github.com/hideya/langchain-mcp-tools-ts/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/@h1deya/langchain-mcp-tools.svg)](https://www.npmjs.com/package/@h1deya/langchain-mcp-tools)
2
2
 
3
+ ## NOTE
4
+
5
+ LangChain's official **LangChain.js MCP Adapters** library has been released at:
6
+ - npmjs: https://www.npmjs.com/package/@langchain/mcp-adapters
7
+ - github: https://github.com/langchain-ai/langchainjs-mcp-adapters
8
+
9
+ You may want to consider using the above if you don't have specific needs for using this library...
10
+
11
+ ## Introduction
12
+
3
13
  This package is intended to simplify the use of
4
14
  [Model Context Protocol (MCP)](https://modelcontextprotocol.io/)
5
15
  server tools with LangChain / TypeScript.
@@ -44,7 +54,7 @@ npm i @h1deya/langchain-mcp-tools
44
54
 
45
55
  ## API docs
46
56
 
47
- Can be found [here](https://hideya.github.io/langchain-mcp-tools-ts/)
57
+ Can be found [here](https://hideya.github.io/langchain-mcp-tools-ts/modules.html)
48
58
 
49
59
  ## Quick Start
50
60
 
@@ -165,7 +175,7 @@ in [sse-auth-test-client.ts](https://github.com/hideya/langchain-mcp-tools-ts-us
165
175
  of [this usage examples repo](https://github.com/hideya/langchain-mcp-tools-ts-usage).
166
176
 
167
177
  For testing purposes, a sample MCP server with OAuth authentication support
168
- that works with the above client is provided in
178
+ that works with the above client is provided
169
179
  in [sse-auth-test-server.ts](https://github.com/hideya/langchain-mcp-tools-ts-usage/tree/main/src/sse-auth-test-server.ts)
170
180
  of [this usage examples repo](https://github.com/hideya/langchain-mcp-tools-ts-usage).
171
181
 
@@ -182,13 +192,16 @@ can be specified with the `"cwd"` key as follows:
182
192
  },
183
193
  ```
184
194
 
185
- The key name `cwd` is derived from TypeScript SDK's `StdioServerParameters`.
195
+ The key name `cwd` is derived from
196
+ TypeScript SDK's [`StdioServerParameters`](https://github.com/modelcontextprotocol/typescript-sdk/blob/131776764536b5fdca642df51230a3746fb4ade0/src/client/stdio.ts#L39).
197
+
186
198
 
187
199
  ### `stderr` Redirection for Local MCP Server
188
200
 
189
201
  A new key `"stderr"` has been introduced to specify a file descriptor
190
202
  to which local (stdio) MCP server's stderr is redirected.
191
- The key name `stderr` is derived from TypeScript SDK's `StdioServerParameters`.
203
+ The key name `stderr` is derived from
204
+ TypeScript SDK's [`StdioServerParameters`](https://github.com/modelcontextprotocol/typescript-sdk/blob/131776764536b5fdca642df51230a3746fb4ade0/src/client/stdio.ts#L32).
192
205
 
193
206
  ```ts
194
207
  const logPath = `mcp-server-${serverName}.log`;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@h1deya/langchain-mcp-tools",
3
- "version": "0.2.3",
3
+ "version": "0.2.4",
4
4
  "description": "MCP To LangChain Tools Conversion Utility",
5
5
  "license": "MIT",
6
6
  "keywords": [