Sniptide

MCP server for Sniptide, a self-hostable pastebin for agents. Search, read and save snippets and apply collections over Streamable HTTP or stdio.

Hosted MCP Server

npx add-mcp 'https://app.sniptide.com/api/mcp'

Installs into Claude Code, Codex, Cursor and more

Documentation

Sniptide

CI Latest release Documentation Sniptide MCP on mcprush

Sniptide

Sniptide is an open-source, self-hostable pastebin for code snippets, configs and secrets, best for developers and small teams who want to share code from their own server and give coding agents access to it through a CLI or MCP server.

Share multi-file pastes with passwords, expiry or burn-after-read links. Organize reusable snippets in collections, sync .env files, and connect coding agents through the CLI or MCP server. Use the hosted app at app.sniptide.com or run your own instance.

Self-host Sniptide

Install with one command

This is the recommended way to self-host Sniptide. On a Linux server with Docker and the Docker Compose plugin, run:

curl -fsSL https://sniptide.com/install.sh | sh

The script asks for your domain, generates the secrets, starts Sniptide and Postgres with Docker Compose, serves your domain over HTTPS through the bundled Caddy proxy, and closes sign-up once your account exists. Run it again in the same folder to upgrade. To install Docker first, run curl -fsSL https://get.docker.com | sh.

To skip the questions, pass the domain:

curl -fsSL https://sniptide.com/install.sh | sh -s -- --domain paste.example.com --yes

The install script guide lists every option and what the script writes.

Install by hand

Set up Docker Compose yourself when you want to manage the files directly or try Sniptide on your own machine:

git clone https://github.com/Dino-Kupinic/sniptide.git
cd sniptide
printf 'BETTER_AUTH_SECRET=%s\nBETTER_AUTH_URL=http://localhost:3000\n' "$(openssl rand -hex 32)" > .env
docker compose up -d

Open localhost:3000 and create an account. On a server, replace BETTER_AUTH_URL with SNIPTIDE_DOMAIN=<your-domain> and add COMPOSE_PROFILES=proxy and SNIPTIDE_BIND=127.0.0.1 so public traffic goes through Caddy over HTTPS. See the self-hosting guide for Docker without Compose, Coolify, configuration, backups and upgrades.

The official Docker image supports AMD64 and ARM64 at ghcr.io/dino-kupinic/sniptide.

Connect a coding agent

Add the MCP server to Claude Code, which signs you in to Sniptide in the browser through OAuth:

claude mcp add --transport http sniptide https://app.sniptide.com/api/mcp

Then start Claude Code, type /mcp, choose sniptide and pick Authenticate to open the browser.

For a client without OAuth, create a token in Settings > API tokens and pass it with --header "Authorization: Bearer $SNIPTIDE_TOKEN".

Use <your-instance-url>/api/mcp on a self-hosted instance. The MCP guide covers Cursor and a local server, and the CLI installs a collection as an agent skill. This repository is also an Agent Plugin: plugin.json bundles the MCP servers in mcp.json with the skills in skills/.

To install the MCP server and the skills as a plugin, run one of these:

# Claude Code
claude plugin marketplace add Dino-Kupinic/sniptide
claude plugin install sniptide@sniptide

# Gemini CLI
gemini extensions install https://github.com/Dino-Kupinic/sniptide

Documentation

The API reference is available at /docs/api on your instance.

License

The app and UI are licensed under AGPL-3.0-only. The client packages and shared contracts are licensed under MIT. See Licensing for the open-source core and hosted services.