Skip to main content
Glama

Phrases MCP Server

by ronniemh

🤖 フレーズ MCP サーバー

インスピレーションを与える引用を管理するための、エレガントで効率的な MCP (Model Context Protocol) サーバー。 Claude for Desktop およびその他の MCP クライアントとシームレスに統合するように設計されています。

✨ 特徴

  • 完全なフレーズ管理- フレーズを簡単に作成、読み取り、更新、削除できます
  • Claude for Desktop Integration - Claudeから直接フレーズを操作
  • 統合されたモックAPI - テストと開発にモックAPIを使用する

🛠️ 利用可能なツール

サーバーは次の MCP ツールを公開します。

道具説明
get-all-phrases利用可能なすべてのフレーズを取得する
get-phrase-by-idIDでフレーズを検索する
get-phrase-by-name著者名でフレーズを検索する
create-phrase新しい文を作成する
update-phrase既存の文のテキストを更新します
delete-phraseIDでフレーズを削除する

🚀 インストール

# Clonar el repositorio git clone https://github.com/ronniemh/phrases-MCP-server.git cd phrases-MCP-server # Instalar dependencias npm install # Compilar el proyecto npm run build

🔌 デスクトップ版Claudeのセットアップ

  1. Claude for Desktopをインストールします (最新バージョンであることを確認してください)
  2. この MCP サーバーを使用するように Claude for Desktop を構成します。次の場所にある構成ファイル (MAC/Linux) を開きます。
    ~/Library/Application Support/Claude/claude_desktop_config.json
  3. サーバー構成を追加します:
    { "mcpServers": { "phrases": { "command": "node", "args": [ "/RUTA_ABSOLUTA_A/phrases/build/index.js" ] } } }
  4. デスクトップ版のClaudeを再起動する

💡 クロードと一緒に使う

設定が完了すると、Claude for Desktop から直接フレーズを操作できるようになります。

  • 「利用可能なフレーズをすべて表示」
  • [著者名]の引用を検索」
  • [名前] に [テキスト] という新しい文を作成してください」
  • 「ID [番号] のフレーズを [新しいテキスト] に更新します」
  • 「ID [番号] のフレーズを削除します」

🧪 テスト

⚠️ 重要: テスト設定

テストを実行する前に、 tsconfig.jsonファイルを一時的に変更する必要があります。 compilerOptionsセクションを次のように変更します。

"compilerOptions": { "target": "ES2020", "module": "NodeNext", "moduleResolution": "NodeNext", "esModuleInterop": true, "outDir": "build", "strict": true }

: MCP サーバーのビルドが適切に機能するように、テスト後に元の構成に戻すことを忘れないでください。

テストを実行するには:

npm run test:requests

このコマンドは、モック API を使用して文を作成、読み取り、更新、削除する一連のテストを実行します。

🏗️ プロジェクト構造

src/ ├── helpers/ │ └── makeMockAPIRequest.ts # Funciones de ayuda para interactuar con la API ├── index.ts # Punto de entrada principal y definición de herramientas └── testRequest.ts # Script para probar las funciones de la API

🔄開発ワークフロー

  1. src/のコードを修正する
  2. npm run buildでコンパイルする
  3. npm run test:requestsでテストする
  4. 変更を適用するには、Claude for Desktopを再起動してください。

🔍 MockAPI 構成

このプロジェクトでは、フレーズを保存および管理するためのバックエンドとしてMockAPI を使用します。設定されたベース URL は次のとおりです。

https://67ec86aeaa794fb3222e0682.mockapi.io/frases/api/v1/user

独自のMockAPIインスタンスの設定

  1. MockAPIでアカウントを作成する
  2. 新しいプロジェクトを作成する
  3. 次のフィールドを持つuserというリソースを作成します。
    • id (数値、自動生成)
    • name (文字列)
    • phrase (文字列)
  4. API URLをコピーする
  5. src/helpers/makeMockAPIRequest.tsファイル内のBASE_URL定数を更新します。
// Cambia esta línea con tu propia URL de MockAPI const BASE_URL = "https://tu-proyecto.mockapi.io/tu-path/user";

📝 追加情報

  • このサーバーは、データを保存するためにモック API を使用します。実稼働環境では、実際のデータベースを実装することを検討してください。
  • プロジェクト構造は、保守性を向上させるために公式の MCP ガイドラインに従っています。
  • Mock API で問題が発生した場合は、MockAPI の無料使用制限を確認してください。

📄 ライセンス

ISC

You must be authenticated.

A
security – no known vulnerabilities
F
license - not found
A
quality - confirmed to work

hybrid server

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

ユーザーがインスピレーションを与えるフレーズを Claude for Desktop を通じて直接管理し、著者の帰属先が明記されたフレーズに対して完全な CRUD 操作を実行できる、エレガントな MCP サーバーです。

  1. ✨ 特徴
    1. 🛠️ 利用可能なツール
      1. 🚀 インストール
        1. 🔌 デスクトップ版Claudeのセットアップ
          1. 💡 クロードと一緒に使う
            1. 🧪 テスト
              1. ⚠️ 重要: テスト設定
            2. 🏗️ プロジェクト構造
              1. 🔄開発ワークフロー
                1. 🔍 MockAPI 構成
                  1. 独自のMockAPIインスタンスの設定
                2. 📝 追加情報
                  1. 📄 ライセンス

                    Related MCP Servers

                    • A
                      security
                      A
                      license
                      A
                      quality
                      An MCP server implementation that integrates Claude with Salesforce, enabling natural language interactions with Salesforce data and metadata for querying, modifying, and managing objects and records.
                      Last updated -
                      7
                      87
                      15
                      TypeScript
                      MIT License
                    • A
                      security
                      A
                      license
                      A
                      quality
                      An MCP server implementation that integrates Claude with Salesforce, enabling natural language interactions with Salesforce data and metadata for querying, modifying, and managing objects and records.
                      Last updated -
                      7
                      18
                      4
                      TypeScript
                      MIT License
                      • Apple
                      • Linux
                    • -
                      security
                      A
                      license
                      -
                      quality
                      A MCP server that integrates with Cursor IDE to generate images based on text descriptions using JiMeng AI, allowing users to create and save custom images directly within their development environment.
                      Last updated -
                      82
                      Python
                      MIT License
                      • Apple
                      • Linux
                    • -
                      security
                      F
                      license
                      -
                      quality
                      A custom MCP server that allows storage, retrieval, and management of text-based information with natural language commands and keyword detection.
                      Last updated -
                      TypeScript
                      • Linux
                      • Apple

                    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/ronniemh/phrases-MCP-server'

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