Skip to main content
Glama

api-key-list

Retrieve metadata for all platform API keys including hash, name, and scopes without exposing actual key values.

Instructions

List all platform API keys. Returns key metadata (hash, name, scopes) — NOT the key values.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The tool "api-key-list" is defined and its handler is implemented here using client.settings.listApiKeys().
    server.tool(
      "api-key-list",
      "List all platform API keys. Returns key metadata (hash, name, scopes) — NOT the key values.",
      {},
      async () => {
        try {
          const result = await client.settings.listApiKeys();
          return { content: [{ type: "text", text: JSON.stringify(result, null, 2) }] };
        } catch (err) {
          const message = err instanceof Error ? err.message : String(err);
          return { content: [{ type: "text", text: `Error: ${message}` }], isError: true };
        }
      },

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/ebenezer-isaac/llmconveyors-mcp'

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