create-container-registry-auth
Creates authentication credentials for container registries in the RunPod MCP Server, enabling secure access to private container images for pod deployments.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name for the container registry auth | |
| username | Yes | Registry username | |
| password | Yes | Registry password |
Implementation Reference
- src/index.ts:788-803 (handler)The handler function that executes the tool logic by making a POST request to RunPod's /containerregistryauth endpoint with the provided parameters.async (params) => { const result = await runpodRequest( '/containerregistryauth', 'POST', params ); return { content: [ { type: 'text', text: JSON.stringify(result, null, 2), }, ], }; }
- src/index.ts:783-787 (schema)Zod schema defining the input parameters for the tool: name, username, and password.{ 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 server.tool call that registers the 'create-container-registry-auth' tool with its 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), }, ], }; } );