get-container-registry-auth
Retrieve container registry authentication credentials from the RunPod MCP Server using a specific registry ID to enable secure access to private container repositories.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| containerRegistryAuthId | Yes | ID of the container registry auth to retrieve |
Implementation Reference
- src/index.ts:764-777 (handler)The handler function for the 'get-container-registry-auth' tool. It fetches the container registry authentication details by ID using the runpodRequest helper and returns the result as JSON-formatted text.async (params) => { const result = await runpodRequest( `/containerregistryauth/${params.containerRegistryAuthId}` ); return { content: [ { type: 'text', text: JSON.stringify(result, null, 2), }, ], }; }
- src/index.ts:759-762 (schema)Input schema for the tool using Zod validation, requiring a containerRegistryAuthId string.{ containerRegistryAuthId: z .string() .describe('ID of the container registry auth to retrieve'),
- src/index.ts:758-778 (registration)Registration of the 'get-container-registry-auth' tool on the MCP server, including schema and inline handler.'get-container-registry-auth', { containerRegistryAuthId: z .string() .describe('ID of the container registry auth to retrieve'), }, async (params) => { const result = await runpodRequest( `/containerregistryauth/${params.containerRegistryAuthId}` ); return { content: [ { type: 'text', text: JSON.stringify(result, null, 2), }, ], }; } );