Code Snippet Server
Overview
Code Snippet Server is a Model Context Protocol (MCP) server designed to manage and store code snippets across different programming languages. It provides a flexible and extensible way to create, list, and delete code snippets using a standardized server interface.
Features
- Create code snippets with title, language, and code
- List snippets with optional filtering by language or tag
- Delete snippets by their unique ID
- Localization support
- Persistent local storage
Prerequisites
- Node.js (18.x, 20.x, or 22.x)
- npm
Installation
git clone git@github.com:ngeojiajun-deriv/mcp-code-snippets.git
npm run build
npm link
Usage
The server exposes three primary tools:
1. Create Snippet
Create a new code snippet with a title, language, and code.
Parameters:
title(required): Name of the snippetlanguage(required): Programming languagecode(required): The actual code snippettags(optional): Array of tags for categorization
2. List Snippets
Retrieve a list of snippets with optional filtering.
Parameters:
language(optional): Filter snippets by programming languagetag(optional): Filter snippets by tag
3. Delete Snippet
Remove a snippet from storage.
Parameters:
id(required): Unique identifier of the snippet to delete
Development
Build
npm run build
Lint
npm run lint
Contributing
Any PRs are welcome
Code Snippet
Project Details
- ngeojiajun/mcp-code-snippets
- MIT License
- Last Updated: 4/21/2025
Recomended MCP Servers
Secure shell command execution MCP server for Claude AI. Enables controlled shell access within specified directories.
MCP Server for Bing Search API
Zero burden, ready-to-use Model Context Protocol (MCP) server for interacting with MySQL and automation. No Node.js or Python...
MCP server for Docker
Model Context Protocol (MCP) server for using the Eyevinn Open Source Cloud API
github-enterprise-mcp
A Model Context Protocol (MCP) server for interacting with DaVinci Resolve and Fusion
All MCP Servers related projects.
An MCP server providing tools for AI agents to mint ERC-20 tokens across multiple blockchains.
Allows AI Agents to interact with the Twilio SendGrid v3 API, managing contact lists, templates, single sends, and...
📦 Repomix (formerly Repopack) is a powerful tool that packs your entire repository into a single, AI-friendly file....
MCP Memory Server with DuckDB backend





