EM

ecosyste-ms/mcp

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

9 stars 3 forks 质量 88 趋势 27MIT

ecosyste-ms/mcp 是从 https://github.com/ecosyste-ms/mcp. 导入的 MCP 候选服务器

概览

ecosyste-ms/mcp 是从 https://github.com/ecosyste-ms/mcp. 导入的 MCP 候选服务器

概述(AI 翻译)

MCP服务器用于查询从 ecosyste.ms 的包生态系统数据。

查询本地SQLite数据库的关键包以实现快速查找,并为数据库中未包含的包提供API缓冲。

安装

或者直接用NPX运行:

数据库通过 @ecosyste-ms/critical 捆绑。无需额外设置。

要使用自定义数据库,请在工作目录中设置 ECOSYSTEMS_DB_PATH 或放置 critical-packages.db。

ECOSYSTEMS_DB_PATH 在设置为权威时:服务器正好使用该文件,或者如果缺少该文件则仅运行 API。设置为 none 以完全跳过本地数据库。

LLM工具的使用

克劳德密码

打开终端并运行:

使用自定义数据库路径:

在 Claude Code 中,使用命令 /mcp 验证服务器正在运行。

Claude Desktop

添加到 ~/Library/Application Support/Claude/claude_desktop_config.json(macOS)或%APPDATA%\Claude\claude_desktop_config.json(Windows):

自定义数据库路径:

光标

在你的项目中添加 .cursor/mcp.json 或全局添加到 ~/.cursor/mcp.json 中:

VS Code

打开终端并运行:

或者手动添加到.vscode/mcp.json:

然后打开’.vscode/mcp。

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

@ecosyste-ms/mcp

MCP server for querying package ecosystem data from ecosyste.ms.

Queries a local SQLite database of critical packages for fast lookups, with API fallback for packages not in the database.

Installation

npm install -g @ecosyste-ms/mcp

Or run directly with npx:

npx @ecosyste-ms/mcp

The database is bundled via @ecosyste-ms/critical. No additional setup required.

To use a custom database, set ECOSYSTEMS_DB_PATH or place critical-packages.db in your working directory.

ECOSYSTEMS_DB_PATH is authoritative when set: the server uses exactly that file, or runs API-only if it is missing. Set it to none to skip the local database entirely.

Usage with LLM Tools

Note: ChatGPT requires remote MCP servers. Run the server with a tunnel or deploy it.

在 GitHub 查看完整 README

安装

npx @ecosyste-ms/mcp
新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "ecosystems": { "command": "npx", "args": ["@ecosyste-ms/mcp"] } } }