honeycomb_auth
Authenticate API keys and retrieve authentication details to ensure secure access within the honeycomb-mcp-server environment.
Instructions
Get authentication information and validate API key
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- index.ts:410-421 (handler)Core handler function for honeycomb_auth tool. Performs GET request to Honeycomb /auth endpoint to validate API key and retrieve auth info.async auth(): Promise<any> { const response = await fetch(`${this.baseUrl}/auth`, { method: "GET", headers: this.headers, }); if (!response.ok) { throw new Error(`Failed to authenticate: ${response.statusText}`); } return await response.json(); }
- index.ts:637-642 (handler)MCP tool dispatch handler case for honeycomb_auth, calls client.auth() and formats response.case "honeycomb_auth": { const response = await client.auth(); return { content: [{ type: "text", text: JSON.stringify(response) }], }; }
- index.ts:91-98 (schema)Tool schema definition for honeycomb_auth with empty input schema (no parameters required).const authTool: Tool = { name: "honeycomb_auth", description: "API Keys have various scopes permissions and belong to a specific Team or Environment. Use this to validate authentication for a key, to determine what authorizations have been granted to a key, and to determine the Team and Environment that a key belongs to.", inputSchema: { type: "object", properties: {}, }, };
- index.ts:785-785 (registration)Registration of honeycomb_auth tool in the list of available tools returned by ListToolsRequest.authTool,