Skip to main content

Easy-to-use MCP server for prompt management with web interface and secure sharing

Project description

PromptBin - MCP Server Example

The easiest way to run a Model Context Protocol (MCP) server with full prompt management.

Quick Start

# Install from PyPI
uv add promptbin

# Run MCP server (auto-launches web interface)
uv run promptbin-mcp

That's it! PromptBin is now running as an MCP server with a web interface at http://localhost:5000.

Add to AI Tools

Claude Desktop (Mac/Windows)

Open Settings → Developer → Edit Config and add:

{
  "mcpServers": {
    "promptbin": {
      "command": "uv",
      "args": ["run", "promptbin-mcp"],
      "workingDirectory": "/path/to/your/project"
    }
  }
}

ChatGPT Desktop (Mac/Windows)

  • Open Settings → Developer → Model Context Protocol
  • Click "Add Server"
  • Name: promptbin
  • Command: uv
  • Args: run promptbin-mcp

Key Features

  • 🚀 Easy setup: One command to get started
  • 🔗 MCP integration: Full Model Context Protocol support
  • 🌐 Web interface: Auto-launching prompt management UI
  • 🔒 Secure sharing: Share prompts via Dev Tunnels with rate limiting
  • 📁 Local-first: Your data stays private, stored locally
  • ⚙️ Production-ready: Comprehensive logging and error handling

Alternative Usage

Standalone Web Interface

Run just the web interface without MCP:

uv run promptbin

Open your browser to http://localhost:5001

Development Mode

For development or customization:

git clone https://github.com/ianphil/promptbin
cd promptbin
uv sync
uv run promptbin-mcp

What You Get

  • Complete MCP server - Full Model Context Protocol implementation
  • Auto-launching web UI - Prompt management interface at localhost:5000
  • AI tool integration - Works with Claude Desktop, ChatGPT Desktop
  • Secure sharing - Share prompts publicly via Dev Tunnels
  • File-based storage - No database required, organized by category
  • Cross-platform - Windows, macOS, Linux support
  • Production-ready - Rate limiting, logging, graceful shutdown

Advanced Features

Secure Public Sharing (Optional)

PromptBin includes Microsoft Dev Tunnels integration for sharing prompts publicly:

# Install Dev Tunnels CLI
uv run promptbin-install-tunnel

# Authenticate (one-time setup)
devtunnel user login -g

# Start PromptBin, then click "Start Tunnel" in the footer

Now your shared prompts get public URLs that work from anywhere. Includes automatic rate limiting and security protections.

For detailed setup instructions, see TUNNELS.md.

System Validation

# Check if your system is ready
uv run promptbin-setup

Add MCP Server to ChatGPT & Claude (Desktop)

Prereq: install deps first (uv sync). The apps will launch the MCP server themselves.

ChatGPT Desktop (Mac/Windows):

  • Open Settings → Developer → Model Context Protocol.
  • Click “Add Server”.
  • Name: PromptBin
  • Command: uv
  • Args: run python mcp_server.py
  • Working directory: path to this repo.

Claude Desktop (Mac/Windows):

  • Open Settings → Developer → Edit Config
"PromptBin": {
            "command": "/Users/ianphil/.local/bin/uv",
            "args": [
                "run",
                "/Users/ianphil/src/promptbin/.venv/bin/python",
                "/Users/ianphil/src/promptbin/mcp_server.py"
            ],
            "workingDirectory": "/Users/ianphil/src/promptbin"
        }

Notes:

  • After adding, you can list/search prompts via the PromptBin MCP tools. The MCP server also starts the local web UI on http://127.0.0.1:<port>.
  • If uv is not on PATH, replace uv with the full path or use your Python venv: python mcp_server.py.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

promptbin-0.1.0.tar.gz (121.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

promptbin-0.1.0-py3-none-any.whl (167.2 kB view details)

Uploaded Python 3

File details

Details for the file promptbin-0.1.0.tar.gz.

File metadata

  • Download URL: promptbin-0.1.0.tar.gz
  • Upload date:
  • Size: 121.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.15

File hashes

Hashes for promptbin-0.1.0.tar.gz
Algorithm Hash digest
SHA256 6e3400d7b72ec55e8b6c6e50336a4e59af1590ab3b1e35af1d2818561a1d2fe1
MD5 c9f87fabad9110a4737964b923083438
BLAKE2b-256 cc53245acdad6c8cdb04ccb803edfaf9cafbf978a87bcb9d2e3fada384112136

See more details on using hashes here.

File details

Details for the file promptbin-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: promptbin-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 167.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.15

File hashes

Hashes for promptbin-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 21df3bfc7a9f0102cb6871c13656c42ec63922f68590f0742b9e2370414dc69b
MD5 e7c744cdf402cce8343ed812bac2f4e3
BLAKE2b-256 d7c06cb53332ab6bf692c257c98c88c7facb6830dbb6bc12f5bd230e3ce8d67d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page