Skip to main content
Glama

create-container-registry-auth

Generate authentication credentials for container registries to securely access private container images when deploying pods on RunPod infrastructure.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesName for the container registry auth
passwordYesRegistry password
usernameYesRegistry username

Implementation Reference

  • The async handler function for the 'create-container-registry-auth' tool. It makes a POST request to the RunPod API endpoint '/containerregistryauth' using the shared runpodRequest helper with the input parameters (name, username, password) and returns the formatted JSON response as MCP content.
    async (params) => { const result = await runpodRequest( '/containerregistryauth', 'POST', params ); return { content: [ { type: 'text', text: JSON.stringify(result, null, 2), }, ], }; }
  • Zod input schema for the 'create-container-registry-auth' tool, defining the required parameters: name (string), username (string), and password (string) with descriptions.
    { name: z.string().describe('Name for the container registry auth'), username: z.string().describe('Registry username'), password: z.string().describe('Registry password'), },
  • src/index.ts:781-804 (registration)
    The MCP server.tool call that registers the 'create-container-registry-auth' tool, specifying its name, input schema, and inline handler function.
    server.tool( 'create-container-registry-auth', { name: z.string().describe('Name for the container registry auth'), username: z.string().describe('Registry username'), password: z.string().describe('Registry password'), }, async (params) => { const result = await runpodRequest( '/containerregistryauth', 'POST', params ); return { content: [ { type: 'text', text: JSON.stringify(result, null, 2), }, ], }; } );

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/runpod/runpod-mcp'

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