Skip to main content
Glama

doppler_configs_create

Create a new configuration in a Doppler project for managing environment-specific secrets and settings.

Instructions

Create a new config in a Doppler project

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesThe name of the config to create
projectYesThe Doppler project name
environmentYesThe environment for the config (e.g., dev, staging, prod)

Implementation Reference

  • The switch case in buildDopplerCommand function that handles the "doppler_configs_create" tool by constructing the Doppler CLI command: doppler configs create <name> --project <project> --environment <environment> --json
    case "doppler_configs_create": parts.push("configs", "create", getString("name")!); parts.push("--project", getString("project")!); parts.push("--environment", getString("environment")!); parts.push("--json"); break;
  • Input schema for the doppler_configs_create tool, specifying required parameters: name, project, and environment.
    inputSchema: { type: "object", properties: { name: { type: "string", description: "The name of the config to create", }, project: { type: "string", description: "The Doppler project name", }, environment: { type: "string", description: "The environment for the config (e.g., dev, staging, prod)", }, }, required: ["name", "project", "environment"], },
  • src/tools.ts:130-151 (registration)
    The tool definition object for "doppler_configs_create" included in the exported toolDefinitions array, used for MCP tool registration.
    { name: "doppler_configs_create", description: "Create a new config in a Doppler project", inputSchema: { type: "object", properties: { name: { type: "string", description: "The name of the config to create", }, project: { type: "string", description: "The Doppler project name", }, environment: { type: "string", description: "The environment for the config (e.g., dev, staging, prod)", }, }, required: ["name", "project", "environment"], }, },
  • src/index.ts:27-31 (registration)
    MCP server request handler for listing tools, which returns the toolDefinitions array including doppler_configs_create.
    server.setRequestHandler(ListToolsRequestSchema, async () => { return { tools: toolDefinitions, }; });
  • MCP server request handler for calling tools, which invokes executeCommand with the tool name and arguments, handling the execution for all tools including doppler_configs_create.
    server.setRequestHandler(CallToolRequestSchema, async (request) => { const { name, arguments: args } = request.params; try { const result = await executeCommand(name, args || {}); return { content: [ { type: "text", text: JSON.stringify(result, null, 2), }, ], }; } catch (error) { const errorMessage = error instanceof Error ? error.message : String(error); throw new McpError(ErrorCode.InternalError, `Doppler CLI error: ${errorMessage}`); } });

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