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

@automcp.app/cli

v1.0.3

Published

AutoMCP - Automated API Client Generation CLI

Readme

AutoMCP - Automated API Client Generation

AutoMCP is a powerful CLI tool that automatically generates MCP servers from documentation. It supports scraping API documentation from URLs or direct input and generates fully functional, published servers.

Features

  • 🤖 AI-powered documentation parsing using multiple providers:
    • OpenAI
    • Google Gemini
    • Anthropic
  • 📚 Multiple documentation input methods:
    • URL scraping (supports multiple URLs)
    • Direct text input
  • 🔄 Automatic server generation
  • 📦 NPM package publishing support
  • ⚡ Server-Sent Events (SSE) support
  • 🔒 Api Key Authentication

Prerequisites

  • Node.js (v14 or higher)
  • NPM account (for publishing)
  • API key for one of the supported AI providers:
    • OpenAI API key
    • Google Gemini API key
    • Anthropic API key

Installation

npm install -g @automcp.app/cli

Configuration

Set up your environment variables for the AI provider you want to use:

# For OpenAI
export OPENAI_API_KEY=your_api_key

# For Google Gemini
export GEMINI_API_KEY=your_api_key

# For Anthropic
export ANTHROPIC_API_KEY=your_api_key

Usage

  1. Run the CLI tool:
automcp
  1. Follow the interactive prompts:
    • Select an AI provider
    • Enter a name for your server
    • Choose documentation source (URLs or direct input)
    • Provide API documentation
    • Choose whether to publish to NPM

Running Generated Server

If you choose not to publish to NPM, you can run the server locally:

cd servers/<your-server-name>
npm install
npm run build
npm start -- --sse

Client Configuration

The generated server can be accessed in clients like Cursor using one of two configurations in your .cursor/mcp.json file:

  1. For locally running servers:
"mcp": {
  "url": "http://localhost:3001/sse"
}
  1. For NPM published servers:
"mcp": {
  "command": "npx",
  "args": [
    "-y",
    "@path-to/your-package-name@latest"
  ]
}

Publishing to NPM

When publishing to NPM, you can choose between:

  • Your personal NPM scope (@username/package-name)
  • AutoMCP scope (@automcp.app/package-name)

Make sure you're logged in to NPM before publishing:

npm login

Output Structure

The generated server will have the following structure:

servers/<your-server-name>/
├── index.ts           # Main server file with MCP implementation
├── package.json       # Project dependencies and scripts
├── tsconfig.json     # TypeScript configuration
├── .gitignore        # Git ignore rules
├── README.md         # Server documentation
└── dist/             # Compiled JavaScript output (after build)

Error Handling

  • The tool validates API keys before processing
  • Provides detailed error messages for failed URL scraping
  • Validates server name format
  • Checks NPM login status before publishing