Skip to main content
Glama

doppler_configs_list

Retrieve all configuration sets from a Doppler project to manage secrets across environments.

Instructions

List all configs in a Doppler project

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
projectNoThe Doppler project name (optional if set via doppler setup)

Implementation Reference

  • Specific switch case implementing the logic for the 'doppler_configs_list' tool by building the corresponding Doppler CLI command.
    case "doppler_configs_list": parts.push("configs", "list"); if (getString("project")) parts.push("--project", getString("project")!); parts.push("--json"); break;
  • Input schema defining the parameters (project) for the 'doppler_configs_list' tool.
    inputSchema: { type: "object", properties: { project: { type: "string", description: "The Doppler project name (optional if set via doppler setup)", }, }, },
  • src/tools.ts:117-129 (registration)
    Tool registration object defining name, description, and input schema for 'doppler_configs_list' in the toolDefinitions array.
    { name: "doppler_configs_list", description: "List all configs in a Doppler project", inputSchema: { type: "object", properties: { project: { type: "string", description: "The Doppler project name (optional if set via doppler setup)", }, }, }, },
  • Core handler function that executes the Doppler CLI command built for any tool, including 'doppler_configs_list', and handles output parsing and errors.
    export async function executeCommand( toolName: string, args: DopplerArgs ): Promise<any> { const command = buildDopplerCommand(toolName, args); try { const output = execSync(command, { encoding: "utf-8", stdio: ["pipe", "pipe", "pipe"], maxBuffer: 10 * 1024 * 1024, // 10MB buffer }); // Try to parse as JSON, if it fails return raw output try { return JSON.parse(output); } catch { return { output: output.trim() }; } } catch (error: any) { // Handle execution errors const stderr = error.stderr?.toString() || ""; const stdout = error.stdout?.toString() || ""; const message = stderr || stdout || error.message; throw new Error(`Doppler CLI command failed: ${message}`); } }

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/aledlie/doppler-mcp'

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