langchain-mcp 1.2.5 → 1.2.6
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.
- package/dist/src/api-client.d.ts +0 -1
- package/dist/src/api-client.js +0 -1
- package/dist/src/server.js +1 -2
- package/package.json +1 -1
package/dist/src/api-client.d.ts
CHANGED
package/dist/src/api-client.js
CHANGED
package/dist/src/server.js
CHANGED
|
@@ -6,7 +6,6 @@ import { APIClient } from './api-client.js';
|
|
|
6
6
|
const searchDocsSchema = z.object({
|
|
7
7
|
query: z.string().describe('Search query'),
|
|
8
8
|
limit: z.number().int().min(1).max(20).default(5).describe('Max results (1-20)'),
|
|
9
|
-
language: z.enum(['python', 'javascript']).optional().describe('Filter by language'),
|
|
10
9
|
});
|
|
11
10
|
const searchCodeSchema = z.object({
|
|
12
11
|
query: z.string().describe('Search query'),
|
|
@@ -63,7 +62,7 @@ export function createServer() {
|
|
|
63
62
|
const apiClient = isLoggedIn ? new APIClient(config.api_url, config.api_key) : null;
|
|
64
63
|
const server = new McpServer({
|
|
65
64
|
name: 'langchain-mcp',
|
|
66
|
-
version: '1.2.
|
|
65
|
+
version: '1.2.6',
|
|
67
66
|
});
|
|
68
67
|
// search_docs
|
|
69
68
|
server.tool('search_docs', 'Search documentation, references, and tutorials about LangChain, LangGraph, LangSmith, and DeepAgents.', searchDocsSchema.shape, async (input) => {
|