Keitaro TDS API MCP Plugin

by GodzillaDancer
Verified

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.

Integrations

  • Uses environment variables for configuration, specifically for storing Keitaro API URL and API key.

  • Used for installation of the MCP server through repository cloning.

  • Provides JavaScript examples for interacting with the Keitaro TDS API, allowing users to manage campaigns, traffic streams, offers, and generate reports.

Keitaro TDS API MCP プラグイン

説明

Keitaro TDS API と統合するための MCP サーバー。キャンペーン、ストリーム、オファー、およびその他の Keitaro エンティティを操作するためのツールを提供します。

インストール

カーソルにプラグインをインストールする

  1. リポジトリをクローンする
git clone <repository-url> cd mcp-keitaro-tds
  1. 依存関係をインストールする
npm install
  1. パッケージをグローバルにインストールする
npm install -g .
  1. カーソルにプラグインをインストールする
node install-cursor-plugin.js
  1. カーソルを再開

代替案: カーソルでの手動設定

また、Keitaro MCP サーバーを Cursor 構成に手動で追加することもできます。

  1. カーソル MCP 構成ファイルを開きます。
# On macOS open ~/.cursor/mcp.json # On Windows notepad %USERPROFILE%\.cursor\mcp.json # On Linux nano ~/.cursor/mcp.json
  1. 「mcpServers」オブジェクトに次のエントリを追加します。
"Keitaro": { "command": "mcp-keitaro-tds", "args": [] }
  1. ファイルを保存してカーソルを再起動します

APIキーの設定

次のパラメータを使用して、プロジェクト ルートに.envファイルを作成します。

KEITARO_API_URL=http://your-keitaro-domain.com/admin_api/v1 KEITARO_API_KEY=your-api-key

カーソルでの使用

  1. カーソルを起動
  2. コマンドパレットを開きます(macOSの場合はCmd+P、Windows/Linuxの場合はCtrl+P)
  3. 「Keitaro」を見つけて選択してください
  4. Cursor経由でKeitaro APIが使用できるようになりました

利用可能なツール

キャンペーン

  • list_campaigns - キャンペーンのリストを取得する
  • get_campaign - 特定のキャンペーンに関する情報を取得する
  • create_campaign - 新しいキャンペーンを作成する
  • update_campaign - 既存のキャンペーンを更新する
  • delete_campaign - キャンペーンを削除する

トラフィックストリーム

  • list_streams - キャンペーンのトラフィックストリームのリストを取得します
  • get_stream - 特定のストリームに関する情報を取得する

トラフィックソース

  • list_traffic_sources - トラフィックソースのリストを取得する
  • get_traffic_source - 特定のトラフィックソースに関する情報を取得する

オファー

  • list_offers - オファーのリストを取得する
  • get_offer - 特定のオファーに関する情報を取得する

クリックとコンバージョン

  • list_clicks - クリックのリストを取得する
  • get_click - 特定のクリックに関する情報を取得する
  • list_conversions - コンバージョンのリストを取得する
  • get_conversion - 特定のコンバージョンに関する情報を取得する

レポート

  • get_report - 指定されたパラメータでレポートを生成する

ドメイン

  • list_domains - ドメインのリストを取得する
  • get_domain - 特定のドメインに関する情報を取得する

使用例

キャンペーンのリストを取得する

list_campaigns({ limit: 10, page: 1, search: "search query" })

新しいキャンペーンを作成する

create_campaign({ name: "New Campaign", type: "position", cost_type: "CPC", cost_value: 1.5, group_id: 1, state: "active", traffic_source_id: 1 })

レポートの取得

get_report({ from: "2025-01-01", to: "2025-01-31", group: "campaign", filters: { campaign_id: 123 } })

発達

開発モードで実行中

npm run dev

MCPサーバーのテスト

npm run inspect
-
security - not tested
F
license - not found
-
quality - not tested

Keitaro TDS API と統合するための MCP サーバー。キャンペーン、ストリーム、オファー、およびその他の Keitaro エンティティを操作するためのツールを提供します。

  1. Description
    1. Installation
      1. Installing the plugin in Cursor
      2. Alternative: Manual configuration in Cursor
      3. API Key Configuration
    2. Usage in Cursor
      1. Available Tools
        1. Campaigns
        2. Traffic Streams
        3. Traffic Sources
        4. Offers
        5. Clicks and Conversions
        6. Reports
        7. Domains
      2. Usage Examples
        1. Getting a list of campaigns
        2. Creating a new campaign
        3. Getting a report
      3. Development
        1. Running in development mode
        2. Testing the MCP server

      Appeared in Searches

      ID: iy1fgw1o6g