langchain-mcp-tools-ts vs filesystem
并排对比,帮你在这两个 MCP server 之间做选择。
langchain-mcp-tools-ts by hideya | filesystem by modelcontextprotocol | |
|---|---|---|
| Stars | ★ 23 | ★ 85,748 |
| 30天用量 | — | — |
| 综合分 | 40 | 77 |
| 官方 | — | ✓ |
| 分类 | 开发者工具AI / LLM 工具其它 | 本地文件系统开发者工具效率工具 |
| 实现语言 | TypeScript | TypeScript |
| 最近提交 | 2 个月前 | 本月 |
langchain-mcp-tools-ts · 概述
一个TypeScript工具,用于将MCP服务器工具转换为LangChain兼容工具,并提供LLM兼容性模式调整。
filesystem · 概述
功能丰富的文件系统操作 MCP 服务器,具有动态目录访问控制功能。
langchain-mcp-tools-ts · 使用场景
- 将MCP工具如文件系统、GitHub或Brave搜索与LangChain代理集成
- 构建使用MCP服务器的自定义LangChain应用程序,无需实现MCP协议
- 开发需要访问外部数据源的AI概念验证应用
filesystem · 使用场景
- 使 AI 模型能够读取和写入项目文件进行开发
- 允许 Claude 或其他 MCP 客户端浏览和分析代码库
- 为内容生成提供对特定目录的安全沙盒访问
langchain-mcp-tools-ts · 安装
使用npm安装:
npm i @h1deya/langchain-mcp-toolsClaude Desktop配置示例(转换为MCP服务器配置):
{
"filesystem": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-filesystem", "."]
},
"github": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-github"]
}
}filesystem · 安装
安装
使用 NPX
{
"mcpServers": {
"filesystem": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-filesystem",
"/path/to/allowed/directory"
]
}
}
}使用 Docker
{
"mcpServers": {
"filesystem": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"--mount", "type=bind,src=/path/to/allowed/dir,dst=/projects/allowed/dir",
"mcp/filesystem",
"/projects"
]
}
}
}VS Code 扩展
点击 README 中的安装按钮直接在 VS Code 中安装。