156 lines
3.9 KiB
JSON
156 lines
3.9 KiB
JSON
{
|
|
"server": {
|
|
"command": "node",
|
|
"args": [
|
|
"/Users/jakeshore/.clawdbot/workspace/mcp-diagrams/mcp-servers/mailchimp/dist/index.js"
|
|
],
|
|
"env": {
|
|
"MAILCHIMP_API_KEY": "factory_discovery_dummy"
|
|
}
|
|
},
|
|
"tests": {
|
|
"tools": {
|
|
"list_campaigns": {
|
|
"args": {
|
|
"count": 50,
|
|
"offset": 50,
|
|
"status": "save",
|
|
"type": "regular"
|
|
},
|
|
"expect": "content && content.length > 0"
|
|
},
|
|
"list_campaigns:empty-status": {
|
|
"args": {
|
|
"count": 50,
|
|
"offset": 50,
|
|
"status": "",
|
|
"type": "regular"
|
|
},
|
|
"expect": "exists"
|
|
},
|
|
"list_campaigns:empty-type": {
|
|
"args": {
|
|
"count": 50,
|
|
"offset": 50,
|
|
"status": "save",
|
|
"type": ""
|
|
},
|
|
"expect": "exists"
|
|
},
|
|
"get_campaign": {
|
|
"args": {
|
|
"campaign_id": "test-id-123"
|
|
},
|
|
"expect": "content && content.length > 0"
|
|
},
|
|
"create_campaign": {
|
|
"args": {
|
|
"type": "regular",
|
|
"list_id": "test-id-123",
|
|
"subject_line": "test_value",
|
|
"preview_text": "Sample content for testing",
|
|
"title": "test_value",
|
|
"from_name": "Test Name",
|
|
"reply_to": "test_value"
|
|
},
|
|
"expect": "content && content.length > 0"
|
|
},
|
|
"create_campaign:empty-preview_text": {
|
|
"args": {
|
|
"type": "regular",
|
|
"list_id": "test-id-123",
|
|
"subject_line": "test_value",
|
|
"preview_text": "",
|
|
"title": "test_value",
|
|
"from_name": "Test Name",
|
|
"reply_to": "test_value"
|
|
},
|
|
"expect": "exists"
|
|
},
|
|
"create_campaign:empty-title": {
|
|
"args": {
|
|
"type": "regular",
|
|
"list_id": "test-id-123",
|
|
"subject_line": "test_value",
|
|
"preview_text": "Sample content for testing",
|
|
"title": "",
|
|
"from_name": "Test Name",
|
|
"reply_to": "test_value"
|
|
},
|
|
"expect": "exists"
|
|
},
|
|
"send_campaign": {
|
|
"args": {
|
|
"campaign_id": "test-id-123"
|
|
},
|
|
"expect": "content && content.length > 0"
|
|
},
|
|
"list_lists": {
|
|
"args": {
|
|
"count": 50,
|
|
"offset": 50
|
|
},
|
|
"expect": "content && content.length > 0"
|
|
},
|
|
"add_subscriber": {
|
|
"args": {
|
|
"list_id": "test-id-123",
|
|
"email": "test@example.com",
|
|
"status": "subscribed",
|
|
"first_name": "Test Name",
|
|
"last_name": "Test Name",
|
|
"tags": []
|
|
},
|
|
"expect": "content && content.length > 0"
|
|
},
|
|
"add_subscriber:empty-first_name": {
|
|
"args": {
|
|
"list_id": "test-id-123",
|
|
"email": "test@example.com",
|
|
"status": "subscribed",
|
|
"first_name": "",
|
|
"last_name": "Test Name",
|
|
"tags": []
|
|
},
|
|
"expect": "exists"
|
|
},
|
|
"add_subscriber:empty-last_name": {
|
|
"args": {
|
|
"list_id": "test-id-123",
|
|
"email": "test@example.com",
|
|
"status": "subscribed",
|
|
"first_name": "Test Name",
|
|
"last_name": "",
|
|
"tags": []
|
|
},
|
|
"expect": "exists"
|
|
},
|
|
"get_subscriber": {
|
|
"args": {
|
|
"list_id": "test-id-123",
|
|
"email": "test@example.com"
|
|
},
|
|
"expect": "content && content.length > 0"
|
|
},
|
|
"list_templates": {
|
|
"args": {
|
|
"count": 50,
|
|
"offset": 50,
|
|
"type": "user"
|
|
},
|
|
"expect": "content && content.length > 0"
|
|
},
|
|
"list_templates:empty-type": {
|
|
"args": {
|
|
"count": 50,
|
|
"offset": 50,
|
|
"type": ""
|
|
},
|
|
"expect": "exists"
|
|
}
|
|
},
|
|
"resources": {},
|
|
"prompts": {},
|
|
"timeout": 30000
|
|
}
|
|
} |