代码片段管理器
STDIO管理和存储多语言代码片段的服务器
管理和存储多语言代码片段的服务器
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.
git clone [email protected]:ngeojiajun-deriv/mcp-code-snippets.git npm run build npm link
The server exposes three primary tools:
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 categorizationRetrieve a list of snippets with optional filtering.
Parameters:
language
(optional): Filter snippets by programming languagetag
(optional): Filter snippets by tagRemove a snippet from storage.
Parameters:
id
(required): Unique identifier of the snippet to deletenpm run build
npm run lint
Any PRs are welcome