MCP.so
ログイン

MCP Prompt Server

@MCP-Mirror

MCP Prompt Server について

Mirror of

基本情報

カテゴリ

その他

ライセンス

MIT license

ランタイム

node

トランスポート

stdio

公開者

MCP-Mirror

設定

以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。

{
  "mcpServers": {
    "prompt-server": {
      "command": "node",
      "args": [
        "/path/to/prompt-server/src/index.js"
      ]
    }
  }
}

ツール

ツールは検出されませんでした

ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。

概要

What is MCP Prompt Server?

MCP Prompt Server is an MCP-based server that provides preset prompt templates as tools (not MCP prompts) for tasks such as code review, API documentation generation, and code refactoring. It is designed for use with editors like Cline, Cursor, and Windsurf to help them execute tasks more efficiently.

How to use MCP Prompt Server?

Install dependencies with npm install in the prompt-server directory and start the server with npm start. The server runs on standard input/output and can be connected by Cursor, Windsurf, or other MCP clients. Configuration involves editing the editor’s MCP configuration file to point to the server’s entry script (src/index.js).

Key features of MCP Prompt Server

  • Provides preset prompt templates as MCP tools.
  • Supports dynamic parameter substitution in templates.
  • Allows developers to freely add and modify prompt templates.
  • Includes management tools: reload_prompts and get_prompt_names.
  • Optimized for integration with Cursor and Windsurf.
  • All prompt templates defined in src/prompts/ are exposed as tools.

Use cases of MCP Prompt Server

  • Code review with language and code snippet arguments.
  • API documentation generation for various programming languages.
  • Code refactoring with targeted transformation guidance.
  • Test case generation based on code input.
  • Project architecture design and documentation.

FAQ from MCP Prompt Server

How do I add a new prompt template?

Create a new YAML or JSON file in the src/prompts directory following the required schema (name, description, optional arguments, and messages with role, content type, and text). The server loads new templates automatically on restart or when the reload_prompts tool is called.

How do I integrate MCP Prompt Server with Cursor?

Edit Cursor’s MCP configuration file (typically at ~/.cursor/) to add a server entry with the command ["node", "/path/to/prompt-server/src/index.js"], using "transport": "stdio". Restart the editor to see the prompt tools.

How do I integrate MCP Prompt Server with Windsurf?

In Windsurf, navigate to Settings > Advanced Settings (or edit ~/.codeium/windsurf/mcp_config.json) and add a server with "command": "node", "args": ["/path/to/prompt-server/src/index.js"], and "transport": "stdio". Refresh the server list to make the tools available.

What transport does MCP Prompt Server use?

The server uses stdio transport, as shown in the configuration examples for both Cursor and Windsurf.

What runtime dependencies are required?

Node.js and npm are required to install and run the server. No external databases or services are mentioned.

コメント

「その他」の他のコンテンツ