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

grok-bot-mcp-agent

v0.1.2

Published

Universal AI-in-the-Loop Grok Supervisor and Agentic Human Proxy for T3 Code, ACP, Codex, and Claude Code

Readme

Vesper Grok Bot Bridge

Verify npm

Use Grok Bot to supervise coding agents: start a task, inspect the agent's response, resolve delegated technical input, request improvements in the same session, and review real verification before accepting work.

Explore the system design diagrams, technology stack and architecture walkthrough.

Choose your setup

We maintain two focused Bot templates, with different tool contracts. Full route comparison.

| What you use | Bot template | MCP server | Setup guide | | --- | --- | --- | --- | | T3 Code | Vesper — T3 (source) | T3 already supplies its server through T3 Connect; no bridge install | T3 setup | | Coding CLIs without T3 | Vesper — CLI (source) | Install this project's CLI/MCP bridge once; enroll multiple ACP/native CLIs | Standalone MCP setup, provider enrollment |

Recipients add a published Bot through the Grok Bot Marketplace or a shared template link. The profiles above are the publisher source files. Both templates are published and shareable: Vesper — CLI and Vesper — T3; inside the Grok Bot app the one-click add links are grokbot://app/v1/bot-template?id=BuUvKwDGbSoqwNvNDreQk and grokbot://app/v1/bot-template?id=H2br1687IFJlyapDHroic. Custom MCP servers are installed separately; importing a Bot does not install software or authenticate coding accounts. Template publishing details.

A combined Bot is optional for advanced users who connect both resources and select the route explicitly. It is not the default offering and must never silently move work between backends. There is one MCP server implementation in this repository, not one server per CLI. T3's server is a separate product.

System architecture

The two routes are selected explicitly and use separate MCP servers and credentials.

flowchart TB
  Owner["Owner / developer"]
  Bot["Grok Bot / Vesper templates<br/>Supervision, technical answers, review"]
  Owner -->|"Task and acceptance criteria"| Bot
  subgraph T3Route["Route A - T3 product boundary"]
    Relay["T3 Connect<br/>HTTPS /mcp + T3 OAuth"]
    T3["T3 Code MCP server<br/>t3_* tools, projects and threads"]
    T3Workers["T3-configured coding providers<br/>Native sessions and workspaces"]
    Relay <-->|"T3-managed relay connection"| T3
    T3 <-->|"T3-owned orchestration"| T3Workers
  end
  subgraph CLIRoute["Route B - owner coding computer"]
    Gateway["Owner HTTPS ingress<br/>Reverse proxy / tunnel / optional Funnel"]
    Bridge["Standalone MCP bridge<br/>Node.js 22+, TypeScript, Express 5<br/>MCP SDK + Zod"]
    Router["TaskRouter + BridgeService<br/>Exact provider/model, session IDs<br/>Durable receipts and bounded monitoring"]
    Native["Native workers<br/>Codex app-server / Claude stream-json<br/>ACP v1: OpenCode, Grok Build, enrolled adapters"]
    Work["Detached Git worktrees<br/>Owner verifier + SHA-256 change evidence"]
    State[("Owner-local files<br/>JSON snapshots, routing receipts<br/>Protected credentials and runtime records")]
    Gateway <-->|"HTTP to 127.0.0.1<br/>Bridge OAuth bearer on /mcp"| Bridge
    Bridge <-->|"Validated agent_* calls"| Router
    Router <-->|"Child-process stdio protocols"| Native
    Native <-->|"Repository edits and project checks"| Work
    Router <-->|"Persist / recover"| State
    Router -->|"Verify then finish"| Work
  end
  Bot <-->|"MCP over HTTPS<br/>T3 OAuth credential"| Relay
  Bot <-->|"MCP over HTTPS<br/>Separate bridge OAuth credential"| Gateway
  Native <-->|"Provider-managed network / authentication"| APIs["Selected provider services<br/>Native CLI owns account authentication"]
  classDef core fill:#dbeafe,stroke:#2563eb,color:#10254a
  classDef external fill:#f1f5f9,stroke:#64748b,color:#172033
  class Bridge,Router core
  class Owner,Bot,APIs,Relay,T3,T3Workers external

All five diagrams are saved in docs/diagrams, with editable Mermaid sources and SVG exports. See the full system-design guide for networking, OAuth, task verification, optional integrations and the technology inventory.

Standalone MCP: install once

Requires Node.js 22+, npm, Git and your chosen authenticated coding CLI/ACP adapter. Install the published package from npm:

npm install -g grok-bot-mcp-agent
grok-agent-bridge setup --repository C:/Code/my-project
grok-agent-bridge doctor

Prefer a checksum-verified offline archive? Download the runtime archive from a trusted GitHub release, verify its SHA-256 sidecar, then install it by local path (npm install -g ./grok-bot-mcp-agent-<version>.tgz).

For repositories without a suitable detected test/check command, enroll the real verifier explicitly. Then enroll your exact ACP executable/model, configure a stable owner-controlled HTTPS gateway and approve OAuth locally. Continue with the complete standalone guide; the three commands above alone do not connect Grok Bot's cloud connector to your computer.

Setup persists per-user paths and credentials and configures supported sign-in startup. Workers run in background isolated Git worktrees; no visible terminal or T3 installation is required. A single installed bridge can operate multiple owner-enrolled CLIs. Local MCP hosts can use grok-agent-bridge connect over stdio. Grok Bot uses the authenticated HTTPS/OAuth route. No xAI API key is needed when Grok Bot supplies reasoning.

T3 MCP: connect once

Install and configure T3 Code and its coding provider, enable T3 Connect, then add your environment's HTTPS /mcp URL as a remote Grok Bot connector and approve native OAuth. Do not install this bridge merely to use T3. Follow T3 setup and acceptance and the T3 Bot role.

Permissions, accounts and availability

Use your own accounts and approved authentication. Keep native approvals, administrator controls and budgets in force. Credentials, MFA, CAPTCHA, payment and human-only approvals remain human handoffs. Stop on quota/policy failures; no account rotation, token extraction, silent model substitution or uncertain task replay. The bridge is not an OS sandbox or a multi-tenant credential proxy.

Read the current provider-policy review before use or publication. It covers OpenAI, Anthropic, xAI and other workers, including subscription-versus-API and hosted/commercial boundaries. ACP support and passing tests are not vendor approval, and nobody can guarantee immunity from account restrictions.

CLIProxyAPI-style multi-account pooling, automatic failover on quota/authentication errors, and client fingerprint cloaking are not integrated; the assessment explains the account and contract risk.

A VPN or Tailscale tunnel protects the network path, not the provider account. See remote access and network safety for T3 Connect, Tailscale Serve/Funnel and tunnel boundaries.

The coding computer must stay awake and online with its selected backend and tunnel running. Persisted enrollment is not a promise of indefinite OAuth validity. Native Grok Bot approval cards can still interrupt unattended work; physical reboot and app-closed operation remain separate acceptance limits. Live results and limitations, verification history.

Develop and distribute

npm ci
npm run lint
npm test -- --no-file-parallelism --maxWorkers 1
npm run build
npm run pack:community

The final command builds the installable CLI/MCP runtime and a publisher source kit containing both Bot definitions, with SHA-256 sidecars and a release manifest under build/releases/. Ordinary marketplace users do not need the source kit. Nothing is published, enrolled or installed globally by that build. Distribution guide.

See CONTRIBUTING.md for the directory map and contribution workflow, and the documentation index for all guides. The optional legacy API-key supervisor is documented separately.

Unofficial community integration under MIT; no vendor endorsement, account-policy approval, public npm publication or universal provider certification is implied.