ethora-app-list
Authenticate and retrieve a list of applications within the Ethora platform, enabling users to manage and interact with their deployed services efficiently.
Instructions
List application, user should login first
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/tools.ts:66-87 (registration)Registration of the 'ethora-app-list' tool, including inline handler function that executes appList() API call and returns result as JSON text.
function appListTool(server: McpServer) { server.registerTool( 'ethora-app-list', { description: 'List application, user should login first', }, async function () { try { let result = await appList() let toolRes: CallToolResult = { content: [{ type: "text", text: JSON.stringify(result.data) }] } return toolRes } catch (error) { let toolRes: CallToolResult = { content: [{ type: "text", text: "error: network error" }] } return toolRes } } ) } - src/apiClientDappros.ts:117-121 (helper)Supporting API client function appList() that performs the GET request to list applications.
export function appList() { return httpClientDappros.get( `/apps/` ) } - src/tools.ts:342-342 (registration)Invocation of appListTool registration within the main registerTools function.
appListTool(server); - src/index.ts:13-13 (registration)Main server initialization calls registerTools to register all tools including ethora-app-list.
registerTools(server);