287 lines
7.1 KiB
JSON
287 lines
7.1 KiB
JSON
{
|
|
"server": {
|
|
"command": "node",
|
|
"args": [
|
|
"/Users/jakeshore/.clawdbot/workspace/mcp-diagrams/mcp-servers/helpscout/dist/index.js"
|
|
],
|
|
"env": {
|
|
"HELPSCOUT_ACCESS_TOKEN": "factory_discovery_dummy"
|
|
}
|
|
},
|
|
"tests": {
|
|
"tools": {
|
|
"list_conversations": {
|
|
"args": {
|
|
"mailbox": 50,
|
|
"status": "active",
|
|
"tag": "test_value",
|
|
"assigned_to": 50,
|
|
"folder": 50,
|
|
"page": 50,
|
|
"sortField": "test_value",
|
|
"sortOrder": "asc"
|
|
},
|
|
"expect": "content && content.length > 0"
|
|
},
|
|
"list_conversations:empty-status": {
|
|
"args": {
|
|
"mailbox": 50,
|
|
"status": "",
|
|
"tag": "test_value",
|
|
"assigned_to": 50,
|
|
"folder": 50,
|
|
"page": 50,
|
|
"sortField": "test_value",
|
|
"sortOrder": "asc"
|
|
},
|
|
"expect": "exists"
|
|
},
|
|
"list_conversations:empty-tag": {
|
|
"args": {
|
|
"mailbox": 50,
|
|
"status": "active",
|
|
"tag": "",
|
|
"assigned_to": 50,
|
|
"folder": 50,
|
|
"page": 50,
|
|
"sortField": "test_value",
|
|
"sortOrder": "asc"
|
|
},
|
|
"expect": "exists"
|
|
},
|
|
"list_conversations:empty-sortField": {
|
|
"args": {
|
|
"mailbox": 50,
|
|
"status": "active",
|
|
"tag": "test_value",
|
|
"assigned_to": 50,
|
|
"folder": 50,
|
|
"page": 50,
|
|
"sortField": "",
|
|
"sortOrder": "asc"
|
|
},
|
|
"expect": "exists"
|
|
},
|
|
"list_conversations:empty-sortOrder": {
|
|
"args": {
|
|
"mailbox": 50,
|
|
"status": "active",
|
|
"tag": "test_value",
|
|
"assigned_to": 50,
|
|
"folder": 50,
|
|
"page": 50,
|
|
"sortField": "test_value",
|
|
"sortOrder": ""
|
|
},
|
|
"expect": "exists"
|
|
},
|
|
"get_conversation": {
|
|
"args": {
|
|
"id": 50
|
|
},
|
|
"expect": "content && content.length > 0"
|
|
},
|
|
"create_conversation": {
|
|
"args": {
|
|
"mailboxId": 50,
|
|
"subject": "test_value",
|
|
"customer": {},
|
|
"type": "email",
|
|
"status": "active",
|
|
"threads": [],
|
|
"tags": [],
|
|
"assignTo": 50
|
|
},
|
|
"expect": "content && content.length > 0"
|
|
},
|
|
"create_conversation:empty-type": {
|
|
"args": {
|
|
"mailboxId": 50,
|
|
"subject": "test_value",
|
|
"customer": {},
|
|
"type": "",
|
|
"status": "active",
|
|
"threads": [],
|
|
"tags": [],
|
|
"assignTo": 50
|
|
},
|
|
"expect": "exists"
|
|
},
|
|
"create_conversation:empty-status": {
|
|
"args": {
|
|
"mailboxId": 50,
|
|
"subject": "test_value",
|
|
"customer": {},
|
|
"type": "email",
|
|
"status": "",
|
|
"threads": [],
|
|
"tags": [],
|
|
"assignTo": 50
|
|
},
|
|
"expect": "exists"
|
|
},
|
|
"reply_conversation": {
|
|
"args": {
|
|
"conversationId": 50,
|
|
"text": "Sample content for testing",
|
|
"user": 50,
|
|
"customer": {},
|
|
"type": "reply",
|
|
"status": "active",
|
|
"draft": true,
|
|
"cc": [],
|
|
"bcc": []
|
|
},
|
|
"expect": "content && content.length > 0"
|
|
},
|
|
"reply_conversation:empty-type": {
|
|
"args": {
|
|
"conversationId": 50,
|
|
"text": "Sample content for testing",
|
|
"user": 50,
|
|
"customer": {},
|
|
"type": "",
|
|
"status": "active",
|
|
"draft": true,
|
|
"cc": [],
|
|
"bcc": []
|
|
},
|
|
"expect": "exists"
|
|
},
|
|
"reply_conversation:empty-status": {
|
|
"args": {
|
|
"conversationId": 50,
|
|
"text": "Sample content for testing",
|
|
"user": 50,
|
|
"customer": {},
|
|
"type": "reply",
|
|
"status": "",
|
|
"draft": true,
|
|
"cc": [],
|
|
"bcc": []
|
|
},
|
|
"expect": "exists"
|
|
},
|
|
"list_customers": {
|
|
"args": {
|
|
"email": "test@example.com",
|
|
"firstName": "Test Name",
|
|
"lastName": "Test Name",
|
|
"query": "test query",
|
|
"page": 50,
|
|
"sortField": "test_value",
|
|
"sortOrder": "asc"
|
|
},
|
|
"expect": "content && content.length > 0"
|
|
},
|
|
"list_customers:empty-email": {
|
|
"args": {
|
|
"email": "",
|
|
"firstName": "Test Name",
|
|
"lastName": "Test Name",
|
|
"query": "test query",
|
|
"page": 50,
|
|
"sortField": "test_value",
|
|
"sortOrder": "asc"
|
|
},
|
|
"expect": "exists"
|
|
},
|
|
"list_customers:empty-firstName": {
|
|
"args": {
|
|
"email": "test@example.com",
|
|
"firstName": "",
|
|
"lastName": "Test Name",
|
|
"query": "test query",
|
|
"page": 50,
|
|
"sortField": "test_value",
|
|
"sortOrder": "asc"
|
|
},
|
|
"expect": "exists"
|
|
},
|
|
"list_customers:empty-lastName": {
|
|
"args": {
|
|
"email": "test@example.com",
|
|
"firstName": "Test Name",
|
|
"lastName": "",
|
|
"query": "test query",
|
|
"page": 50,
|
|
"sortField": "test_value",
|
|
"sortOrder": "asc"
|
|
},
|
|
"expect": "exists"
|
|
},
|
|
"list_customers:empty-query": {
|
|
"args": {
|
|
"email": "test@example.com",
|
|
"firstName": "Test Name",
|
|
"lastName": "Test Name",
|
|
"query": "",
|
|
"page": 50,
|
|
"sortField": "test_value",
|
|
"sortOrder": "asc"
|
|
},
|
|
"expect": "exists"
|
|
},
|
|
"list_customers:empty-sortField": {
|
|
"args": {
|
|
"email": "test@example.com",
|
|
"firstName": "Test Name",
|
|
"lastName": "Test Name",
|
|
"query": "test query",
|
|
"page": 50,
|
|
"sortField": "",
|
|
"sortOrder": "asc"
|
|
},
|
|
"expect": "exists"
|
|
},
|
|
"list_customers:empty-sortOrder": {
|
|
"args": {
|
|
"email": "test@example.com",
|
|
"firstName": "Test Name",
|
|
"lastName": "Test Name",
|
|
"query": "test query",
|
|
"page": 50,
|
|
"sortField": "test_value",
|
|
"sortOrder": ""
|
|
},
|
|
"expect": "exists"
|
|
},
|
|
"list_mailboxes": {
|
|
"args": {
|
|
"page": 50
|
|
},
|
|
"expect": "content && content.length > 0"
|
|
},
|
|
"search": {
|
|
"args": {
|
|
"query": "test query",
|
|
"page": 50,
|
|
"sortField": "test_value",
|
|
"sortOrder": "asc"
|
|
},
|
|
"expect": "content && content.length > 0"
|
|
},
|
|
"search:empty-sortField": {
|
|
"args": {
|
|
"query": "test query",
|
|
"page": 50,
|
|
"sortField": "",
|
|
"sortOrder": "asc"
|
|
},
|
|
"expect": "exists"
|
|
},
|
|
"search:empty-sortOrder": {
|
|
"args": {
|
|
"query": "test query",
|
|
"page": 50,
|
|
"sortField": "test_value",
|
|
"sortOrder": ""
|
|
},
|
|
"expect": "exists"
|
|
}
|
|
},
|
|
"resources": {},
|
|
"prompts": {},
|
|
"timeout": 30000
|
|
}
|
|
} |