mcpField
D
DirectIQ

DirectIQ

远程服务
directiq.com商业与营销06 天前更新

关于 DirectIQ

DirectIQ 是托管式 MCP 服务,可让 MCP 客户端管理 DirectIQ 邮件账户。它涵盖联系人、列表和标签管理,以及事务性邮件发送,并通过 API 密钥访问账户。

主要功能

  1. 01查看账户统计和已确认发件人
  2. 02列出并获取联系人、列表和标签
  3. 03更新联系人并创建列表或标签
  4. 04发送事务性邮件
  5. 05读取或写入 DirectIQ API 端点

适用场景

  1. 01查看联系人数量和账户状态
  2. 02用列表和标签整理联系人
  3. 03修改联系人的资料
  4. 04发送订单确认邮件

MCP 相关

它通过 Streamable HTTP 向 MCP 客户端提供 DirectIQ 账户和邮件操作工具。使用 DirectIQ API 密钥进行身份验证。

配置

远程服务无需本地安装。选择你使用的客户端,复制配置或使用一键安装。

服务地址https://mcp.directiq.com/mcp
一键复制安装命令
Claude CodeTerminal
Cursor.cursor/mcp.json
VS Code.vscode/mcp.json
Claude Desktopclaude_desktop_config.json
Windsurf~/.codeium/windsurf/mcp_config.json

命令在终端中运行;JSON 粘贴到对应客户端的 MCP 配置后重启。需要授权的服务会在首次连接时提示登录。

全部服务地址
Streamable HTTPhttps://mcp.directiq.com/mcp需要授权

工具

详细介绍

DirectIQ MCP 服务

MCP Registry License: MIT

将 Claude、ChatGPT、Cursor、VS Code、Windsurf 以及任何其他 Model Context Protocol 客户端连接到你的 DirectIQ 账户。管理联系人、列表和标签,查看账户概览,并用日常语言发送事务性邮件。

DirectIQ 是面向小型企业的电子邮件营销和事务性邮件平台,提供快速的人工支持和按需付费定价。→ directiq.com

  • 端点: https://mcp.directiq.com/mcp
  • 传输方式: Streamable HTTP(远程服务,由 DirectIQ 托管,无需安装)
  • 身份验证: 在 x-api-key 标头中提供 DirectIQ API 密钥,或使用 Authorization: Bearer <key>(OAuth 即将推出)
  • 服务卡片: https://mcp.directiq.com/.well-known/mcp/server-card.json
  • 注册表名称: com.directiq.mcp/directiq

此存储库包含 DirectIQ 托管的 MCP 服务 mcp.directiq.com 的公开文档、注册表元数据和客户端配置,该服务由 DirectIQ 运营。无需安装或构建任何内容。

快速开始

  1. 获取 API 密钥: 登录 DirectIQ 控制面板,然后前往 Settings → API Keys,复制或生成密钥。还没有账户?免费注册。
  2. 将服务添加到客户端: 请参阅下方的代码片段。
  3. 试试提示词: “概览一下我的 DirectIQ 账户。”

客户端设置

Cursor

添加到 Cursor。此链接会打开 Cursor 并填入配置。将 YOUR_DIRECTIQ_API_KEY 替换为你的密钥。

或者手动将其添加到 ~/.cursor/mcp.json:

{
  "mcpServers": {
    "directiq": {
      "url": "https://mcp.directiq.com/mcp",
      "headers": { "x-api-key": "YOUR_DIRECTIQ_API_KEY" }
    }
  }
}
VS Code(GitHub Copilot)

添加到 .vscode/mcp.json。VS Code 会提示输入密钥,并安全地存储该密钥:

{
  "inputs": [
    { "type": "promptString", "id": "directiq_api_key", "description": "DirectIQ API key", "password": true }
  ],
  "servers": {
    "directiq": {
      "type": "http",
      "url": "https://mcp.directiq.com/mcp",
      "headers": { "x-api-key": "${input:directiq_api_key}" }
    }
  }
}
Claude Code
claude mcp add --transport http directiq https://mcp.directiq.com/mcp --header "x-api-key: YOUR_DIRECTIQ_API_KEY"
Claude Desktop

OAuth 上线前,请在 claude_desktop_config.json 中使用 mcp-remote 桥接程序:

{
  "mcpServers": {
    "directiq": {
      "command": "npx",
      "args": ["-y", "mcp-remote", "https://mcp.directiq.com/mcp", "--header", "x-api-key:${DIRECTIQ_API_KEY}"],
      "env": { "DIRECTIQ_API_KEY": "YOUR_DIRECTIQ_API_KEY" }
    }
  }
}
Windsurf

~/.codeium/windsurf/mcp_config.json:

{
  "mcpServers": {
    "directiq": {
      "serverUrl": "https://mcp.directiq.com/mcp",
      "headers": { "x-api-key": "YOUR_DIRECTIQ_API_KEY" }
    }
  }
}
OpenAI Codex

设置 export DIRECTIQ_API_KEY=... 后,编辑 ~/.codex/config.toml:

[mcp_servers.directiq]
url = "https://mcp.directiq.com/mcp"
env_http_headers = { "x-api-key" = "DIRECTIQ_API_KEY" }
其他 MCP 客户端
设置值
传输方式Streamable HTTP
URLhttps://mcp.directiq.com/mcp
标头x-api-key: <your DirectIQ API key>

工具

工具功能注释
directiq_account_overview汇总账户信息:联系人总数、活跃/已停用联系人数量、列表数量、标签数量和已确认的发件人地址只读
directiq_contact_count返回联系人总数只读
directiq_list_contacts列出联系人,支持分页(page、pageSize,最多 500)只读
directiq_get_contact按数字 ID 获取单个联系人只读
directiq_update_contact更新联系人的字段(例如 firstName、lastName、email)破坏性,幂等
directiq_list_lists列出所有联系人列表只读
directiq_get_list按数字 ID 获取联系人列表只读
directiq_create_list创建新的联系人列表写入
directiq_list_tags列出所有标签只读
directiq_get_tag按数字 ID 获取标签只读
directiq_create_tag创建新标签写入
directiq_send_email发送一封事务性邮件(使用已确认的发件人;包含收件人、主题、HTML 或文本内容、抄送/密送)写入,开放世界
directiq_list_endpoints列出已知的 DirectIQ API 操作,可选搜索只读
directiq_read_request向任意 DirectIQ API 端点发送经过身份验证的 GET 请求只读
directiq_write_request向任意 DirectIQ API 端点发送经过身份验证的 POST/PUT/PATCH/DELETE 请求;可能会修改或永久删除数据破坏性

每个工具都会声明 MCP 注释(readOnlyHint、destructiveHint、idempotentHint、openWorldHint),以便客户端在进行更改前征求确认。完整 API 架构:https://rest.directiq.com/{core|contacts|subscription}/swagger/index.html。

文档

示例提示词

  • “概述我的 DirectIQ 账户:联系人、列表、标签和已确认的发件人。”
  • “我有多少联系人,其中有多少已停用?”
  • “创建一个名为 ‘Fall Promo 2026’ 的列表和一个名为 ‘vip’ 的标签。”
  • “显示联系人 12345,并将其名字改为 Jamie。”
  • “从 [email protected] 向 [email protected] 发送一封事务性邮件,主题为 ‘Order confirmed’,并附上一段简短的感谢信息。”
  • “DirectIQ 有哪些可用于订阅的 API 端点?”

安全与数据处理

  • 你的 API 密钥仅会通过 HTTPS,以 x-api-key 标头发送到 mcp.directiq.com。切勿将其粘贴到聊天中或提交到代码库。
  • 服务会以 API 密钥所属 DirectIQ 账户的权限执行操作。你可以随时在 设置 → API 密钥 中撤销或轮换密钥。
  • 只能使用账户中已确认的发件人地址发送邮件。
  • directiq_write_request 和 directiq_update_contact 可以更改或删除数据。请保持客户端的工具审批提示开启。
  • 隐私政策:https://www.directiq.com/privacy-policy · 服务条款:https://www.directiq.com/terms-of-service

定价

MCP 服务可免费使用。通过它发送的邮件会计入你的常规 DirectIQ 套餐用量,包括按量付费套餐。请参阅 directiq.com/pricing。

支持

更新日志

请参阅 CHANGELOG.md。

许可证

此代码库中的文档和配置根据 MIT License 授权。DirectIQ 服务本身受 DirectIQ Terms of Service 约束。

评论

支持 Markdown

第一次接触 MCP?

从协议是什么,到在客户端里装上第一个服务,这几条回答覆盖了大多数入门问题。

一个开放协议,规定了 AI 应用如何以统一方式连接外部工具与数据源。客户端负责与模型对话,MCP 服务负责提供工具、资源和提示模板,两者通过标准消息通信,同一个服务可以被不同客户端复用。