mcp-code-snippets
7
Code Snippet Server is an MCP server that facilitates the management of code snippets across various programming languages. It features snippet creation, listing with filters, and deletion, utilizing a standardized server interface for ease of use.
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
Usage
- Create Snippet: Create a new code snippet with a title, language, and code.
- List Snippets: Retrieve a list of snippets with optional filtering by language or tag.
- Delete Snippet: Remove a snippet from storage.