npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@yidun/apollo-mcp-server

v1.0.2

Published

Apollo MCP Server - Model Context Protocol server for Apollo Configuration Center

Readme

Apollo MCP Server

Apollo MCP Server 是一个极简的 Model Context Protocol (MCP) 服务器,为 AI 工具提供 Apollo 配置中心数据访问能力。

特性

  • MCP 协议合规: 标准 MCP 服务器实现,与 AI 工具无缝集成
  • 无状态设计: 完全无状态,所有配置通过工具参数传入
  • 多环境支持: 支持独立 Meta Server 和环境参数两种模式
  • 极简架构: 专注于核心配置获取功能

快速开始

安装依赖

npm install

开发

npm run dev          # 开发模式
npm run build        # 构建项目
npm test             # 运行测试

配置到 Claude Desktop

  1. 找到配置文件

    • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
    • Windows: %APPDATA%\Claude\claude_desktop_config.json
  2. 添加配置

    {
      "mcpServers": {
        "apollo-mcp-server": {
          "command": "node",
          "args": ["./dist/index.js"],
          "cwd": "/path/to/apollo-mcp-server"
        }
      }
    }
  3. 重启 Claude Desktop

MCP 工具

get_apollo_config

获取特定配置项

参数:

  • metaServerUrl (必需): Apollo Meta Server 地址
  • appId (必需): 应用 ID
  • key (可选): 配置键名
  • clusterName (可选): 集群名称,默认 "default"
  • namespaceName (可选): 命名空间名称,默认 "application"
  • env (可选): 环境标识,如 "dev", "test", "prod"

list_apollo_configs

列出所有配置项

list_apollo_namespaces

列出所有命名空间

使用示例

在 Claude Desktop 中:

获取 Apollo 配置:
- Meta Server: http://apollo-meta:8080
- 应用ID: my-service
- 命名空间: database
- 配置键: mysql.url

许可证

MIT License