Skip to content

dino-kupinic/sniptide

v0.2.0AGPL-3.0-only

Search, read and save Sniptide snippets and collections from a coding agent, through the Sniptide MCP server and three skills.

Sniptide

A self-hostable pastebin for code snippets, configs, and secrets. 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.

Self-host

Run Sniptide and Postgres with Docker Compose:

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. Use your public HTTPS URL for BETTER_AUTH_URL when deploying to a server. See the self-hosting guide for HTTPS, 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

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/.

Documentation

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

License

AGPL-3.0