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

inksnow-mcp-proxy

v1.0.3

Published

为提供HLMcp服务的npx代理服务,例如可配置于cursor的mcp配置中

Readme

Inksnow MCP Proxy

这是一个用于 Cursor IDE 的 MCP (Model Control Protocol) 代理服务器,可以将 Cursor 的 MCP 请求代理到您自己的服务器。

特性

  • 支持将 Cursor IDE 的所有 MCP 请求代理到自定义 HTTP 服务器
  • 支持日志调试(设置环境变量 DEBUG=1 可输出详细日志)
  • 自动处理初始化、通知、工具调用等 MCP 协议请求
  • 详细的错误处理与日志输出,便于排查问题

安装

npm install -g inksnow-mcp-proxy

使用方法

命令行方式

npx inksnow-mcp-proxy <server-url>

例如:

npx inksnow-mcp-proxy http://localhost:3000

环境变量方式

MCP_SERVER_URL=http://localhost:3000 npx inksnow-mcp-proxy

日志调试

如需查看详细日志,请设置环境变量:

export DEBUG=1  # Linux/Mac

启动参数说明

  • <server-url>:目标 MCP 服务端地址,必须以 http:// 或 https:// 开头。
  • 也可通过环境变量 MCP_SERVER_URL 指定。

Cursor 配置

在 Cursor IDE 中,您可以通过以下步骤配置 MCP 服务器:

  1. 打开 Cursor IDE
  2. 点击左下角的设置图标(⚙️)
  3. 在设置中找到 "AI" 或 "MCP" 设置部分
  4. 在 MCP 配置中添加以下配置:
{
  "mcp": {
    "command": "npx inksnow-mcp-proxy",
    "args": ["http://your-server.com"],
    "env": {
      "MCP_SERVER_URL": "http://your-server.com",
      "DEBUG": "1"
    }
  }
}

配置说明

  • command: 启动命令,使用 npx inksnow-mcp-proxy
  • args: 命令行参数,指定目标服务器 URL
  • env: 环境变量配置,可以在这里设置 MCP_SERVER_URL

完整配置示例

 "mcpServers": {
      "HLMcp": {
        "command": "npx",
        "args": ["inksnow-mcp-proxy"],
        "env": {}
      }
 }

协议说明

本代理服务器支持 MCP 协议,主要功能包括:

  1. 请求转发:将 Cursor 的 MCP 请求(如 initialize、tools/call 等)转发到指定的 HTTP 服务器。
  2. 响应处理:处理并返回服务器的响应,支持结构化内容。
  3. 错误处理:详细日志与错误输出,便于排查。
  4. 通知与取消:自动处理 notifications/initialized、notifications/cancelled 等通知类请求。

支持的请求类型

  • initialize: 初始化连接
  • tools/call: 工具调用请求
  • 其他所有 MCP 协议支持的请求类型

故障排除

如果遇到问题,请检查:

  1. 目标服务器是否正常运行
  2. URL 是否正确(包含 http://https://
  3. 网络连接是否正常
  4. 防火墙设置是否允许连接
  5. 如需调试详细日志,设置环境变量 DEBUG=1

许可证

ISC