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.
@@ -53,7 +53,6 @@ export declare class APIClient {
53
53
  searchDocs(input: {
54
54
  query: string;
55
55
  limit?: number;
56
- language?: 'python' | 'javascript';
57
56
  }): Promise<SearchResponse>;
58
57
  searchLangchainCode(input: {
59
58
  query: string;
@@ -37,7 +37,6 @@ export class APIClient {
37
37
  return this.request('POST', '/search/docs', {
38
38
  query: input.query,
39
39
  limit: input.limit,
40
- language: mapLanguage(input.language),
41
40
  });
42
41
  }
43
42
  async searchLangchainCode(input) {
@@ -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.5',
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) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "langchain-mcp",
3
- "version": "1.2.5",
3
+ "version": "1.2.6",
4
4
  "description": "Give your AI assistant complete LangChain, LangGraph & LangSmith knowledge",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",