Skip to main content
Glama

test_reporting_connection

Verify connectivity to Zebrunner Reporting API using updated authentication methods to ensure reporting data can be transmitted successfully.

Instructions

🔌 Test connection to Zebrunner Reporting API with new authentication

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • Registers the 'test_reporting_connection' MCP tool with an inline handler that calls reportingClient.testConnection() and formats the result as MCP content.
    server.tool( "test_reporting_connection", "🔌 Test connection to Zebrunner Reporting API with new authentication", {}, async () => { try { const result = await reportingClient.testConnection(); return { content: [ { type: "text" as const, text: JSON.stringify(result, null, 2) } ] }; } catch (error: any) { return { content: [ { type: "text" as const, text: `Reporting API Connection failed: ${error.message}` } ] }; } } );
  • Core implementation of connection test in ZebrunnerReportingClient: authenticates via this.authenticate() and returns success/failure status with details.
    async testConnection(): Promise<{ success: boolean; message: string; details?: any }> { try { const bearerToken = await this.authenticate(); return { success: true, message: 'Connection successful to Zebrunner Reporting API', details: { baseUrl: this.config.baseUrl, tokenLength: bearerToken.length, expiresAt: this.tokenExpiresAt } }; } catch (error) { return { success: false, message: `Connection failed: ${error instanceof Error ? error.message : 'Unknown error'}`, details: { error } }; } }

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/maksimsarychau/mcp-zebrunner'

If you have feedback or need assistance with the MCP directory API, please join our Discord server