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

@legionforge/mcp-probe

v0.1.1

Published

Connectivity and configuration advisor for MCP services you own or operate. Configures, connects, diagnoses, and recommends — no network scanning or unauthorized probing.

Readme

mcp-probe

Connectivity and configuration advisor for MCP services you own or operate.

mcp-probe helps developers and operators configure, connect, diagnose, and improve connectivity between AI clients and MCP servers they own or operate. Given a service endpoint, it tests the full connection stack — transport negotiation, authentication, protocol handshake, tool discovery, and client wiring — and tells you exactly what to change and where.

npx @legionforge/mcp-probe probe http://localhost:8100/mcp
npx @legionforge/mcp-probe discover
npx @legionforge/mcp-probe audit
npx @legionforge/mcp-probe ui

Scope

This is an operational diagnostic tool, not a security testing tool. Every target endpoint must be explicitly specified by URL. mcp-probe does not perform network scanning, port discovery, or any form of unauthorized reconnaissance. It is intended for use with MCP services you own, deploy, or have been explicitly authorized to access.


What it does

1. Probe — protocol compliance testing

Tests an MCP server through every layer of the connection stack:

| Check | What it verifies | |-------|-----------------| | Reachability | Server is responding on the given URL | | Authentication | Auth gate rejects bad keys, accepts valid ones | | Transport detection | Auto-detects Streamable HTTP vs legacy SSE | | MCP handshake | Server returns a valid initialize response | | Tool discovery | tools/list returns one or more tools | | Expected tools | All declared tools are present | | Tool invocation | A read-only tool call succeeds end-to-end |

2. Discover — system inventory

Detects which AI clients and MCP runtimes are installed on the current machine:

  • AI clients: Claude Desktop App, Claude Code CLI, VS Code (native MCP), Cursor, Windsurf, Continue
  • Runtimes: Node.js/npx, Deno, Python, uvx, Docker, Bun

3. Audit — client wiring check

For each installed AI client, checks whether each configured MCP server is:

  • Present in the client's config file
  • Actively running via mcp-remote (where applicable)
  • Showing a healthy connection in the client's log files

4. Recommend — actionable configuration advice

Generates specific, ready-to-paste configuration snippets for every client that is missing a server, with the correct format per client (Claude Desktop, Claude Code, VS Code, Cursor, Windsurf).

5. UI — web dashboard

Starts a local web dashboard showing all servers, client wiring, and recommendations in a single view.


Screenshots

Overview

Overview dashboard

Client Wiring

Client wiring matrix

Recommendations

Configuration recommendations

Discovery

System discovery


Installation

# Zero-install (recommended)
npx @legionforge/mcp-probe --help

# Global install
npm install -g @legionforge/mcp-probe

Requires Node.js 20+.

Platform support

v0.1.0 (current): macOS only. Full support for client discovery, audit, and recommendations on macOS.

Future (v1.0+): Windows and Linux support planned. Core probing functionality (mcp-probe probe [url]) works on any platform, but client discovery and config paths need per-platform implementation.


Configuration

Create .mcp-probe.json in your project root (see mcp-probe.example.json):

{
  "servers": [
    {
      "name": "my-server",
      "displayName": "My MCP Server",
      "url": "http://localhost:8100/mcp",
      "auth": {
        "header": "x-api-key",
        "keyFrom": "env",
        "envVar": "MY_MCP_KEY"
      },
      "expectedTools": ["search", "list"],
      "testTool": {
        "name": "search",
        "args": { "query": "test", "limit": 1 }
      }
    }
  ],
  "ui": { "port": 4242 }
}

Auth options

| Method | Config | |--------|--------| | Literal key | "key": "your-key-here" | | Environment variable | "keyFrom": "env", "envVar": "MY_KEY" | | macOS Keychain | "keyFrom": "keychain", "keychainService": "...", "keychainAccount": "..." |


CLI reference

mcp-probe probe [url]           Test an MCP server's protocol compliance
  --auth-header <header>          Auth header name (e.g. x-brain-key)
  --server <name>                 Server name from config to probe
  --timeout <ms>                  Timeout in milliseconds (default: 8000)

mcp-probe audit                 Check client wiring for all configured servers
mcp-probe discover              Detect installed AI clients and runtimes
mcp-probe recommend             Show configuration recommendations
mcp-probe ui [--port 4242]      Start the web dashboard

Global flags:
  --config <path>                 Path to config file
  --json                          Output as JSON (for CI/scripting)

AI client config locations

| Client | Config file | |--------|-------------| | Claude Desktop App / Cowork / Dispatch | ~/Library/Application Support/Claude/claude_desktop_config.json | | Claude Code CLI | ~/.claude/settings.json | | VS Code native MCP (1.99+) | .vscode/mcp.json or user settings.json | | Cursor | ~/.cursor/mcp.json | | Windsurf | ~/.codeium/windsurf/mcp_config.json | | Continue | ~/.continue/config.json |

Important: Claude Desktop App and Claude Code CLI use different config files. The VS Code extension inherits MCP servers from the Desktop App — not from settings.json. If a server is only in settings.json, it will be unavailable in VS Code sessions.


MCP transport quick reference

| Transport | How clients connect | mcp-remote flag | |-----------|--------------------|----| | Streamable HTTP | POST to /mcp with JSON-RPC body | --transport http-only | | Legacy SSE | GET to /sse, then POST to session endpoint | --transport sse-only | | STDIO | Subprocess via stdin/stdout | Direct (no mcp-remote needed) |


Using as a library

import { probeServer, auditClients, generateRecommendations } from "@legionforge/mcp-probe";

const result = await probeServer({
  name: "my-server",
  url: "http://localhost:8100/mcp",
  auth: { header: "x-api-key", key: process.env.MY_KEY },
});

console.log(result.passed, "checks passed,", result.failed, "failed");

License

MIT — © JP Cruz / LegionForge

mcp-probe is intended for use with MCP services you own or are authorized to access. It is not a penetration testing tool and performs no network scanning or unauthorized probing.