Skip to main content
Glama
promptz.dev MCP Server

promptz.dev MCP Server

by cremich

promptz.dev MCP サーバー

Amazon Q Developer 内で promptz.dev からのプロンプトに直接アクセスします。

この MCP サーバーを使用すると、コピー アンド ペーストせずに promptz.dev API からプロンプトにアクセスできるため、開発ワークフローでのコンテキストの切り替えと摩擦が軽減されます。

特徴

promptz.dev MCP サーバーは、主に 2 つの機能を提供します。

  1. プロンプト- プロンプトを検索および実行するための実行可能関数。

  2. ルール- プロジェクト ルールを検索し、他のツールと統合してワークスペースでルールを追加/更新するための実行可能な機能。

Related MCP server: prompts.chat MCP Server

使用例

サーバーが Amazon Q Developer に接続されると、次のような自然言語で使用できるようになります。

  • 「JavaScript に関する CLI プロンプトを検索する」

  • 「『React コンポーネントドキュメント』というプロンプトを表示してください」

  • 「React コンポーネント ドキュメント プロンプトを使用してドキュメントを改善します」

  • 「CDK開発のプロジェクトルールを見つける」

  • 「CDK プロジェクト構造プロジェクトルールをワークスペースに追加する」

インストール

ステップ1: API認証情報を取得する

  1. https://promptz.dev/mcpに移動します。

  2. API キー、API URL、サンプル MCP 構成スニペットなどの MCP 設定をコピーします。

ステップ2: MCPサーバーをインストールする

~/.aws/amazonq/mcp.jsonにある Amazon Q Developer MCP クライアント設定ファイルを開きます。

オプション1: npxを使用する(推奨)

サーバーを使用する最も簡単な方法は、インストールを必要としない npx を使用することです。

  1. Amazon Q Developer MCP クライアントの設定ファイルに次の構成を追加します。

{
  "mcpServers": {
    "promptz.dev": {
      "command": "npx",
      "args": ["-y", "@promptz/mcp"],
      "env": {
        "PROMPTZ_API_URL": "your-api-url-from-promptz.dev",
        "PROMPTZ_API_KEY": "your-api-key-from-promptz.dev"
      },
      "disabled": false,
      "autoApprove": []
    }
  }
}

オプション2: ローカルインストール

  1. リポジトリをクローンします。

git clone https://github.com/cremich/promptz-mcp.git
cd promptz-mcp
  1. 依存関係をインストールしてビルドします。

npm install
npm run build
  1. MCP クライアントの設定ファイルに次の構成を追加します。

{
  "mcpServers": {
    "promptz.dev": {
      "command": "node",
      "args": ["/path/to/promptz-mcp/build/index.js"],
      "env": {
        "PROMPTZ_API_URL": "your-api-url-from-promptz.dev",
        "PROMPTZ_API_KEY": "your-api-key-from-promptz.dev"
      },
      "disabled": false,
      "autoApprove": []
    }
  }
}

トラブルシューティング

サーバーに問題が発生した場合:

  1. API認証情報が正しいことを確認してください

  2. MCPクライアントでサーバーが適切に設定されていることを確認します

  3. ~/.promptz/logs/mcp-server.logにあるログでエラーメッセージを探します。

  4. デバッグには MCP インスペクタを使用します。

# Run with environment variables
PROMPTZ_API_URL="your-api-url" PROMPTZ_API_KEY="your-api-key" npm run inspector

インスペクターは、ブラウザでデバッグ ツールにアクセスするための URL を提供します。

発達

サーバーに貢献したり修正したりしたい人:

# Install dependencies
npm install

# Build the server
npm run build

# For development with auto-rebuild
npm run watch

# Run tests
npm test

セキュリティに関する考慮事項

  • このサーバーはプロンプトへの読み取りアクセスのみを提供し、書き込み操作は実装していません。

  • API認証情報はMCPクライアントの設定ファイルに保存されます

  • promptz.dev APIとのすべての通信はHTTPS経由で行われます。

  • サーバーはホームディレクトリ内のファイルにログを記録します (~/.promptz/logs/mcp-server.log)

Available Tools

4 tools
get_promptC

Get a specific prompt by ID or name

Inputs: name.

get_ruleC

Get a specific project rule by name

Inputs: name.

list_promptsC

List available prompts from promptz.dev

Inputs: cursor, tags.

list_rulesB

List available project rules from promptz.dev

Inputs: cursor, tags.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.4/5.0

    Scored across 4 tools

    Disambiguation5/5

    Each tool has a clearly distinct purpose: get_prompt retrieves a specific prompt, get_rule retrieves a specific rule, list_prompts lists all prompts, and list_rules lists all rules. There is no overlap or ambiguity between these four operations.

    Naming Consistency5/5

    All tool names follow a consistent verb_noun pattern with snake_case (get_prompt, get_rule, list_prompts, list_rules). The naming is perfectly predictable and readable throughout the set.

    Tool Count4/5

    With 4 tools, the count is reasonable and well-scoped for a prompt management server, covering core retrieval and listing operations. It's slightly lean but appropriate for the apparent scope, lacking only minor gaps like update or delete operations.

    Completeness3/5

    The tool set provides good read/list coverage for prompts and rules, but there are notable gaps in CRUD operations. For example, there are no tools for creating, updating, or deleting prompts or rules, which limits full lifecycle management for the domain.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      B
      quality
      D
      maintenance
      Provides access to thousands of AI prompts from prompts.chat, enabling users to search, browse, and use community-curated prompts with variable substitution directly in their AI coding assistant.
      2
      339 npm
      40
      ISC
    • A
      license
      Not graded
      quality
      F
      maintenance
      Connects AI tools to your organization's Haiven prompts, allowing seamless access to expert-crafted prompts for user stories, code reviews, and more without switching apps.
      Apache 2.0