Skip to main content
Glama
dappros

Ethora MCP Server

by dappros

ethora-app-create

Create a new app on the Ethora MCP Server by specifying a display name, enabling app management and integration with the Ethora platform for user authentication and registration.

Instructions

Create a new app for the logged-in user.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
displayNameYesdisplay name for app

Implementation Reference

  • src/tools.ts:89-111 (registration)
    Full registration block for the 'ethora-app-create' MCP tool, including description, input schema (displayName: string), and inline handler function that invokes appCreate API and formats response.
    function appCreateTool(server: McpServer) {
        server.registerTool(
            'ethora-app-create',
            {
                description: 'Create a new app for the logged-in user.',
                inputSchema: { displayName: z.string().describe("display name for app") }
            },
            async function ({ displayName }) {
                try {
                    let result = await appCreate(displayName)
                    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
                }
            }
        )
    }
  • Helper function appCreate that performs the actual HTTP POST request to create an app with the given displayName using the configured axios client.
    export function appCreate(displayName: string) {
      return httpClientDappros.post(
        `/apps/`,
        {
          displayName
        }
      )
    }
  • src/tools.ts:343-343 (registration)
    Invocation of appCreateTool registration within the main registerTools function.
    appCreateTool(server);
  • src/index.ts:13-13 (registration)
    Main server initialization calls registerTools to register all tools including ethora-app-create.
    registerTools(server);

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/dappros/ethora-mcp-server'

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