Skip to main content
Glama

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
NameRequiredDescriptionDefault
containerRegistryAuthIdYesID of the container registry auth to retrieve

Implementation Reference

  • 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), }, ], }; }
  • 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), }, ], }; } );

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