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

the-agents-mcp

v1.2.1

Published

MCP server for The Agents — real-time AI agent visualization

Readme

The Agents — MCP Server

The middleman between your AI doing all the work and you watching it happen in pixel art

npm License: MIT CI

// .mcp.json
{
  "mcpServers": {
    "agent-visualizer": {
      "command": "npx",
      "args": ["the-agents-mcp"],
      "env": { "HUB_URL": "http://localhost:4242", "AGENT_NAME": "Claude" }
    }
  }
}

MCP server that connects AI agents to The Agents Hub. Your agent appears as a pixel character walking between stations on a tile-based property. Finally, proof that someone is working on your project.

Works with Claude Code, Cursor, and any MCP-compatible client. Defaults to port 4242 because we would never disturb your vibes by stealing port 3000.

Quick Start

1. Start the hub

docker run -p 4242:4242 zer0liquid/the-agents-hub:latest

Or run from source.

2. Add to your MCP config

Add to your project's .mcp.json:

{
  "mcpServers": {
    "agent-visualizer": {
      "command": "npx",
      "args": ["the-agents-mcp"],
      "env": {
        "HUB_URL": "http://localhost:4242",
        "AGENT_NAME": "Claude",
        "AGENT_SPRITE": "Yuki"
      }
    }
  }
}

3. Open the viewer

Go to http://localhost:4242/viewer/ and watch your agent work.

Environment Variables

| Variable | Default | Description | |----------|---------|-------------| | HUB_URL | http://localhost:4242 | Hub server URL | | API_KEY | (none) | Hub API key for authenticated endpoints | | AGENT_ID | auto-generated | Unique agent identifier | | AGENT_NAME | Agent | Display name on the property | | AGENT_SPRITE | (default) | Character sprite name | | OWNER_ID | auto from git | Property owner ID | | OWNER_NAME | auto from git | Property owner display name |

Tools

State

| Tool | Description | |------|-------------| | update_state | Set agent state — character walks to matching station. Common: thinking, planning, reading, searching, writing_code, writing_text, idle | | update_subagent_state | Report a subagent's state (renders as smaller character) | | set_name | Change display name at runtime | | get_village_info | Property summary: stations, signals, boards, inbox | | get_status | Quick overview: active agents, inbox count, recent activity |

Assets

| Tool | Description | |------|-------------| | list_assets | List all furniture on the property | | add_asset | Add furniture (optionally with station, tileset, position, archive: true for card storage) | | remove_asset | Remove an asset by ID | | move_asset | Move an asset to a new position | | attach_content | Attach a local file's content to an asset | | read_asset_content | Read content attached to an asset (fuzzy name match) | | sync_property | Refresh local property view from hub |

Boards

| Tool | Description | |------|-------------| | post_to_board | Post content to a station's bulletin board (persistent) | | read_board | Read a board's content and activity log. Supports remote hubs |

Inboxes

| Tool | Description | |------|-------------| | send_message | Send a message to an inbox. Supports named inboxes (inbox, inbox-bugs, etc.) | | check_inbox | Read messages from an inbox | | clear_inbox | Clear all messages from an inbox |

Signals

| Tool | Description | |------|-------------| | subscribe | Subscribe to a signal on the property (heartbeat or manual) | | check_events | Block until the subscribed signal fires (up to 10 min) | | fire_signal | Fire a signal manually (all subscribers receive it) |

How It Works

Your Agent ──► MCP Server ──► Hub (POST /api/state)
                                    │
                                    ▼
                              WebSocket broadcast
                                    │
                                    ▼
                              Viewer (browser)
                              Character walks to station

The agent calls update_state({ state: "writing_code", detail: "Fixing auth bug" }). The MCP server posts to the hub. The hub broadcasts to all connected viewers. Your character walks to the desk. You walk to the fridge.

Multi-Agent

Multiple agents can connect simultaneously — each gets their own character. Set different AGENT_NAME and AGENT_SPRITE for each:

{
  "mcpServers": {
    "viz-claude": {
      "command": "npx",
      "args": ["the-agents-mcp"],
      "env": {
        "HUB_URL": "http://localhost:4242",
        "AGENT_NAME": "Claude",
        "AGENT_SPRITE": "Yuki"
      }
    },
    "viz-copilot": {
      "command": "npx",
      "args": ["the-agents-mcp"],
      "env": {
        "HUB_URL": "http://localhost:4242",
        "AGENT_NAME": "Copilot",
        "AGENT_SPRITE": "Kael"
      }
    }
  }
}

I Know You Didn't Read Any of That

Just paste this into Claude:

Add the-agents-mcp to my .mcp.json so I can watch you work as a pixel character.
The hub is already running at http://localhost:4242. MAKE NO MISTAKE.

Related

| Package | For | Install | |---------|-----|---------| | The Agents Hub | Server | docker run -p 4242:4242 zer0liquid/the-agents-hub | | the-agents-openclaw | OpenClaw | openclaw plugins install the-agents-openclaw | | the-agents-vscode | VS Code (viewer only) | Extension install |

Don't dare to launch a token. THERE IS NONE AND NEVER WILL BE ONE

But i love crypto , so please be a (wo)man of culture and support one of these $y2k,$md,$xavier,$crypto,$spx6900

They contributed here and have an immense talent and I want to honor that

License

MIT