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

mcp-manifest

v1.0.0

Published

Universal MCP manifest: auto-discovery, validation, and config generation for MCP servers

Downloads

96

Readme

mcp-manifest

Universal MCP manifest for auto-discovery, validation, and config generation.

The problem: Installing MCP servers requires manual JSON editing, reading READMEs, and guessing config formats. Every client (Claude, Cursor, Windsurf) has a different config file and structure.

The solution: A machine-readable manifest (mcp-manifest.json) that describes how to install, configure, and connect to any MCP server. Clients auto-discover it, users get one-click setup.

Quick Start

# Generate a manifest from your MCP server
npx mcp-manifest init

# Validate it
npx mcp-manifest validate

# Generate Claude Code config from a manifest
npx mcp-manifest convert mcp-manifest.json -c claude --set API_KEY=sk_xxx

# Discover a server's manifest from its URL
npx mcp-manifest discover centralintelligence.online

# Test a server's discovery endpoints
npx mcp-manifest test centralintelligence.online

What's in a Manifest?

{
  "manifest_version": "1.0",
  "server": {
    "name": "My MCP Server",
    "description": "What it does",
    "version": "1.0.0"
  },
  "install": [{ "type": "npm", "package": "my-server", "command": "npx", "args": ["my-server"] }],
  "config": [{ "name": "API_KEY", "required": true, "secret": true, "obtain_url": "https://..." }],
  "transport": { "stdio": { "command": "npx", "args": ["my-server"], "env": { "API_KEY": "{{API_KEY}}" } } },
  "tools": [{ "name": "my_tool", "description": "What it does" }],
  "when_to_use": { "heuristic": "Use when you need persistent storage" },
  "pricing": { "model": "freemium", "free_tier": "100 calls/month" }
}

Commands

mcp-manifest init

Generates mcp-manifest.json from your project's package.json and server.json (MCP registry format).

mcp-manifest validate [file]

Validates a manifest against the JSON Schema. Reports errors and warnings with suggestions.

mcp-manifest discover <url>

Auto-discovers a manifest from:

  1. /.well-known/mcp-manifest.json (recommended)
  2. <link rel="mcp-manifest"> in HTML
  3. Local file

mcp-manifest convert <file> -c <client>

Generates client-specific config. Supported clients:

  • claude~/.claude/settings.json
  • cursor~/.cursor/mcp.json
  • windsurf~/.codeium/windsurf/mcp_config.json
  • vscode~/.vscode/mcp.json

Use --set KEY=VALUE to fill in config values:

npx mcp-manifest convert mcp-manifest.json -c claude --set API_KEY=sk_xxx

mcp-manifest test <url>

Tests a server's manifest discovery endpoints (well-known URL, HTML link tag).

Hosting Your Manifest

Add to your server's web endpoint:

GET /.well-known/mcp-manifest.json → your manifest JSON

And/or add to your HTML:

<link rel="mcp-manifest" href="/.well-known/mcp-manifest.json">

Schema Extensions Beyond Basic MCP

This manifest spec extends the basic MCP server description with:

  • when_to_use — heuristics for when agents should call your server (scenarios, anti-patterns)
  • pricing — pricing model, free tier details, x402 payment protocol config
  • clients — pre-built config templates for popular MCP clients
  • config.obtain_url — where users can get API keys or credentials
  • config.prompt — human-readable prompt for interactive setup

Programmatic API

import { validate, generate, discover, convert } from "mcp-manifest";

// Validate
const result = validate(manifestJson);
console.log(result.valid, result.warnings);

// Generate from project
const manifest = generate("./my-mcp-server");

// Discover from URL
const found = await discover("centralintelligence.online");

// Convert to client config
const config = convert(manifest, "claude", { API_KEY: "sk_xxx" });

JSON Schema

The full JSON Schema is at schema/mcp-manifest.schema.json.

Contributing

PRs welcome. Areas we'd love help with:

  • Additional client config templates (Cline, Continue, etc.)
  • Python/Go/Rust manifest generators
  • MCP spec proposal for standardizing the manifest format

License

MIT