Skip to main content
Glama

MCP Anthropic Server

by mystique920

MCP Anthropic サーバー ( mcp-anthropic )

Anthropic の実験的なプロンプト エンジニアリング API と対話するためのツールを提供する MCP (Model Context Protocol) サーバー。

特徴

次のツールを提供します:

  • generate_prompt : タスクの説明に基づいてプロンプトを生成します。
  • improve_prompt : フィードバックに基づいて既存のプロンプトを改善します。
  • templatize_prompt : 具体的なプロンプトの例を再利用可能なテンプレートに変換します。

設定

  1. リポジトリをクローンする(該当する場合)
  2. プロジェクト ディレクトリに移動します。
    cd mcp-anthropic
  3. 依存関係をインストールします:
    npm install
  4. API キーを設定します。
    • プロジェクト ルートに.envファイル ( ./mcp-anthropic/.env ) を作成します。
    • Anthropic API キーを.envファイルに追加します。
      ANTHROPIC_KEY=your_anthropic_api_key_here
    • このファイルがバージョン管理にコミットされていないことを確認してください ( .gitignoreでカバーされている必要があります)。
    • **LibreChat 統合に関する注意:**このサーバーを LibreChat 内の子プロセスとして設定および実行する具体的な手順 (API キーの処理を含む) については、 documentation.mdファイルを参照してください。

サーバーの実行

  1. TypeScript コードをビルドします。
    npm run build
  2. サーバーを起動します。
    npm start
    サーバーが起動し、MCP接続を待機します。サーバーの起動と登録されているツールを示す出力が表示されます。

ツールドキュメント

generate_prompt

タスクの説明に基づいてプロンプトを生成します。

入力スキーマ:

{ "type": "object", "properties": { "task": { "type": "string", "description": "A description of the task the prompt should be designed for (e.g., \"a chef for a meal prep planning service\")." }, "target_model": { "type": "string", "description": "The target Anthropic model identifier (e.g., \"claude-3-opus-20240229\")." } }, "required": ["task", "target_model"] }

improve_prompt

フィードバックに基づいて既存のプロンプトを改善します。

入力スキーマ:

{ "type": "object", "properties": { "messages": { "type": "array", "items": { "type": "object", "properties": { "role": { "type": "string", "description": "Role (e.g., 'user', 'assistant')." }, "content": { "type": "array", "items": { "type": "object", "properties": { "type": { "type": "string", "description": "Content type (e.g., 'text')." }, "text": { "type": "string", "description": "Text content." } }, "required": ["type", "text"] }, "description": "Content blocks." } }, "required": ["role", "content"] }, "description": "The sequence of messages representing the prompt conversation." }, "system": { "type": "string", "description": "(Optional) A system prompt to guide the model." }, "feedback": { "type": "string", "description": "Specific feedback on how to improve the prompt (e.g., \"Make it more detailed\")." }, "target_model": { "type": "string", "description": "The target Anthropic model identifier (e.g., \"claude-3-opus-20240229\")." } }, "required": ["messages", "feedback", "target_model"] }

templatize_prompt

具体的なプロンプトの例を再利用可能なテンプレートに変換します。

入力スキーマ:

{ "type": "object", "properties": { "messages": { "type": "array", "items": { "type": "object", "properties": { "role": { "type": "string", "description": "Role (e.g., 'user', 'assistant')." }, "content": { "type": "array", "items": { "type": "object", "properties": { "type": { "type": "string", "description": "Content type (e.g., 'text')." }, "text": { "type": "string", "description": "Text content." } }, "required": ["type", "text"] }, "description": "Content blocks." } }, "required": ["role", "content"] }, "description": "The sequence of messages representing the prompt conversation example." }, "system": { "type": "string", "description": "(Optional) A system prompt associated with the example." } }, "required": ["messages"] }
-
security - not tested
-
license - not tested
-
quality - not tested

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

Anthropic のプロンプト エンジニアリング API と対話するためのツールを提供する MCP サーバー。これにより、ユーザーはタスクの説明とフィードバックに基づいてプロンプトを生成、改善、テンプレート化できます。

  1. 特徴
    1. 設定
      1. サーバーの実行
        1. ツールドキュメント
          1. generate_prompt
          2. improve_prompt
          3. templatize_prompt

        Related MCP Servers

        • -
          security
          F
          license
          -
          quality
          This is an MCP server that facilitates building tools for interacting with various APIs and workflows, supporting Python-based development with potential for customizable prompts and user configurations.
          Last updated -
          Python
        • -
          security
          A
          license
          -
          quality
          An enhanced MCP server that grants AI assistants the ability to execute terminal commands on a user's system with improved security controls, designed for use in controlled environments.
          Last updated -
          Python
          MIT License
          • Apple
        • -
          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
        • -
          security
          F
          license
          -
          quality
          A demonstration server showing MCP implementation in Python with resource handling, tool operations, and reusable prompts for a simple user/post system with local database.
          Last updated -
          Python
          • Apple
          • Linux

        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/mystique920/anthropic-prompt-mcp'

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