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

@gotong/mcp-server

v1.0.0

Published

MCP (Model Context Protocol) bridge for Gotong — lets Claude Desktop / Cursor / any MCP client dispatch tasks, read participants, and review leaderboards on a running Hub.

Readme

@gotong/mcp-server

MCP (Model Context Protocol) bridge for Gotong. Lets any MCP client — Claude Desktop, Cursor, Cline, Zed, the official @modelcontextprotocol/inspector — operate on a running Hub: list participants, dispatch tasks, read the contribution leaderboard, evaluate completed work.

Install

⚠️ Source-only at this stage. npm publish is descoped — see .github/RELEASE-CHECKLIST.md "Distribution decision". The npx -y @gotong/mcp-server invocations shown in the Configure your MCP client examples below will start working once a JS registry is picked; until then, substitute npx -y @gotong/mcp-server with the absolute path:

"command": "node",
"args": ["/absolute/path/to/Gotong/packages/mcp-server/bin/server.js"]
# 1. Build from source
git clone https://github.com/Emir-Aksoy/Gotong.git && cd Gotong
pnpm install && pnpm build

# 2. (Future, after npm publish — NOT available yet)
# As an MCP client config (no global install needed):
#   "command": "npx", "args": ["-y", "@gotong/mcp-server"]
# Or globally:
# npm i -g @gotong/mcp-server

Configure your MCP client

Claude Desktop

Edit ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%/Claude/claude_desktop_config.json (Windows):

{
  "mcpServers": {
    "gotong": {
      "command": "npx",
      "args": ["-y", "@gotong/mcp-server"],
      "env": {
        "GOTONG_HUB_URL": "http://127.0.0.1:3000",
        "GOTONG_ADMIN_TOKEN": "<your-admin-bearer-token>"
      }
    }
  }
}

Restart Claude Desktop. The Hub's tools (5 of them) become available next to whatever else you've configured.

Cursor / Cline / Zed

Same pattern, follow each editor's MCP guide. The required command + args + env is identical.

Tools

| Tool | What it does | |---|---| | list_participants | Who's in the room — agents + humans + capability tags + load | | dispatch_task | Fire a task into the Hub (direct / capability / broadcast) and wait for the result | | list_tasks | Recent tasks with status (pending / done / failed / cancelled) | | get_leaderboard | Contribution leaderboard for today / 7d / 30d / all | | evaluate_task | Attach a rating (0–5, 1 decimal) + optional comment to a completed task |

All tools translate to ordinary HTTP calls against the Hub's /api/* admin surface (Bearer-token authenticated), so there's no extra wire protocol to worry about.

CLI flags

gotong-mcp                  # reads GOTONG_HUB_URL + GOTONG_ADMIN_TOKEN env
gotong-mcp --hub <URL> --token <BEARER>
gotong-mcp --help
gotong-mcp --version

--hub accepts http:// or https://. Trailing slashes are stripped. The server pings /healthz on startup and exits with code 3 if the Hub is unreachable.

Where do I get the admin token?

When you first launch the Gotong host (pnpm host or docker compose up), stdout prints:

First-run admin URL (shown ONCE — save it):
  http://127.0.0.1:3000/admin?token=<HEX>

That <HEX> is the token. Subsequent admin invites can be minted via the API.

The token must belong to an admin account — worker tokens cannot dispatch tasks.

Architecture notes

  • Stateless: every tool call is a fresh HTTP round-trip. Restart the MCP server and you lose nothing.
  • All logs go to stderr (stdio is reserved for MCP protocol frames).
  • The Hub's existing security (Bearer auth, rate limiting, ALLOWED_HOSTS) still applies — this package adds nothing of its own.

License

MIT — see LICENSE.