JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 55
  • Score
    100M100P100Q91423F
  • License MIT

Nitrograph CLI — MCP server + install wizard for the Nitrograph service discovery network

Package Exports

    This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (nitrograph) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    nitrograph

    CLI + MCP server for the Nitrograph service discovery network.

    Nitrograph indexes agent-usable APIs with trust scores, payment rails, and health checks. This package gives any MCP client (Claude Desktop, Cursor, Windsurf, Claude Code) three tools for finding and using those services.

    Install

    npx nitrograph

    The wizard detects installed MCP clients and writes the server entry into each config file (creating a .bak of any existing file first). Restart the client to pick up the new tools.

    Tools

    Tool Purpose
    nitrograph_discover Search the registry by natural-language query, with filters for rail, cost, category. Returns ranked results.
    nitrograph_service_detail Fetch endpoints, OpenAPI spec, cost, base URL, and health for a service slug.
    nitrograph_report_outcome Record success/failure of a call. Feeds the trust score; three connectivity failures mark a service dead.

    Running the server directly

    npx nitrograph server

    Uses stdio transport. For use behind an MCP client, not for direct invocation.

    Config

    ~/.config/nitrograph/config.json:

    {
      "api_url": "https://api.nitrograph.com",
      "wallet": {
        "address": "0x…",
        "network": "base"
      },
      "auto_pay": {
        "enabled": false,
        "max_usdc_per_purchase": 0.1,
        "max_usdc_per_day": 1.0
      }
    }

    The free tier (50 queries/hour/IP) requires no config. Wallet + auto-pay are reserved for future versions that negotiate x402 payments automatically.

    License

    MIT