Official Shipmail MCP server for AI-agent custom-domain business email, REST API, and webhooks
接入配置
选择客户端,复制配置,再按项目文档补齐环境变量。
本地运行
claude mcp add shipmail --env SHIPMAIL_API_KEY='<SHIPMAIL_API_KEY>' -- npx -y shipmail-mcp~/.codex/config.toml
[mcp_servers.shipmail]
command = "npx"
args = ["-y", "shipmail-mcp"]
env = { SHIPMAIL_API_KEY = "<SHIPMAIL_API_KEY>" }
# codex mcp add shipmail --env SHIPMAIL_API_KEY='<SHIPMAIL_API_KEY>' -- npx -y shipmail-mcp~/.cursor/mcp.json
{
"mcpServers": {
"shipmail": {
"command": "npx",
"args": [
"-y",
"shipmail-mcp"
],
"env": {
"SHIPMAIL_API_KEY": "<SHIPMAIL_API_KEY>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"shipmail": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"shipmail-mcp"
],
"env": {
"SHIPMAIL_API_KEY": "<SHIPMAIL_API_KEY>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"shipmail": {
"command": "npx",
"args": [
"-y",
"shipmail-mcp"
],
"env": {
"SHIPMAIL_API_KEY": "<SHIPMAIL_API_KEY>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"shipmail": {
"command": "npx",
"args": [
"-y",
"shipmail-mcp"
],
"env": {
"SHIPMAIL_API_KEY": "<SHIPMAIL_API_KEY>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"shipmail": {
"command": "npx",
"args": [
"-y",
"shipmail-mcp"
],
"env": {
"SHIPMAIL_API_KEY": "<SHIPMAIL_API_KEY>"
}
}
}
}远程托管
claude mcp add --transport http shipmail https://shipmail.to/api/mcp --header 'Authorization: <AUTHORIZATION>'~/.codex/config.toml
[mcp_servers.shipmail]
url = "https://shipmail.to/api/mcp"
http_headers = { Authorization = "<AUTHORIZATION>" }
# codex mcp add shipmail --url https://shipmail.to/api/mcp~/.cursor/mcp.json
{
"mcpServers": {
"shipmail": {
"url": "https://shipmail.to/api/mcp",
"headers": {
"Authorization": "<AUTHORIZATION>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"shipmail": {
"type": "http",
"url": "https://shipmail.to/api/mcp",
"headers": {
"Authorization": "<AUTHORIZATION>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"shipmail": {
"httpUrl": "https://shipmail.to/api/mcp",
"headers": {
"Authorization": "<AUTHORIZATION>"
}
}
}
}claude_desktop_config.json · Customize › Connectors › Add custom connector
{
"mcpServers": {
"shipmail": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://shipmail.to/api/mcp",
"--header",
"Authorization:<AUTHORIZATION>"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"shipmail": {
"url": "https://shipmail.to/api/mcp",
"headers": {
"Authorization": "<AUTHORIZATION>"
}
}
}
}需要的环境变量
SHIPMAIL_API_KEY
把占位值换成你自己的密钥;不要把密钥提交到代码仓库。