TS

inspector

by MCPJam/inspector

0 views

Postman for MCPs - A tool for testing and debugging MCPs

nodejstypescriptDebugging & Testing
MCPJam logo

MCPJam Inspector

The developer tool for testing and debugging MCP servers

npm version npm downloads License: Apache 2.0 Node.js TypeScript Discord


Quick Start

Get up and running in seconds with the MCPJam Inspector:

npx @mcpjam/inspector@latest

That's it! The inspector will launch automatically in your browser at http://localhost:6274.

Running with Docker

You can also run the inspector using Docker. First, make sure you have Docker installed and running.

Pull the latest image from Docker Hub:

docker pull mcpjam/mcp-inspector:main

Then, run the container:

docker run --rm -p 6274:6274 -p 6277:6277 mcpjam/mcp-inspector:main

The inspector will be available in your browser at http://127.0.0.1:6274.


๐Ÿ“ธ Screenshots

MCPJam Inspector Interface

โœจ Core Features

This project is a fork of the @modelcontextprotocol/inspector. Many of the features are the same but with some enhancements. Key features include:

  • STDIO / SSE / Streamable HTTP - This inspector supports all three protocols. Connect to any MCP server.
  • Tool Execution - Run server tools with live parameter input. Easily debug errors.
  • (New) LLM tool interaction - Test your MCP server against a real LLM.
  • Debugging tools - Enhanced logging experience to debug your server.
  • Quality of life improvements - Save requests, multi-server connection, saved connections.

๐Ÿ“‹ Requirements

  • Node.js: ^22.7.5 or higher
  • npm: ^10.0.0 or higher (comes with Node.js)

๐ŸŽฏ Usage Examples

Basic Usage

# Launch inspector with default settings
npx @mcpjam/inspector

Connect to Local Server

# Connect to a server built at build/index.js
npx @mcpjam/inspector node build/index.js

Connect with Arguments

# Pass custom arguments to your server
npx @mcpjam/inspector node server.js --port 3000 --debug

Using Configuration File

# Load servers from a config file
npx @mcpjam/inspector --config ./my-config.json

Example Configuration File

{
  "mcpServers": {
    "my-awesome-server": {
      "command": "node",
      "args": ["build/index.js"],
      "env": {
        "API_KEY": "your-api-key",
        "DEBUG": "true"
      }
    },
    "python-server": {
      "command": "python",
      "args": ["-m", "my_mcp_server"],
      "env": {
        "PYTHONPATH": "./src"
      }
    }
  }
}

๐Ÿ—๏ธ Architecture

The MCPJam Inspector is built as a modern monorepo with three main components:

๐Ÿ“ฆ @mcpjam/inspector
โ”œโ”€โ”€ ๐Ÿ–ฅ๏ธ  client/     # React + TypeScript frontend
โ”œโ”€โ”€ ๐Ÿ”ง  server/     # Express.js backend with WebSocket support
โ””โ”€โ”€ ๐Ÿš€  cli/        # Command-line interface

Tech Stack

  • Frontend: React 18, TypeScript, Tailwind CSS, Radix UI
  • Backend: Express.js, WebSocket (ws), CORS support
  • CLI: Node.js with shell integration
  • Build Tools: Vite, TSC, Concurrently

๐Ÿ› ๏ธ Development

Local Development Setup

# Clone the repository
git clone https://github.com/mcpjam/inspector.git
cd inspector

# Install dependencies
npm install

# Start development servers
npm run dev

Build for Production

# Build all components
npm run build

# Test the build
npm run start

Scripts for development

We put together these commands to help you build locally:

ScriptDescription
npm run devStart development servers (client + server)
npm run buildBuild all components for production
npm run testRun test suite
npm run prettier-fixFormat code with Prettier
npm run cleanClean all build artifacts and reinstall

๐Ÿค Contributing

We welcome contributions! We thought the original inspector repository moved too slowly, so we wanted to build this project ourselves.

  1. Clone the repository
  2. Create a feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

๐Ÿ—บ๏ธ Our Roadmap

We're continuously improving the MCPJam Inspector. Here's what's coming next:

UI/UX Improvements

  • Fix dark mode styling - Improve run tool button appearance in dark mode
  • Enhanced logging UX - Address misleading red color for INFO logs

Core Features

  • AI parameter fill - Smart parameter completion using AI
  • Collections - Organize and group your MCP servers / tools
  • Multi Provider support - Support for other LLMs like ChatGPT

Technical Enhancements

  • Security scanning - Built-in vulnerability scanning tools
  • Electron App - Desktop application for enhanced user experience

Ecosystem

  • Landing page improvements - Update MCP Jam landing page
  • Documentation expansion - Enhanced guides and tutorials

Development Guidelines

  • Follow the existing code style (Prettier + ESLint)
  • Update documentation as needed

๐Ÿ“š Resources


๐Ÿ“„ License

This project is licensed under the Apache License 2.0 - see the LICENSE file for details.


Made with โค๏ธ by the MCPJam team

Install

{
  "mcpServers": {
    "inspector": {
      "command": "node",
      "args": [
        "build/index.js"
      ]
    }
  }
}
For more configuration details, refer to the content on the left

Related

Related projects feature coming soon

Will recommend related projects based on sub-categories