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

chiral-mcp

v1.0.0

Published

Chiral Controller MCP Server - 为 MCP Client 提供 Chiral Controller 工具集成

Readme

Chiral MCP

Chiral Controller 的 MCP (Model Context Protocol) 工具包,让其他 MCP Client 可以调用 Chiral Controller 的功能。

安装

npm install -g chiral-mcp

使用方法

作为独立 MCP Server 运行

chiral-mcp

在 MCP Client 中配置

Claude Desktop 配置

claude_desktop_config.json 中添加:

{
  "mcpServers": {
    "chiral": {
      "command": "npx",
      "args": ["-y", "chiral-mcp"]
    }
  }
}

Cline 配置

在 Cline 的 MCP 设置中添加:

{
  "mcpServers": [
    {
      "name": "chiral",
      "command": "npx",
      "args": ["-y", "chiral-mcp"]
    }
  ]
}

提供的工具

| 工具名 | 描述 | |--------|------| | chiral_start_dev | 启动完整的开发环境 (Server + Client) | | chiral_start_server | 只启动 MCP Server | | chiral_start_client | 只启动 Web Client | | chiral_stop | 停止所有服务 | | chiral_status | 获取服务状态 | | chiral_get_config | 获取配置 | | chiral_set_config | 设置配置 |

工具参数

chiral_start_dev

{
  "normal": false,      // 是否使用普通 kimi 版本
  "serverPort": 3777,   // MCP Server 端口
  "clientPort": 5173    // Web Client 端口
}

chiral_start_server

{
  "normal": false,   // 是否使用普通 kimi 版本
  "port": 3777       // 服务端口
}

chiral_start_client

{
  "port": 5173   // 客户端端口
}

chiral_get_config

{
  "key": "serverPort"   // 配置项名称 (可选)
}

chiral_set_config

{
  "key": "serverPort",   // 配置项名称
  "value": "3778"        // 配置值
}

使用示例

在支持 MCP 的 AI 助手(如 Claude Desktop)中,你可以这样使用:

"启动 Chiral Controller 开发环境"

AI 会自动调用 chiral_start_dev 工具启动服务。

"检查 Chiral 服务状态"

AI 会调用 chiral_status 工具获取当前状态。

依赖

  • Node.js >= 18.0.0
  • chiral-cli >= 1.0.0

License

MIT