list-container-registry-auths
Retrieve and manage authentication details for container registries within the Novita MCP Server, facilitating secure access to containerized resources on the platform.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/tools.ts:442-452 (handler)The handler for the 'list-container-registry-auths' tool. It makes a GET request to the Novita API endpoint '/repository/auths' and returns the JSON response formatted as text content.server.tool("list-container-registry-auths", {}, async () => { const result = await novitaRequest("/repository/auths", "GET"); return { content: [ { type: "text", text: JSON.stringify(result, null, 2), }, ], }; });
- src/tools.ts:442-452 (registration)Registration of the 'list-container-registry-auths' tool with empty input schema (no parameters) and the handler function.server.tool("list-container-registry-auths", {}, async () => { const result = await novitaRequest("/repository/auths", "GET"); return { content: [ { type: "text", text: JSON.stringify(result, null, 2), }, ], }; });
- src/tools.ts:12-12 (registration)Call to register the registry auth tools group, which includes 'list-container-registry-auths'.registerRegistryAuthTools(server);
- src/index.ts:23-23 (registration)Top-level call to register all tools, which indirectly registers 'list-container-registry-auths'.registerAllTools(server);