JavaScript
const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: JSON.stringify({ name: '<string>', serverUrl: '<string>', authentication: {apiKey: '<string>', headerName: '<string>'}, customHeaders: {}, isEnabled: true, description: null, transport: 'SSE', blackListTools: null, whiteListTools: null }) }; fetch('https://blackbox.dasha.ai/api/v1/mcp/verify', options) .then(res => res.json()) .then(res => console.log(res)) .catch(err => console.error(err));
{ "success": true, "availableTools": [ { "name": "<string>", "description": "<string>", "schema": {}, "isEnabled": true } ], "testedAt": "2023-11-07T05:31:56Z", "responseTimeMs": 123, "message": "<string>" }
Complete MCP connection configuration to test
1
Show child attributes
SSE
StreamableHTTP
Connection test completed (check success field in response)
Was this page helpful?