Keitaro流量分发系统集成
STDIO用于Keitaro TDS API集成的营销管理工具
用于Keitaro TDS API集成的营销管理工具
MCP server for integration with Keitaro TDS API, providing tools to work with campaigns, streams, offers, and other Keitaro entities.
git clone <repository-url> cd mcp-keitaro-tds
npm install
npm install -g .
node install-cursor-plugin.js
You can also manually add the Keitaro MCP server to your Cursor configuration:
# On macOS open ~/.cursor/mcp.json # On Windows notepad %USERPROFILE%\.cursor\mcp.json # On Linux nano ~/.cursor/mcp.json
"Keitaro": { "command": "mcp-keitaro-tds", "args": [] }
Create an .env
file in the project root with the following parameters:
KEITARO_API_URL=http://your-keitaro-domain.com/admin_api/v1
KEITARO_API_KEY=your-api-key
list_campaigns
- get a list of campaignsget_campaign
- get information about a specific campaigncreate_campaign
- create a new campaignupdate_campaign
- update an existing campaigndelete_campaign
- delete a campaignlist_streams
- get a list of traffic streams for a campaignget_stream
- get information about a specific streamlist_traffic_sources
- get a list of traffic sourcesget_traffic_source
- get information about a specific traffic sourcelist_offers
- get a list of offersget_offer
- get information about a specific offerlist_clicks
- get a list of clicksget_click
- get information about a specific clicklist_conversions
- get a list of conversionsget_conversion
- get information about a specific conversionget_report
- generate a report with specified parameterslist_domains
- get a list of domainsget_domain
- get information about a specific domainlist_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
npm run inspect