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.

image

Setup

1. Install and Configure

# Install PromptBin
pip install promptbin

# Install Dev Tunnels CLI (optional, for public sharing)
promptbin-install-tunnel

# Authenticate with Dev Tunnels (optional, one-time setup)
devtunnel user login -g

# Verify setup
promptbin-setup

2. Add to Your AI Client

Claude Desktop - Add to Settings → Developer → Edit Config:

{
  "mcpServers": {
    "promptbin": {
      "type": "stdio",
      "command": "uvx",
      "args": ["promptbin"]
    }
  }
}

3. Start Using

That's it! PromptBin is now running:

  • Web UI: http://localhost:5001 - Manage and create prompts
  • MCP Server: Ready for AI tool connections

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

Usage Options

# Default: Run both MCP server and web interface
promptbin

# Run only MCP server (for AI tools)
promptbin --mcp

# Run only web interface (standalone)
promptbin --web

# Custom port and options
promptbin --port 8080 --data-dir ~/my-prompts

Development Mode

For development or customization:

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

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 PromptBin first (pip install promptbin). The apps will launch the MCP server themselves.

ChatGPT Desktop (Mac/Windows):

  • Open Settings → Developer → Model Context Protocol.
  • Click "Add Server".
  • Name: PromptBin
  • Command: uvx
  • Args: promptbin

Claude Desktop (Mac/Windows):

  • Open Settings → Developer → Edit Config
"PromptBin": {
            "command": "uvx",
            "args": ["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 uvx is not available, ensure you have uv installed and use pip install promptbin instead.

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.4.1.tar.gz (181.4 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.4.1-py3-none-any.whl (76.5 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for promptbin-0.4.1.tar.gz
Algorithm Hash digest
SHA256 dae7c3df106cf83085361d14560a27a3a32acddf6390cd6eb74a6f5f588ea0cb
MD5 e1e9d9b70929bdef6fcb6338e174033c
BLAKE2b-256 2f1e5b63e0f1c3d1308523fba1a127e4783af35d6ebef68496c1a0b04d72ffd1

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for promptbin-0.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 14b6db7805b536c35c2ca681af78ba6ae3f18cb7459af01d8102f7e804c0299b
MD5 881a676986717016d170a6fe8908662e
BLAKE2b-256 c13b72424288e9511a57d82deafe7a5463bad18b9c99057077b7631f84179d24

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