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

@day2-ai/mcp-server

v1.1.0

Published

MCP Server for Agent Hub — connects AI-powered IDEs (Claude Code, Cursor, Copilot, Cline, Windsurf) to CI/CD monitoring, compliance scanning, and deployment automation

Readme

@day2-ai/mcp-server

MCP (Model Context Protocol) server for Agent Hub — connects AI-powered IDEs to CI/CD monitoring, compliance scanning, and deployment automation.

Supported IDEs

  • Claude Code (recommended) — native MCP support
  • Cursor — MCP via settings
  • GitHub Copilot — MCP via VS Code settings
  • Cline — MCP via extension
  • Windsurf — built-in MCP
  • Any IDE supporting the MCP protocol

Quick Start

1. Get your token

Visit Agent Hub → Settings → IDE Integration and generate an MCP token.

2. Configure your IDE

Claude Code (CLI):

claude mcp add agent-hub -- npx -y @day2-ai/mcp-server@latest

Then set the env vars in ~/.claude/settings.json:

{
  "mcpServers": {
    "agent-hub": {
      "command": "npx",
      "args": ["-y", "@day2-ai/mcp-server@latest"],
      "env": {
        "AGENT_HUB_URL": "https://hub.day2-ai.com",
        "AGENT_HUB_TOKEN": "YOUR_TOKEN_HERE"
      }
    }
  }
}

Other IDEs — add the same JSON block to your IDE's MCP config file.

Environment Variables

| Variable | Required | Description | |----------|----------|-------------| | AGENT_HUB_TOKEN | Yes | Your MCP authentication token (get from Agent Hub settings) | | AGENT_HUB_URL | No | Agent Hub URL (default: https://hub.day2-ai.com) | | GITHUB_TOKEN | No | GitHub PAT for CI/CD monitoring (enables workflow error extraction) | | REDIS_URL | No | Redis URL for persistent sessions (falls back to in-memory) |

Available Tools

CI/CD Monitoring

  • cicd_start_monitoring — Monitor GitHub Actions workflows
  • cicd_check_status — Check workflow status
  • cicd_get_errors — Extract errors from failed runs
  • cicd_mark_fixed — Signal a fix was pushed
  • cicd_list_workflows — List repo workflows
  • cicd_get_run_errors — Get errors from a specific run

Auto-Fix Loop

  • cicd_auto_fix_start — Start automated fix session
  • cicd_commit_and_push — Commit and push a fix
  • cicd_abort_session — Stop a fix session
  • cicd_get_session_status — Get session details
  • cicd_list_auto_fix_sessions — List all sessions

Compliance Scanning

  • compliance_scan — Scan repo for deployment compliance
  • compliance_get_fixes — Get fix instructions
  • compliance_apply_fix — Report a fix was applied
  • compliance_report_push — Report push for re-scan
  • compliance_get_status — Get scan status
  • compliance_create_fix_branch — Create isolated fix branch
  • compliance_get_deployment_standards — Get all requirements
  • compliance_check_deployment_ready — Quick readiness check

Deployment Management

  • deployment_get_errors — Get deployment failure details with fix guidance
  • deployment_retry — Retry failed deployments
  • deployment_get_progress — Monitor deployment progress (0-100%)
  • deployment_list_failed — List recent failures

Repository Integration Scanning

  • scan_repository_integrations — Detect required APIs, databases, and services

n8n Workflow Automation

  • n8n_create_workflow — Create workflows from natural language
  • n8n_deploy_workflow — Deploy to n8n instance
  • n8n_execute_workflow — Trigger execution
  • n8n_list_workflows — List all workflows
  • n8n_get_template — Get pre-built templates
  • n8n_search_nodes — Search available nodes

Usage Example

You: Monitor the CI/CD for my-org/my-repo

Agent: Started monitoring my-org/my-repo (main branch)
       ❌ Workflow failed with 3 errors.

You: What are the errors?

Agent: Error 1: Type error in src/Button.tsx:15
       Type 'string' is not assignable to type 'number'

       [Agent fixes the code and pushes]

Agent: ✅ All checks passed! Ready for deployment.

Architecture

┌──────────────┐     ┌────────────────┐     ┌──────────────┐
│  Your IDE    │────▶│  MCP Server    │────▶│  Agent Hub   │
│  (any IDE)   │◀────│  (stdio/npx)   │◀────│  API         │
└──────────────┘     └────────────────┘     └──────────────┘
                            │
                     ┌──────┴──────┐
                     ▼             ▼
              ┌───────────┐ ┌──────────┐
              │  GitHub   │ │  Redis   │
              │  Actions  │ │(optional)│
              └───────────┘ └──────────┘

Security

  • Tokens authenticate against Agent Hub — never stored locally
  • GitHub token requires minimal repo + actions scopes
  • Sessions expire after 24 hours
  • Redis is optional — in-memory fallback for local use

License

MIT