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

cycle-mcp-client

v1.0.0

Published

MCP Client proxy for remote Cycle MCP Server

Readme

cycle-mcp-client

Cycle MCP Server 的客户端代理,用于连接远程 MCP Server。

安装

全局安装(推荐)

npm install -g @cycle/mcp-client

使用 npx(无需安装)

无需安装,直接使用:

npx @cycle/mcp-client

配置

设置环境变量 MCP_SERVER_URL 指向远程 MCP Server:

export MCP_SERVER_URL=https://api.xxx.com/mcp

使用

Cursor 配置

编辑 ~/.cursor/mcp.json

{
  "mcpServers": {
    "cycle": {
      "command": "mcp-client",
      "env": {
        "MCP_SERVER_URL": "https://api.xxx.com/mcp"
      }
    }
  }
}

Claude Desktop 配置

编辑配置文件(macOS: ~/Library/Application Support/Claude/claude_desktop_config.json):

{
  "mcpServers": {
    "cycle": {
      "command": "mcp-client",
      "env": {
        "MCP_SERVER_URL": "https://api.xxx.com/mcp"
      }
    }
  }
}

使用 npx

如果使用 npx,配置如下:

{
  "mcpServers": {
    "cycle": {
      "command": "npx",
      "args": ["cycle-mcp-client"],
      "env": {
        "MCP_SERVER_URL": "https://api.xxx.com/mcp"
      }
    }
  }
}

工作原理

客户端代理将 stdio 的 JSON-RPC 请求转换为 HTTP/SSE 请求,发送到远程 MCP Server,并将响应转换回 stdio 格式。

更新

全局安装

npm update -g @cycle/mcp-client

npx

npx 会自动使用最新版本,无需手动更新。

故障排除

找不到命令

确保已全局安装,或使用 npx。

连接失败

检查 MCP_SERVER_URL 环境变量是否正确设置,服务器是否可访问。