My Prompts MCP
My Prompts MCP
Markdownファイルで定義されたユーザープロンプトを、引数付きで提供する軽量なMCPサーバーです。
プロンプトの .md ファイルをリポジトリ(専用のgitリポジトリ、または既存リポジトリ内のフォルダ)で管理し、このMCPサーバーを介してAIクライアントに接続します。これにより、プロンプトのバージョン管理が可能になり、共有やマシン間・チームメンバー間での更新が容易になります。
Cherry Studio での My Prompts MCP 使用例:
https://github.com/user-attachments/assets/32dfa36d-657f-4b9b-8086-c7a00ffe3185
[!IMPORTANT] このプロジェクトは Sergei Predvoditelev によって開発・保守されています。 コミュニティからのサポートが、プロジェクトの活発な開発と適切な保守を支えています。 以下のサービスからプロジェクトを支援できます:
ご支援ありがとうございます ❤️
一般的な使用方法
インストール
GitHub Releases から、お使いのプラットフォーム用のバイナリをダウンロードしてください。
プロンプトの作成
プロンプトディレクトリに .md ファイルを作成します。例として greet.md を作成します:
---
description: Greet a person by name
arguments:
- name: name
description: The person's name
required: true
---
Please greet {{name}} in a friendly and professional way.MCPクライアントへの接続
MCPクライアントの設定(stdioトランスポート)に以下を追加します:
{
"mcpServers": {
"my-prompts-mcp": {
"command": "/path/to/my-prompts-mcp",
"args": ["--path=/path/to/prompts"]
}
}
}claude_desktop_config.json ファイルを編集します:
macOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:
%APPDATA%\Claude\claude_desktop_config.jsonLinux:
~/.config/Claude/claude_desktop_config.json
上記のコードスニペットをファイルに追加し、Claude Desktopを再起動してください。
設定 → MCPサーバー を開き、追加をクリックして、上記スニペットのサーバーコマンドと引数を入力します。
Related MCP server: feedback-mcp-server
ドキュメント
プロンプトファイルの形式
設定されたディレクトリ内の各 .md ファイルは、プロンプトとして公開されます。デフォルトでは、.md 拡張子を除いたファイル名がプロンプト名として使用されます。
フロントマターフィールド
ファイル上部のオプションのYAMLフロントマターで、プロンプトがクライアントにどのように表示されるかを制御します。
フィールド | 型 | 必須 | 説明 |
| string | いいえ | プロンプト名。デフォルトは拡張子なしのファイル名。 |
| string | いいえ | 人間が読みやすいタイトル。 |
| string | いいえ | AIクライアントに表示される短い説明。 |
| list | いいえ | 引数のリスト(下記参照)。 |
引数
引数は2つの形式で定義できます:
シンプル(名前のみ):
arguments:
- arg_nameフルオブジェクト:
arguments:
- name: arg_name
description: What this argument means
required: true各引数のフィールド:
フィールド | 型 | 必須 | 説明 |
| string | はい | 引数名。 |
| string | いいえ | 引数の説明。 |
| boolean | いいえ | 引数が必須かどうか。デフォルトは |
[!IMPORTANT] 引数なし、または引数が1つのプロンプトは、ほぼすべてのMCPクライアントでサポートされています。2つ以上の引数を持つプロンプトは、普遍的にはサポートされていません。複数の引数をサポートしていることが確認されているクライアント:
プレースホルダー
プロンプト本文内で {{arg_name}} を使用します。プレースホルダーは、リクエスト時に提供された引数値に置き換えられます。
プロンプトファイルの例
---
name: name-generator
title: Name Generator
description: Generate a name for a product, project, or company
arguments:
- name: description
description: What needs to be named (product, project, company, etc.)
required: true
- name: style
description: Naming style (e.g. minimalist, creative, technical, playful)
required: false
---
Generate 10 name ideas for: {{description}}.
{{style}}
Requirements for the names:
- Easy to remember and pronounce
- Suitable for use as a domain name
- Unique and distinctive
For each name provide a one-line explanation of why it works.ライセンス
「My Prompts MCP」はフリーソフトウェアです。BSDライセンスの条項に基づいてリリースされています。
詳細については LICENSE を参照してください。
This server cannot be deployed
Maintenance
Related MCP Connectors
MCP server for generating rough-draft project plans from natural-language prompts.
Remote MCP server for supportsheep: run AI interviews and manage support content for your blog.
MCP server for AI dialogue using various LLM models via AceDataCloud
Web scraping MCP server: any URL to Markdown or JSON, with JavaScript rendering and batch jobs.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceGeneric MCP server that exposes Markdown documentation to LLMs, enabling them to search and answer questions about any software documentation.MIT
- AlicenseAqualityCmaintenanceA lightweight MCP server that enables AI assistants to collect interactive user feedback via a browser window with full Markdown rendering and syntax highlighting.17 npm3MIT
- AlicenseNot gradedqualityDmaintenanceA simple MCP server for chatbot/human collaborative management of text content stored as markdown files with YAML frontmatter.3MIT
- AlicenseNot gradedqualityDmaintenanceA simple MCP server for utilizing prompts defined in YAML files.MIT