ActiveTrail MCP by usefulapi
Read contacts, groups, campaigns and automations; add contacts to groups in ActiveTrail.
我该使用它吗
质量与安全性
发现(5)
- LOW在 activetrail_get_account_balance 中
- LOW在 activetrail_list_sending_profiles 中
- LOW在 activetrail_get_contact_activity 中
- LOW在 activetrail_list_mailing_list_members 中
- LOW在 activetrail_get_campaign_report 中
基于对工具定义和协议合规性的自动分析。
上下文开销
这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。
安装
一键安装
将以下内容添加到你的 `claude_desktop_config.json` 文件中:
{
"mcpServers": {
"activetrail": {
"url": "https://activetrail.usefulapi.io/mcp"
}
}
}远程端点
https://activetrail.usefulapi.io/mcpstreamable-http它能做什么
工具清单
工具(19)
🟢activetrail_get_account_balance
Email and SMS credit balance and the coupon-list balance of the account. Cheapest authenticated call, also used as the login check. ActiveTrail API: GET /api/account/balance.
输入模式
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢activetrail_list_sending_profiles
Sender profiles (from name and address) the account can send email campaigns from. ActiveTrail API: GET /api/account/sendingprofiles.
输入模式
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢activetrail_list_contacts(search_term, from_date, to_date, page, limit)
Search the account's contacts by email or SMS text, optionally by last-updated date range. Paginated. ActiveTrail API: GET /api/contacts.
输入模式
{
"type": "object",
"properties": {
"search_term": {
"description": "Search text (name, or email/SMS for contacts).",
"type": "string"
},
"from_date": {
"description": "Date as yyyy-mm-dd.",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"to_date": {
"description": "Date as yyyy-mm-dd.",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"page": {
"description": "Page number, starting at 1.",
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"limit": {
"description": "Items per page (1-100, default 20).",
"type": "integer",
"minimum": 1,
"maximum": 100
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢activetrail_get_contact(contact_id)
One contact by id: email, SMS, name, state, opt-in flag and custom fields (ext1-ext17). ActiveTrail API: GET /api/contacts/{id}.
输入模式
{
"type": "object",
"properties": {
"contact_id": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"description": "Numeric id (from a list tool)."
}
},
"required": [
"contact_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢activetrail_get_contact_groups(contact_id)
The groups a contact belongs to. ActiveTrail API: GET /api/contacts/{id}/groups.
输入模式
{
"type": "object",
"properties": {
"contact_id": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"description": "Numeric id (from a list tool)."
}
},
"required": [
"contact_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢activetrail_get_contact_activity(contact_id)
The activity log of one contact (sends, opens, clicks and similar events). ActiveTrail API: GET /api/contacts/{id}/activity.
输入模式
{
"type": "object",
"properties": {
"contact_id": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"description": "Numeric id (from a list tool)."
}
},
"required": [
"contact_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢activetrail_list_groups(search_term, page, limit)
Contact groups of the account, optionally filtered by name. Paginated. ActiveTrail API: GET /api/groups.
输入模式
{
"type": "object",
"properties": {
"search_term": {
"description": "Search text (name, or email/SMS for contacts).",
"type": "string"
},
"page": {
"description": "Page number, starting at 1.",
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"limit": {
"description": "Items per page (1-100, default 20).",
"type": "integer",
"minimum": 1,
"maximum": 100
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢activetrail_get_group(group_id)
One contact group by id, with its name and member counters. ActiveTrail API: GET /api/groups/{id}.
输入模式
{
"type": "object",
"properties": {
"group_id": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"description": "Numeric id (from a list tool)."
}
},
"required": [
"group_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢activetrail_list_group_members(group_id, search_term, from_date, to_date, page, ...)
Contacts in one group, optionally filtered by text or last-updated date range. Paginated. ActiveTrail API: GET /api/groups/{id}/members.
输入模式
{
"type": "object",
"properties": {
"group_id": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"description": "Numeric id (from a list tool)."
},
"search_term": {
"description": "Search text (name, or email/SMS for contacts).",
"type": "string"
},
"from_date": {
"description": "Date as yyyy-mm-dd.",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"to_date": {
"description": "Date as yyyy-mm-dd.",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"page": {
"description": "Page number, starting at 1.",
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"limit": {
"description": "Items per page (1-100, default 20).",
"type": "integer",
"minimum": 1,
"maximum": 100
}
},
"required": [
"group_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🔴activetrail_add_group_member(group_id, email, sms, first_name, last_name)
Create a contact (by email or SMS) and add it to a group. Adding can start automations that use the group as a trigger. It does not send a campaign. ActiveTrail API: POST /api/groups/{id}/members.
输入模式
{
"type": "object",
"properties": {
"group_id": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"description": "Numeric id (from a list tool)."
},
"email": {
"description": "Email address. Required when sms is not given.",
"type": "string",
"format": "email",
"pattern": "^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"
},
"sms": {
"description": "Phone number for SMS. Required when email is not given.",
"type": "string"
},
"first_name": {
"type": "string"
},
"last_name": {
"type": "string"
}
},
"required": [
"group_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢activetrail_list_mailing_lists
Mailing lists of the account (id and name). ActiveTrail API: GET /api/mailinglist.
输入模式
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢activetrail_list_mailing_list_members(mailing_list_id, from_date, to_date, page, limit)
Contacts of one mailing list, optionally by last-updated date range. Paginated. ActiveTrail API: GET /api/mailinglist/{id}/members.
输入模式
{
"type": "object",
"properties": {
"mailing_list_id": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"description": "Numeric id (from a list tool)."
},
"from_date": {
"description": "Date as yyyy-mm-dd.",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"to_date": {
"description": "Date as yyyy-mm-dd.",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"page": {
"description": "Page number, starting at 1.",
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"limit": {
"description": "Items per page (1-100, default 20).",
"type": "integer",
"minimum": 1,
"maximum": 100
}
},
"required": [
"mailing_list_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢activetrail_list_campaigns(mailing_list_id, content_category_id, search_term, send_type, from_date, ...)
Email campaigns, optionally filtered by mailing list, category, name, send type or last-updated date range. Paginated. ActiveTrail API: GET /api/campaigns.
输入模式
{
"type": "object",
"properties": {
"mailing_list_id": {
"description": "Only campaigns for this mailing list id.",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"content_category_id": {
"description": "Only campaigns in this category id.",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"search_term": {
"description": "Search text (name, or email/SMS for contacts).",
"type": "string"
},
"send_type": {
"description": "Send type filter, one of the values the API reference lists.",
"type": "string"
},
"from_date": {
"description": "Date as yyyy-mm-dd.",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"to_date": {
"description": "Date as yyyy-mm-dd.",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"page": {
"description": "Page number, starting at 1.",
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"limit": {
"description": "Items per page (1-100, default 20).",
"type": "integer",
"minimum": 1,
"maximum": 100
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢activetrail_get_campaign(campaign_id)
One email campaign by id: name, subject, send type, sent state and totals. ActiveTrail API: GET /api/campaigns/{id}.
输入模式
{
"type": "object",
"properties": {
"campaign_id": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"description": "Numeric id (from a list tool)."
}
},
"required": [
"campaign_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢activetrail_get_campaign_report(campaign_id, from_date, to_date, page, limit)
Summary statistics (sent, opens, clicks, rates, conversions) of one email campaign, optionally for a date range. ActiveTrail API: GET /api/campaignreports/{id}.
输入模式
{
"type": "object",
"properties": {
"campaign_id": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"description": "Numeric id (from a list tool)."
},
"from_date": {
"description": "Date as yyyy-mm-dd.",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"to_date": {
"description": "Date as yyyy-mm-dd.",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"page": {
"description": "Page number, starting at 1.",
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"limit": {
"description": "Items per page (1-100, default 20).",
"type": "integer",
"minimum": 1,
"maximum": 100
}
},
"required": [
"campaign_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢activetrail_list_automations(state_type, page, limit)
Marketing automations of the account, optionally filtered by state. Paginated. ActiveTrail API: GET /api/automations.
输入模式
{
"type": "object",
"properties": {
"state_type": {
"description": "Automation state filter, one of the values the API reference lists.",
"type": "string"
},
"page": {
"description": "Page number, starting at 1.",
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"limit": {
"description": "Items per page (1-100, default 20).",
"type": "integer",
"minimum": 1,
"maximum": 100
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢activetrail_get_automation(automation_id)
One automation by id: template, trigger type, trigger object and how many contacts started it. ActiveTrail API: GET /api/automations/{id}.
输入模式
{
"type": "object",
"properties": {
"automation_id": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"description": "Numeric id (from a list tool)."
}
},
"required": [
"automation_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢activetrail_list_signup_forms
Sign-up forms of the account (id and name). ActiveTrail API: GET /api/signupforms.
输入模式
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🔴activetrail_create_contact(email, sms, first_name, last_name, phone1, ...)
Create a contact in the account by email or SMS, with optional name, phone and city. The API rejects a duplicate; check with activetrail_list_contacts first. ActiveTrail API: POST /api/contacts.
输入模式
{
"type": "object",
"properties": {
"email": {
"description": "Email address. Required when sms is not given.",
"type": "string",
"format": "email",
"pattern": "^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"
},
"sms": {
"description": "Phone number for SMS. Required when email is not given.",
"type": "string"
},
"first_name": {
"type": "string"
},
"last_name": {
"type": "string"
},
"phone1": {
"type": "string"
},
"city": {
"type": "string"
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}社区
证据