Code Snippet Server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Code Snippet Servercreate a Python snippet for sorting a list with title 'Quick Sort Example'"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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.
Related MCP server: Remote 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-serverUsage
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 buildLint
npm run lintContributing
Any PRs are welcome
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseBqualityFmaintenanceMCP Server for running code snippet and show the result.Last updated1929242MIT
- Alicense-qualityDmaintenanceA cloud-based custom MCP server using Azure Functions that enables saving and retrieving code snippets with secure communication through keys, HTTPS, OAuth, and network isolation options.Last updated58MIT
- Alicense-qualityDmaintenanceAn MCP server that utilizes Trello as a knowledge base for storing, searching, and retrieving code snippets and notes. It enables full CRUD operations and organized categorization of information using Trello boards and labels.Last updated131MIT
- Flicense-qualityFmaintenanceAn extended MCP server for managing code snippets, performing code analysis, and handling deployments via Render and GitHub. It enables users to perform code reviews, track issues, and manage service operations through natural language interactions.Last updated
Related MCP Connectors
A MCP server built for developers enabling Git based project management with project and personal…
Augments MCP Server - A comprehensive framework documentation provider for Claude Code
A basic MCP server to operate on the Postman API.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/ngeojiajun/mcp-code-snippets'
If you have feedback or need assistance with the MCP directory API, please join our Discord server