Skip to main content
Glama
ngeojiajun

Code Snippet Server

by ngeojiajun

コードスニペットサーバー

概要

コードスニペットサーバーは、異なるプログラミング言語間でコードスニペットを管理・保存するために設計されたモデルコンテキストプロトコル(MCP)サーバーです。標準化されたサーバーインターフェースを使用して、コードスニペットを作成、一覧表示、削除するための柔軟で拡張性の高い方法を提供します。

Related MCP server: Remote MCP Server

特徴

  • タイトル、言語、コードを含むコードスニペットを作成する

  • 言語またはタグによるフィルタリングが可能なリストスニペット

  • 一意のIDでスニペットを削除する

  • ローカリゼーションサポート

  • 永続的なローカルストレージ

前提条件

  • Node.js (18.x、20.x、または 22.x)

  • npm

インストール

git clone git@github.com:ngeojiajun-deriv/mcp-code-snippets.git
npm run build
npm link

使用法

サーバーは 3 つの主要なツールを公開します。

1. スニペットを作成する

タイトル、言語、コードを含む新しいコード スニペットを作成します。

パラメータ:

  • title (必須): スニペットの名前

  • language (必須): プログラミング言語

  • code (必須): 実際のコードスニペット

  • tags (オプション): 分類用のタグの配列

2. リストスニペット

オプションのフィルタリングを使用してスニペットのリストを取得します。

パラメータ:

  • language (オプション): プログラミング言語でスニペットをフィルタリングします

  • tag (オプション):タグでスニペットをフィルタリングする

3. スニペットを削除する

ストレージからスニペットを削除します。

パラメータ:

  • id (必須): 削除するスニペットの一意の識別子

発達

建てる

npm run build

糸くず

npm run lint

貢献

PRは大歓迎です

Install Server
A
license - permissive license
B
quality
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

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

View all related MCP servers

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.

View all MCP Connectors

Latest Blog Posts

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