JUHE API Marketplace
ngeojiajun avatar
MCP Server

Code Snippet Server

A MCP server for managing and storing code snippets in various programming languages, allowing users to create, list, and delete snippets via a standardized interface.

7
GitHub Stars
11/23/2025
Last Updated
No Configuration
Please check the documentation below.
  1. Home
  2. MCP Servers
  3. mcp-code-snippets

README Documentation

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.

Code Snippet Server MCP server

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/mcp-code-snippets.git
npm run build
npm link
# Or you can do
npx @ngeojiajun/code-snippet-server

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 snippet
  • language (required): Programming language
  • code (required): The actual code snippet
  • tags (optional): Array of tags for categorization

2. List Snippets

Retrieve a list of snippets with optional filtering.

Parameters:

  • language (optional): Filter snippets by programming language
  • tag (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

Quick Actions

View on GitHubView All Servers

Key Features

Model Context Protocol
Secure Communication
Real-time Updates
Open Source

Boost your projects with Wisdom Gate LLM API

Supporting GPT-5, Claude-4, DeepSeek v3, Gemini and more.

Enjoy a free trial and save 20%+ compared to official pricing.

Learn More
JUHE API Marketplace

Accelerate development, innovate faster, and transform your business with our comprehensive API ecosystem.

JUHE API VS

  • vs. RapidAPI
  • vs. API Layer
  • API Platforms 2025
  • API Marketplaces 2025
  • Best Alternatives to RapidAPI

For Developers

  • Console
  • Collections
  • Documentation
  • MCP Servers
  • Free APIs
  • Temp Mail Demo

Product

  • Browse APIs
  • Suggest an API
  • Wisdom Gate LLM
  • Global SMS Messaging
  • Temp Mail API

Company

  • What's New
  • Welcome
  • About Us
  • Contact Support
  • Terms of Service
  • Privacy Policy
Featured on Startup FameFeatured on Twelve ToolsFazier badgeJuheAPI Marketplace - Connect smarter, beyond APIs | Product Huntai tools code.marketDang.ai
Copyright © 2025 - All rights reserved