Skip to main content
Glama

promptz.dev MCP Server

by cremich

promptz.dev MCP サーバー

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

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

特徴

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

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

使用例

サーバーが 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)
-
security - not tested
A
license - permissive license
-
quality - not tested

hybrid server

The server is able to function both locally and remotely, depending on the configuration or use case.

AI アシスタントがコピー アンド ペーストせずに promptz.dev API からのプロンプトにアクセスできるようにすることで、開発ワークフローでのコンテキスト切り替えを削減します。

  1. 特徴
    1. 使用例
      1. インストール
        1. ステップ1: API認証情報を取得する
        2. ステップ2: MCPサーバーをインストールする
        3. トラブルシューティング
      2. 発達
        1. セキュリティに関する考慮事項

          Related MCP Servers

          • A
            security
            A
            license
            A
            quality
            A model context server that provides prompts that can be used as slash commands for clients like Zed Editor, in order to add page contents as context to the AI assistant.
            Last updated -
            13
            8
            TypeScript
            MIT License
          • -
            security
            A
            license
            -
            quality
            A code ingestion tool that transforms your code into AI-optimized prompts instantly. Gather the relevant context with code2prompt under the hood. Learn more at code2prompt.dev
            Last updated -
            5,947
            MIT License
            • Linux
            • Apple
          • -
            security
            A
            license
            -
            quality
            Provides pre-defined prompt templates for AI assistants to generate comprehensive plans for TypeScript projects, API architectures, and GitHub workflows.
            Last updated -
            0
            TypeScript
            MIT License
          • -
            security
            A
            license
            -
            quality
            An MCP server that analyzes codebases and generates contextual prompts, making it easier for AI assistants to understand and work with code repositories.
            Last updated -
            10
            Python
            MIT License

          View all related MCP servers

          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/cremich/promptz-mcp'

          If you have feedback or need assistance with the MCP directory API, please join our Discord server