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

mcpgraph-ux

v0.1.4

Published

Visual interface for mcpGraph - visualize and test MCP tool execution graphs

Readme

mcpGraph UX

A Next.js application that provides a visual interface for the mcpGraph npm module. This application allows you to:

  • Visualize graphs: View your mcpGraph configuration as an interactive graph using React Flow
  • List tools: See all available MCP tools defined in your graph configuration
  • Test tools: Execute tools with custom parameters and view results from the exit node

mcpGraph UX Screenshot

Features

  • 🎨 Graph Visualization: Interactive graph visualization using React Flow, showing all nodes and their connections
  • 🔧 Tool Testing: Test each MCP tool with a user-friendly form interface
  • 📊 Real-time Results: View execution results directly in the UI
  • 🎯 Tool Filtering: Filter graph visualization by selected tool

Prerequisites

  • Node.js >= 20.0.0
  • The mcpGraph module (should be in ../mcpGraph relative to this project)

Installation

  1. Install dependencies:
npm install
  1. Ensure the mcpGraph module is built and available at ../mcpGraph

Usage

Start the server with a port and path to your mcpGraph YAML configuration file:

npm run server <port> <config-path>

Examples

# Run on port 3000 with example config
npm run server 3000 ../mcpGraph/examples/count_files.yaml

# Run on port 8080 with custom config
npm run server 8080 /path/to/your/graph.yaml

The server will:

  1. Load and validate the mcpGraph configuration
  2. Start the Next.js server on the specified port
  3. Make the configuration available through API routes

Once running, open your browser to http://localhost:<port> to access the UI.

Development

For development with hot-reloading:

npm run dev

Note: In development mode, you'll need to set the MCPGRAPH_CONFIG_PATH environment variable:

MCPGRAPH_CONFIG_PATH=/path/to/config.yaml npm run dev

Project Structure

.
├── app/                    # Next.js app directory
│   ├── api/               # API routes
│   │   ├── tools/         # Tool listing and execution endpoints
│   │   └── graph/         # Graph data endpoint
│   ├── layout.tsx         # Root layout
│   ├── page.tsx           # Main page
│   └── globals.css        # Global styles
├── components/            # React components
│   ├── GraphVisualization.tsx  # React Flow graph component
│   ├── ToolList.tsx       # Tool sidebar component
│   └── ToolTester.tsx    # Tool testing form component
├── server.ts             # Custom server entry point
└── package.json          # Dependencies and scripts

API Endpoints

  • GET /api/tools - List all available tools
  • GET /api/tools/[toolName] - Get information about a specific tool
  • POST /api/tools/[toolName] - Execute a tool with provided arguments
  • GET /api/graph - Get graph structure (nodes and edges) for visualization

Design

This application follows the design recommendations from the mcpGraph project:

  • React Flow for graph visualization (as recommended in the design docs)
  • Next.js for the web framework
  • TypeScript for type safety

License

MIT

TODO

Would be nice to be able to inspect nodes in graph