About Keitaro TDS API MCP Plugin
Keitaro TDS API MCP Plugin connects Cursor to the Keitaro TDS API. It provides tools for managing campaigns and related traffic entities, as well as retrieving reports.
Key features
- 01List and manage campaigns
- 02Inspect traffic streams and sources
- 03Browse offers, clicks, and conversions
- 04Retrieve reports and domain details
Use cases
- 01Review or update campaign settings in Cursor
- 02Inspect traffic and conversion data
- 03Generate campaign-level reports
MCP support
The MCP server exposes Keitaro TDS API operations as tools for Cursor, covering campaigns, streams, offers, traffic data, reports, and domains.
Configuration
Local server config is the same for every client. Copy it into your client’s MCP config file.
We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.
Tools
Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.
Details
From the project READMEKeitaro TDS API MCP Plugin
Description
MCP server for integration with Keitaro TDS API, providing tools to work with campaigns, streams, offers, and other Keitaro entities.
Installation
Installing the plugin in Cursor
- Clone the repository
git clone <repository-url>
cd mcp-keitaro-tds
- Install dependencies
npm install
- Install the package globally
npm install -g .
- Install the plugin in Cursor
node install-cursor-plugin.js
- Restart Cursor
Alternative: Manual configuration in Cursor
You can also manually add the Keitaro MCP server to your Cursor configuration:
- Open the Cursor MCP configuration file:
# On macOS
open ~/.cursor/mcp.json
# On Windows
notepad %USERPROFILE%\.cursor\mcp.json
# On Linux
nano ~/.cursor/mcp.json
- Add the following entry to the "mcpServers" object:
"Keitaro": {
"command": "mcp-keitaro-tds",
"args": []
}
- Save the file and restart Cursor
API Key Configuration
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
Usage in Cursor
- Launch Cursor
- Open the command palette (Cmd+P on macOS or Ctrl+P on Windows/Linux)
- Find "Keitaro" and select it
- Now you can use the Keitaro API through Cursor
Available Tools
Campaigns
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 campaign
Traffic Streams
list_streams- get a list of traffic streams for a campaignget_stream- get information about a specific stream
Traffic Sources
list_traffic_sources- get a list of traffic sourcesget_traffic_source- get information about a specific traffic source
Offers
list_offers- get a list of offersget_offer- get information about a specific offer
Clicks and Conversions
list_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 conversion
Reports
get_report- generate a report with specified parameters
Domains
list_domains- get a list of domainsget_domain- get information about a specific domain
Usage Examples
Getting a list of campaigns
list_campaigns({
limit: 10,
page: 1,
search: "search query"
})
Creating a new campaign
create_campaign({
name: "New Campaign",
type: "position",
cost_type: "CPC",
cost_value: 1.5,
group_id: 1,
state: "active",
traffic_source_id: 1
})
Getting a report
get_report({
from: "2025-01-01",
to: "2025-01-31",
group: "campaign",
filters: {
campaign_id: 123
}
})
Development
Running in development mode
npm run dev
Testing the MCP server
npm run inspect
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.