{"id":26571004,"url":"https://github.com/isaacwasserman/mcp-langchain-ts-client","last_synced_at":"2025-12-30T01:04:08.752Z","repository":{"id":268434755,"uuid":"904345046","full_name":"isaacwasserman/mcp-langchain-ts-client","owner":"isaacwasserman","description":"LangChain.js client for Model Context Protocol.","archived":false,"fork":false,"pushed_at":"2024-12-16T19:48:10.000Z","size":5,"stargazers_count":21,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-20T01:03:04.327Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/isaacwasserman.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-12-16T17:53:36.000Z","updated_at":"2025-03-19T03:17:10.000Z","dependencies_parsed_at":"2024-12-16T19:27:01.027Z","dependency_job_id":"195549ed-7ac5-485b-bfd5-9cec05ee8bb6","html_url":"https://github.com/isaacwasserman/mcp-langchain-ts-client","commit_stats":null,"previous_names":["isaacwasserman/mcp-langchain-ts-client"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/isaacwasserman%2Fmcp-langchain-ts-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/isaacwasserman%2Fmcp-langchain-ts-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/isaacwasserman%2Fmcp-langchain-ts-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/isaacwasserman%2Fmcp-langchain-ts-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/isaacwasserman","download_url":"https://codeload.github.com/isaacwasserman/mcp-langchain-ts-client/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245026862,"owners_count":20549208,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-03-22T22:19:28.351Z","updated_at":"2025-12-30T01:04:08.723Z","avatar_url":"https://github.com/isaacwasserman.png","language":"TypeScript","funding_links":[],"categories":["📚 Projects (1974 total)","Utilities","Table of Contents","Other Tools and Integrations","🌐 Web Development","📂 카테고리","Libraries","实用工具"],"sub_categories":["MCP Servers","🛠️ \u003ca name=\"other-tools-and-integrations\"\u003e\u003c/a\u003eOther Tools and Integrations","AI Services","How to Submit","🔧 Utilities","Authorization Testing"],"readme":"# mcp-langchain-ts-client\n\nA LangChain.js client for Model Context Protocol.\n\nThis is a port of [rectalogic/langchain-mcp](https://github.com/rectalogic/langchain-mcp) to the JS/TS LangChain and MCP APIs.\n\n## Installation\n\n```bash\nnpm install mcp-langchain-ts-client\n```\n\n## Usage\n\n```typescript\nconst serverParams = {\n  command: \"npx\",\n  args: [\n    \"-y\",\n    \"@modelcontextprotocol/server-everything\"\n  ]\n}\n\n// Initialize the toolkit\nconst toolkit = new MCPToolkit(serverParams);\nawait toolkit.initialize();\n\n// Extract LangChain.js compatible tools\nconst tools = toolkit.tools;\n\n// Use the tools\nimport { createReactAgent } from \"@langchain/langgraph/prebuilt\";\nimport { ChatAnthropic } from \"@langchain/anthropic\";\n\nconst llm = new ChatAnthropic({ model: 'claude-3-5-sonnet-20241022' });\nconst agent = createReactAgent({ llm, tools });\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fisaacwasserman%2Fmcp-langchain-ts-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fisaacwasserman%2Fmcp-langchain-ts-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fisaacwasserman%2Fmcp-langchain-ts-client/lists"}