New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

mcpanvil

Package Overview
Dependencies
Maintainers
0
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mcpanvil

MCPAnvil - Where AI agents forge connections with Model Context Protocol servers

latest
npmnpm
Version
1.0.0
Version published
Weekly downloads
0
-100%
Maintainers
0
Weekly downloads
 
Created
Source

MCPAnvil - Where AI Agents Forge MCP Connections

MCPAnvil is a comprehensive directory of Model Context Protocol (MCP) servers, optimized for AI agents and developers. Live at mcpanvil.com.

Features

  • 1,000+ MCPs Indexed: Comprehensive coverage from multiple sources
  • 27 Categories: Smart categorization with only 13% uncategorized
  • Agent-Optimized: JSON API designed for LLM consumption
  • Queue-Based Crawler: Redis queue architecture prevents corruption
  • Static Generation: Lightning fast, CDN-hosted, no backend
  • Daily Updates: Automated crawling keeps data fresh

Architecture

GitHub Sources → Redis Queue → Workers → SQLite → Static Site → CloudFront CDN

Quick Start

Prerequisites

  • Node.js 18+
  • Redis (Docker preferred)
  • GitHub token (for API rate limits)

Setup

  • Install dependencies:
npm install
  • Configure environment:
cp .env.example .env
# Add your GitHub token
  • Start Redis:
docker-compose up -d
  • Initialize database:
sqlite3 database/mcpanvil.db < database/schema.sql
node database/init-sources.js
  • Run the crawler:
./scripts/start-crawler.sh
# Monitor with: node scripts/monitor-queues.js
  • Build static site:
npm run build
  • Deploy:
npm run deploy aws mcpanvil-site

API Endpoints

AI agents can access:

  • /api/mcps.json - Complete MCP database
  • /api/categories.json - Category statistics
  • /api/by-tool/{tool}.json - MCPs by tool (claudeDesktop, vscode, etc.)

Example Usage

// Fetch all MCPs
fetch('https://mcpanvil.com/api/mcps.json')
  .then(r => r.json())
  .then(mcps => console.log(`Found ${mcps.length} MCPs`));

// Get categories
fetch('https://mcpanvil.com/api/categories.json')
  .then(r => r.json())
  .then(cats => console.log('Categories:', cats));

Data Schema

{
  "id": "github-owner-repo",
  "name": "mcp-name",
  "description": "What this MCP does",
  "repository": "https://github.com/owner/repo",
  "stars": 123,
  "categories": ["ai", "dev-tools"],
  "installation": {
    "claudeDesktop": { /* config */ },
    "vscode": { /* config */ },
    "npx": "npx -y mcp-name"
  },
  "last_crawled": "2025-07-25T19:09:23Z"
}

Project Structure

mcp-site/
├── crawler/           # Queue-based crawler system
│   ├── producer.js   # Discovers MCPs from sources
│   ├── worker.js     # Validates and fetches data
│   └── consumer.js   # Writes to database
├── database/         # SQLite database
│   ├── schema.sql    # Database structure
│   └── db.js        # Database abstraction
├── scripts/         # Build and deploy scripts
├── public/          # Static site assets
└── docs/           # Detailed documentation

Documentation

Key Features

Redis Queue Architecture

Prevents database corruption with single-writer pattern:

  • Producer queues GitHub URLs
  • Workers fetch in parallel
  • Consumer writes sequentially

Smart Categorization

27 categories detected via keywords:

  • Technical: ai, dev-tools, api, database, cloud
  • Domain: finance, ecommerce, education, legal
  • Media: audio, video, gaming, entertainment
  • Only 13% remain uncategorized

Incremental Updates

  • Tracks last_modified timestamps
  • Preserves existing data
  • Efficient daily refreshes

Contributing

  • Add new sources to database/sources table
  • Improve category keywords in crawler/consumer.js
  • Enhance MCP detection logic in crawler/worker.js

Technical Stack

  • Backend: Node.js, SQLite, Redis, Bull
  • Frontend: Vanilla JS, No framework
  • Infrastructure: AWS S3 + CloudFront
  • CI/CD: Local cron jobs (for now)

License

MIT

FAQs

Package last updated on 26 Jul 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts