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

baitong-mcp-remote

v1.0.0

Published

百通 MCP Remote — stdio↔Streamable HTTP 桥接,让仅支持 stdio 的 MCP 客户端(如 WorkBuddy)接入百通远程 MCP 服务

Readme

baitong-mcp-remote

百通 MCP 远程桥接工具——让仅支持 stdio 的 MCP 客户端(如 WorkBuddy)接入百通远程 Streamable HTTP MCP 服务。

原理

WorkBuddy ──stdio──> baitong-mcp-remote ──HTTP Bearer──> 百通后端 /api/mcp

前置要求

  • Node.js 18+
  • 已在百通后管获取 MCP Token(bt_mcp_xxx 格式)

WorkBuddy 配置(推荐:npx 方式,无需本地安装)

在 WorkBuddy 的 MCP 配置文件(mcp.json)中添加:

{
  "mcpServers": {
    "baitong": {
      "command": "npx",
      "args": [
        "-y",
        "baitong-mcp-remote",
        "--url",
        "http://你的服务器地址:5500/api/mcp",
        "--token",
        "bt_mcp_你的token"
      ]
    }
  }
}

-y 参数让 npx 自动确认安装,无需用户交互。

也可以用环境变量传参

{
  "mcpServers": {
    "baitong": {
      "command": "npx",
      "args": ["-y", "baitong-mcp-remote"],
      "env": {
        "BAITONG_MCP_URL": "http://你的服务器地址:5500/api/mcp",
        "BAITONG_MCP_TOKEN": "bt_mcp_你的token"
      }
    }
  }
}

本地开发

git clone https://github.com/baitong-ai/baitong-mcp-remote.git
cd baitong-mcp-remote
npm install

# 测试 initialize + tools/list
(
  echo '{"jsonrpc":"2.0","method":"initialize","params":{"protocolVersion":"2025-03-26","capabilities":{},"clientInfo":{"name":"test","version":"1.0"}},"id":1}'
  sleep 1
  echo '{"jsonrpc":"2.0","method":"tools/list","params":{},"id":2}'
  sleep 1
) | node src/index.js \
    --url http://127.0.0.1:5500/api/mcp \
    --token bt_mcp_你的token

发布到 npm

npm login
npm publish

提供的 MCP 工具

| 工具名 | 说明 | |-------|------| | list_datasets | 列出可检索的数据集 | | search_dataset | 在指定数据集中检索内容 | | list_knowledge | 列出可检索的知识库 | | search_knowledge | 在指定知识库中检索内容 |