mcpField
M
MCPverse

MCPverse

本地服务
github.com/namanyayg开发工具080 周前更新

关于 MCPverse

MCPverse 是用于查找 MCP 服务配置信息的目录。它以 JSON 保存服务条目,提供本地网页目录,并提供 JavaScript/Node.js 包以读取数据。

主要功能

  1. 01基于 JSON 的服务目录
  2. 02本地网页目录
  3. 03JavaScript 和 Node.js 包
  4. 04安装说明与必需变量
  5. 05官方文档链接

适用场景

  1. 01查找 MCP 服务配置详情
  2. 02查看必需的环境变量
  3. 03在本地浏览服务条目
  4. 04在 Node.js 项目中使用目录数据

MCP 相关

MCPverse 汇总 MCP 服务及其配置详情;项目未说明它向客户端提供 MCP 服务接口。

配置

本地服务的配置在各客户端中通用,复制后粘贴到客户端的 MCP 配置文件即可。

暂未收录安装方式

我们还没有获取到这个服务的安装包或远程地址,请按项目 README 中的说明安装。

代码仓库

工具

还没有获取到工具列表

本地服务需要在你的电脑上运行后才能读取工具,维护者暂未提供工具列表。

详细介绍

MCPverse

这是什么?

查找不同 Model Context Protocol(MCP)服务的设置说明和配置详情(例如环境变量)可能很困难。本项目旨在解决这一问题。

它提供一份集中、简洁的优质 MCP 服务列表(mcpverse.json),其中包含:

  • 易于查找的设置说明。
  • 清晰的必需变量信息。
  • 官方文档链接。

功能

  • 简洁的数据: 服务信息存储在 mcpverse.json 中。
  • 网页: 在本地打开 index.html,即可浏览服务。
  • NPM 包: 在 JavaScript/Node.js 项目中使用这些数据。

通过 npm 安装

npm install mcpverse 
# or
yarn add mcpverse

如何使用(JavaScript / Node.js)

通过 npm 安装后,可以在代码中引入注册表:

// Import the registry functions
const mcpverse = require('mcpverse'); 

// --- Example 1: List all available MCP server names ---
const allMcps = mcpverse.listMcps();
console.log("Available MCPs:");
allMcps.forEach(mcp => console.log(`- ${mcp.name} (ID: ${mcp.id})`));
// Output:
// Available MCPs:
// - Prisma MCP Server (ID: prisma)
// - Puppeteer MCP Server (ID: puppeteer)
// - Slack MCP Server (ID: slack)
// - Supabase MCP Server (ID: supabase)

// --- Example 2: Get full details for a specific MCP ---
const puppeteerDetails = mcpverse.getMcp('puppeteer');
if (puppeteerDetails) {
    console.log("\nPuppeteer Details:", JSON.stringify(puppeteerDetails, null, 2));
}

// --- Example 3: Get required variables for Slack ---
const slackInfo = mcpverse.getInstallationInfo('slack');
if (slackInfo && slackInfo.variables) {
    console.log("\nSlack requires the following variables:");
    for (const [varName, details] of Object.entries(slackInfo.variables)) {
        console.log(`- ${varName}: ${details.description}`);
    }
}
// Output:
// Slack requires the following variables:
// - SLACK_BOT_TOKEN: Your Slack bot token (starts with xoxb-).
// - SLACK_TEAM_ID: Your Slack workspace Team ID (starts with T).
// - SLACK_CHANNEL_IDS: Comma-separated list of Slack channel IDs to monitor.


// --- Example 4: Generate the full install command for Supabase ---
// Imagine you have your token in an environment variable
const myToken = process.env.SUPABASE_ACCESS_TOKEN || 'your-token-placeholder';

const supabaseCommand = mcpverse.generateFullCommand('supabase', { 
    SUPABASE_ACCESS_TOKEN: myToken 
});

if (supabaseCommand) {
    console.log("\nTo run Supabase MCP Server:");
    console.log(supabaseCommand);
}
// Example Output:
// To run Supabase MCP Server:
// npx -y @supabase/mcp-server-supabase@latest --access-token "your-token-placeholder"

请参阅 index.js,了解所有可用函数。

Web 界面

克隆此仓库后,可以直接在 Web 浏览器中打开 index.html 文件。它会从 mcpverse.json 加载数据,并为每个服务显示一张卡片,其中包含详细信息、安装命令和必需变量。

数据格式(mcpverse.json)

注册表是一个 JSON 对象。每个键都是一个服务 ID(例如 "prisma"),对应的值是描述该服务的对象:

{
  "id": "string",         // Unique ID (same as key)
  "name": "string",       // Display name
  "description": "string", // What it does
  "official": "boolean",  // Is it official?
  "category": "string",   // e.g., "Database"
  "readmeUrl": "string | null", // Link to docs
  "brand": {
    "logoUrl": "string | null" // Logo image URL
  },
  "installation": {
    "type": "string",       // How to install (e.g., "npx")
    "command": "string",    // Base command (e.g., "npx")
    "args": ["string"],   // Command arguments (use <VAR_NAME> for placeholders)
    "variables": {        // Optional: Required variables
      "VAR_NAME": {
        "description": "string",
        "secret": "boolean",   // Is it sensitive?
        "placeholder": "string | null" // Example format
      }
    }
  }
}

贡献

想要添加或更新服务?

  1. Fork 此仓库。
  2. 编辑 mcpverse.json(添加或更新条目,并遵循格式)。
  3. 创建 Pull Request。

请确保添加的服务稳定且文档完善。

评论

支持 Markdown

第一次接触 MCP?

从协议是什么,到在客户端里装上第一个服务,这几条回答覆盖了大多数入门问题。

一个开放协议,规定了 AI 应用如何以统一方式连接外部工具与数据源。客户端负责与模型对话,MCP 服务负责提供工具、资源和提示模板,两者通过标准消息通信,同一个服务可以被不同客户端复用。