DirectIQ
Manage DirectIQ contacts, lists and tags, and send transactional email from any AI agent.
我该使用它吗
质量与安全性
发现(3)
- HIGH
- MEDIUM在 directiq_read_request 中
- MEDIUM在 directiq_write_request 中
基于对工具定义和协议合规性的自动分析。
上下文开销
这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。
安装
一键安装
将以下内容添加到你的 `claude_desktop_config.json` 文件中:
{
"mcpServers": {
"directiq": {
"url": "https://mcp.directiq.com/mcp"
}
}
}远程端点
https://mcp.directiq.com/mcpstreamable-http它能做什么
工具清单
工具(15)
🟢directiq_get_contact(id)
Get a single contact by its numeric ID.
输入模式
{
"type": "object",
"properties": {
"id": {
"type": "integer",
"exclusiveMinimum": 0,
"description": "Numeric contact ID"
}
},
"required": [
"id"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢directiq_list_contacts(page, pageSize)
List contacts, optionally paginated.
输入模式
{
"type": "object",
"properties": {
"page": {
"type": "integer",
"exclusiveMinimum": 0,
"description": "1-based page number"
},
"pageSize": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 500,
"description": "Results per page (max 500)"
}
},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢directiq_contact_count
Get the total number of contacts in the account.
输入模式
{
"type": "object",
"properties": {},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🔴directiq_update_contact(id, fields)
Update a contact by ID. Provide the fields to change (e.g. firstName, lastName, email).
输入模式
{
"type": "object",
"properties": {
"id": {
"type": "integer",
"exclusiveMinimum": 0,
"description": "Numeric contact ID"
},
"fields": {
"type": "object",
"additionalProperties": {},
"description": "Object of contact fields to update"
}
},
"required": [
"id",
"fields"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢directiq_list_lists
List all contact lists.
输入模式
{
"type": "object",
"properties": {},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢directiq_get_list(id)
Get a contact list by its numeric ID.
输入模式
{
"type": "object",
"properties": {
"id": {
"type": "integer",
"exclusiveMinimum": 0,
"description": "Numeric list ID"
}
},
"required": [
"id"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟡directiq_create_list(name)
Create a new contact list.
输入模式
{
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 200,
"description": "List name (max 200 characters)"
}
},
"required": [
"name"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢directiq_list_tags
List all tags.
输入模式
{
"type": "object",
"properties": {},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢directiq_get_tag(id)
Get a tag by its numeric ID.
输入模式
{
"type": "object",
"properties": {
"id": {
"type": "integer",
"exclusiveMinimum": 0,
"description": "Numeric tag ID"
}
},
"required": [
"id"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟡directiq_create_tag(name)
Create a new tag.
输入模式
{
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"description": "Tag name"
}
},
"required": [
"name"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟡directiq_send_email(from, to, subject, content, fromName, ...)
Send a transactional email.
输入模式
{
"type": "object",
"properties": {
"from": {
"type": "string",
"format": "email",
"description": "Sender email address (must be a confirmed sender)"
},
"to": {
"type": "string",
"format": "email",
"description": "Recipient email address"
},
"subject": {
"type": "string",
"minLength": 2,
"description": "Email subject (min 2 characters)"
},
"content": {
"type": "string",
"minLength": 2,
"description": "Email body (HTML or text, min 2 characters)"
},
"fromName": {
"type": "string",
"description": "Sender display name"
},
"cc": {
"type": "array",
"items": {
"type": "string",
"format": "email"
},
"description": "CC recipients"
},
"bcc": {
"type": "array",
"items": {
"type": "string",
"format": "email"
},
"description": "BCC recipients"
}
},
"required": [
"from",
"to",
"subject",
"content"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢directiq_account_overview
Summarize the account: total contacts, active/disabled status counts, list count, tag count, and confirmed sender addresses. Individual sections degrade gracefully if unavailable.
输入模式
{
"type": "object",
"properties": {},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢directiq_list_endpoints(search)
List known DirectIQ API operations (HTTP method, API group, path, summary). Optionally filter by a search term. Call GET operations with directiq_read_request and POST/PUT/PATCH/DELETE operations with directiq_write_request.
输入模式
{
"type": "object",
"properties": {
"search": {
"type": "string",
"description": "Optional case-insensitive filter matched against each operation path or summary"
}
},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢directiq_read_request(group, path, query)
Issue an authenticated GET request to any DirectIQ endpoint. Use directiq_list_endpoints to discover GET operations (group, path) that have no dedicated tool. Full request/response schemas for each group are in the DirectIQ API docs at https://rest.directiq.com/{group}/swagger/index.html (core, contacts, subscription).
输入模式
{
"type": "object",
"properties": {
"group": {
"type": "string",
"enum": [
"core",
"contacts",
"subscription"
],
"description": "DirectIQ API group: core, contacts, or subscription"
},
"path": {
"type": "string",
"minLength": 1,
"pattern": "^\\/",
"description": "Endpoint path within the group, e.g. '/contact/list' or '/email/send'"
},
"query": {
"type": "object",
"additionalProperties": {
"type": [
"string",
"number",
"boolean"
]
},
"description": "Optional query parameters"
}
},
"required": [
"group",
"path"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🔴directiq_write_request(group, method, path, query, body)
Issue an authenticated POST, PUT, PATCH, or DELETE request to any DirectIQ endpoint. May create, modify, or permanently delete account data. Use directiq_list_endpoints to discover operations (method, group, path) that have no dedicated tool. Full request/response schemas for each group are in the DirectIQ API docs at https://rest.directiq.com/{group}/swagger/index.html (core, contacts, subscription).
输入模式
{
"type": "object",
"properties": {
"group": {
"type": "string",
"enum": [
"core",
"contacts",
"subscription"
],
"description": "DirectIQ API group: core, contacts, or subscription"
},
"method": {
"type": "string",
"enum": [
"POST",
"PUT",
"PATCH",
"DELETE"
],
"description": "HTTP method"
},
"path": {
"type": "string",
"minLength": 1,
"pattern": "^\\/",
"description": "Endpoint path within the group, e.g. '/contact/list' or '/email/send'"
},
"query": {
"type": "object",
"additionalProperties": {
"type": [
"string",
"number",
"boolean"
]
},
"description": "Optional query parameters"
},
"body": {
"anyOf": [
{
"type": "object",
"additionalProperties": {}
},
{
"type": "array",
"items": {}
}
],
"description": "Optional JSON request body: an object, or an array for bulk operations"
}
},
"required": [
"group",
"method",
"path"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}社区
证据