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-ide

v0.1.1

Published

Interactive Development Environment for Claude Code - manage processes, terminals, and interactive UIs

Readme

mcp-ide

Interactive Development Environment for Claude Code. Create terminal/process panes, show interactive Ink components & forms, manage dev servers, build TUI dashboards.

Installation

npm install -g mcp-ide

Or use with npx:

npx mcp-ide

Quick Start

  1. Create an mide.yaml in your project:
processes:
  api:
    command: npm run dev
    port: 3000

  frontend:
    command: npm run dev
    cwd: ./frontend
  1. Add to your Claude Code MCP config:
{
  "mcpServers": {
    "ide": {
      "command": "npx",
      "args": ["-y", "mcp-ide"]
    }
  }
}
  1. Use /ide:start or ask Claude to manage your dev environment:
> /ide:start
> "start my dev servers"
> "show me the API logs"
> "restart the frontend"

MCP Tools (8 total)

Process Management

| Tool | Description | |------|-------------| | list_processes | List all processes with status, port, URL, health | | manage_process(name, op) | Start, stop, or restart a process | | get_logs(name, tail?) | Get process logs |

Panes

| Tool | Description | |------|-------------| | create_pane(name, command) | Create a terminal pane | | create_interaction(schema?, ink_file?) | Show interactive Ink form/component | | remove_pane(name) | Remove a pane | | capture_pane(name, lines?) | Capture terminal output |

Status

| Tool | Description | |------|-------------| | set_status(status, message?) | Update window title/status |

Interactive Ink Components

Schema mode - Define forms inline:

create_interaction({
  schema: {
    questions: [
      { question: "What's your name?", header: "Name", inputType: "text" },
      { question: "Select role", header: "Role", options: [
        { label: "Developer" },
        { label: "Designer" }
      ]}
    ]
  },
  title: "User Setup"
})
// Returns: { action: "accept", answers: { Name: "John", Role: "Developer" } }

File mode - Run custom Ink components:

create_interaction({
  ink_file: "color-picker.tsx",  // Relative to .mide/interactive/
  title: "Pick a Color"
})
// Returns: { action: "accept", result: { color: "blue" } }

Writing Ink Components

Create .tsx files in .mide/interactive/ (project) or ~/.mide/interactive/ (global):

import { Box, Text, useInput, useApp } from 'ink';
import { useState } from 'react';

declare const onComplete: (result: unknown) => void;

function ColorPicker() {
  const { exit } = useApp();
  const [selected, setSelected] = useState(0);
  const colors = ['red', 'green', 'blue'];

  useInput((input, key) => {
    if (key.upArrow) setSelected(s => (s - 1 + colors.length) % colors.length);
    if (key.downArrow) setSelected(s => (s + 1) % colors.length);
    if (key.return) {
      onComplete({ color: colors[selected] });
      exit();
    }
    if (key.escape) {
      onComplete({ cancelled: true });
      exit();
    }
  });

  return (
    <Box flexDirection="column">
      <Text bold>Pick a color:</Text>
      {colors.map((color, i) => (
        <Text key={color} color={i === selected ? 'cyan' : 'white'}>
          {i === selected ? '> ' : '  '}{color}
        </Text>
      ))}
    </Box>
  );
}

export default ColorPicker;

Available imports: ink, ink-text-input, ink-select-input, react

Key patterns:

  • onComplete(data) - Return result to Claude (global function)
  • useApp().exit() - Close the component
  • useInput((input, key) => {...}) - Handle keyboard

See .mide/interactive/color-picker.tsx for a complete example.

Configuration

Process Options

| Option | Type | Default | Description | |--------|------|---------|-------------| | command | string | required | Shell command to run | | cwd | string | config dir | Working directory | | port | number | auto-detect | Fixed port (injected as $PORT) | | autoStart | boolean | true | Start automatically | | env | object | {} | Environment variables | | envFile | string | none | Path to .env file | | restartPolicy | string | "onFailure" | always, onFailure, or never | | maxRestarts | number | 5 | Max restart attempts | | healthCheck | string | none | HTTP path for health checks | | dependsOn | string/array | none | Process dependencies |

Settings

settings:
  logBufferSize: 1000        # Log lines to keep per process
  healthCheckInterval: 10000  # Health check interval (ms)
  autoAttachTerminal: true    # Auto-open terminal on start
  terminalApp: auto           # auto, ghostty, iterm, kitty, terminal
  layout: grid                # grid, horizontal, vertical, main-left, main-top

Layout

# Simple presets
layout: grid        # Automatic grid (default)
layout: horizontal  # Side by side
layout: vertical    # Stacked

# Grouped layouts
layout:
  type: rows
  groups:
    servers: [frontend, backend]
    tools: [worker, api]

Dependencies

processes:
  db:
    command: docker compose up postgres
    port: 5432

  api:
    command: npm run dev
    dependsOn: db

License

MIT