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 🙏

© 2025 – Pkg Stats / Ryan Hefner

@stablestudio/mcp-server

v0.2.1

Published

MCP server for StableStudio AI image and video generation

Readme

StableStudio MCP Server

MCP server for AI image/video generation with USDC micropayments on Base.

Install

Claude Code

claude mcp add stablestudio -- npx -y @stablestudio/mcp-server@latest

Codex

codex mcp add stablestudio -- npx -y @stablestudio/mcp-server@latest

Cursor

Install MCP Server

Claude Desktop

Add to Claude

Claude Code - Already installed via command above.

Codex - Add to ~/.codex/config.toml:

[mcp_servers.stablestudio]
command = "npx"
args = ["-y", "@stablestudio/mcp-server@latest"]

Cursor - Add to .cursor/mcp.json:

{
  "mcpServers": {
    "stablestudio": {
      "command": "/bin/bash",
      "args": ["-c", "source $HOME/.nvm/nvm.sh 2>/dev/null; exec npx -y @stablestudio/mcp-server@latest"]
    }
  }
}

Claude Desktop - Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):

{
  "mcpServers": {
    "stablestudio": {
      "command": "/bin/bash",
      "args": ["-c", "source $HOME/.nvm/nvm.sh 2>/dev/null; exec npx -y @stablestudio/mcp-server@latest"]
    }
  }
}

Usage

On first run, a wallet is generated at ~/.stablestudio/wallet.json. Deposit USDC on Base to the wallet address before generating.

Workflow:

  1. get_wallet - Check balance
  2. open_deposit - Get deposit instructions if needed
  3. generate_image_* or generate_video_* - Start generation
  4. poll_jobwait(15)poll_job - Repeat until complete
  5. download - Save result to disk

Veo 3.1 Frame Interpolation

image_to_video_veo supports first/last-frame interpolation by providing both a starting frame and an optional ending frame.

How to use:

  1. Upload your first and last frames with upload_image.
  2. Call image_to_video_veo with imageUrl (first frame) and lastFrameUrl (last frame):
// 1) Upload frames (returns a URL each time)
{ "tool": "upload_image", "path": "/path/first.png" } // -> firstFrameUrl
{ "tool": "upload_image", "path": "/path/last.png" }  // -> lastFrameUrl

// 2) Interpolate between them
{
  "tool": "image_to_video_veo",
  "imageUrl": "<firstFrameUrl>",
  "lastFrameUrl": "<lastFrameUrl>",
  "prompt": "Camera slowly pans from first to last frame",
  "durationSeconds": "8",
  "resolution": "1080p"
}

If you omit lastFrameUrl, Veo generates video using only the first frame (standard image-to-video).

Tools (19)

| Tool | Cost | |------|------| | get_wallet | Free | | open_deposit | Free | | upload_image | $0.01 | | download | Free | | generate_image_nano_banana | $0.039 | | generate_image_nano_banana_pro | $0.13-0.24 | | generate_image_gpt4 | $0.01-0.17 | | edit_image_nano_banana | $0.039 | | edit_image_nano_banana_pro | $0.13-0.24 | | edit_image_gpt4 | $0.01-0.17 | | generate_video_wan25 | $0.07-0.10/sec | | generate_video_sora | $0.10-0.50/sec | | generate_video_veo | $0.40/sec | | image_to_video_wan25 | $0.07-0.10/sec | | image_to_video_sora | $0.10-0.50/sec | | image_to_video_veo | $0.40/sec | | poll_job | Free | | list_jobs | Free | | wait | Free |

Environment

| Variable | Description | |----------|-------------| | STABLESTUDIO_PRIVATE_KEY | Override wallet (optional) | | STABLESTUDIO_NETWORK | base (default) or base-sepolia |

Develop

# From repo root
pnpm install
cd packages/mcp-server

# Add local server to Claude Code
claude mcp add stablestudio-dev -- npx tsx /path/to/packages/mcp-server/src/index.ts

# Build
pnpm build

# Typecheck
pnpm typecheck