sniptide — Claude Code MCP server: what it does, how to install
Connects your Sniptide snippet manager to an AI agent. Useful for pulling code templates, configs, and environment files straight into your editor chat.
AGPL-3.0 ★ 9 updated 2026-10-29
claude mcp add --env SNIPTIDE_TOKEN=<SNIPTIDE_TOKEN> --env SNIPTIDE_BASE_URL=<SNIPTIDE_BASE_URL> --transport stdio sniptide -- npx -y @sniptide/mcpWhat sniptide does
This tool lets coding assistants search, retrieve, and store code snippets hosted on Sniptide. Agents can access team collections, reference configuration files, or upload multi-file pastes without leaving the prompt.
You can point it to the hosted platform or run a self-hosted instance using Docker Compose with Postgres. Connection works via HTTP with browser OAuth or over stdio using npx -y @sniptide/mcp.
Without an OAuth-capable client, you must generate a personal API token in the web interface and supply it through SNIPTIDE_TOKEN.
What it helps with
- search stored code snippets and collections from the chat
- fetch
.envsecrets and configuration files into the project - publish multi-file code pastes directly from agent sessions
- link self-hosted snippet storage to your local coding assistant
Example prompts for the agent
- Search my Sniptide library for the database migration helper
- Fetch the staging
.envconfig from my Sniptide collection - Save this helper script to Sniptide as an expiring snippet
How to install sniptide
1Platform CLI
claude mcp add --env SNIPTIDE_TOKEN=<SNIPTIDE_TOKEN> --env SNIPTIDE_BASE_URL=<SNIPTIDE_BASE_URL> --transport stdio sniptide -- npx -y @sniptide/mcpReplace <…> with your own values
2Platform CLI: remote server
claude mcp add --transport http sniptide https://app.sniptide.com/api/mcp1Platform CLI: remote server
codex mcp add sniptide --url https://app.sniptide.com/api/mcp2Platform CLI
codex mcp add sniptide --env SNIPTIDE_TOKEN=<SNIPTIDE_TOKEN> --env SNIPTIDE_BASE_URL=<SNIPTIDE_BASE_URL> -- npx -y @sniptide/mcpReplace <…> with your own values
Config file
{
"mcpServers": {
"sniptide": {
"url": "https://app.sniptide.com/api/mcp"
}
}
}{
"mcpServers": {
"sniptide": {
"command": "npx",
"args": [
"-y",
"@sniptide/mcp"
],
"env": {
"SNIPTIDE_TOKEN": "<SNIPTIDE_TOKEN>",
"SNIPTIDE_BASE_URL": "<SNIPTIDE_BASE_URL>"
}
}
}
}Replace <…> with your own values
Config file
{
"servers": {
"sniptide": {
"type": "http",
"url": "https://app.sniptide.com/api/mcp"
}
}
}{
"servers": {
"sniptide": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@sniptide/mcp"
],
"env": {
"SNIPTIDE_TOKEN": "<SNIPTIDE_TOKEN>",
"SNIPTIDE_BASE_URL": "<SNIPTIDE_BASE_URL>"
}
}
}
}Replace <…> with your own values
1Platform CLI: remote server
gemini mcp add -t http sniptide https://app.sniptide.com/api/mcp2Platform CLI
gemini mcp add -e SNIPTIDE_TOKEN=<SNIPTIDE_TOKEN> -e SNIPTIDE_BASE_URL=<SNIPTIDE_BASE_URL> sniptide npx -y @sniptide/mcpReplace <…> with your own values
Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about sniptide
How to install sniptide in Claude Code?
Run claude mcp add --transport http sniptide https://app.sniptide.com/api/mcp in your terminal. Complete the sign-in prompt in your web browser.
What does the sniptide MCP server do?
It bridges your AI assistant to Sniptide. The agent can look up existing snippets, inspect stored configuration files, and manage saved code.
Can I connect sniptide to a self-hosted instance?
Yes, replace the default host URL with <your-instance-url>/api/mcp. If you run the stdio transport via npx, supply your server endpoint through SNIPTIDE_BASE_URL.