Skip to main content
Glama

disentangle_secrets

Remove quantum entanglement between two secrets to stop their synchronization during rotation in the qring-mcp secret manager.

Instructions

Remove a quantum entanglement between two secrets. They will no longer synchronize on rotation.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sourceKeyYesSource secret key
targetKeyYesTarget secret key
sourceScopeNoScope: global or projectglobal
targetScopeNoScope: global or projectglobal
sourceProjectPathNo
targetProjectPathNo

Implementation Reference

  • Handler for the 'disentangle_secrets' tool in the MCP server, which takes two keys and their respective scopes and projects, then calls the core 'disentangleSecrets' function.
      "disentangle_secrets",
      "Remove a quantum entanglement between two secrets. They will no longer synchronize on rotation.",
      {
        sourceKey: z.string().describe("Source secret key"),
        targetKey: z.string().describe("Target secret key"),
        sourceScope: scopeSchema.default("global"),
        targetScope: scopeSchema.default("global"),
        sourceProjectPath: z.string().optional(),
        targetProjectPath: z.string().optional(),
      },
      async (params) => {
        disentangleSecrets(
          params.sourceKey,
          {
            scope: params.sourceScope as Scope,
            projectPath: params.sourceProjectPath ?? process.cwd(),
            source: "mcp",
          },
          params.targetKey,
          {
            scope: params.targetScope as Scope,
            projectPath: params.targetProjectPath ?? process.cwd(),
            source: "mcp",
          },
        );
    
        return text(`Disentangled: ${params.sourceKey} </> ${params.targetKey}`);
      },
    );
  • Registration of the 'disentangle_secrets' tool within the McpServer.
      "disentangle_secrets",
      "Remove a quantum entanglement between two secrets. They will no longer synchronize on rotation.",
      {
        sourceKey: z.string().describe("Source secret key"),
        targetKey: z.string().describe("Target secret key"),
        sourceScope: scopeSchema.default("global"),
        targetScope: scopeSchema.default("global"),
        sourceProjectPath: z.string().optional(),
        targetProjectPath: z.string().optional(),
      },
      async (params) => {
        disentangleSecrets(
          params.sourceKey,
          {
            scope: params.sourceScope as Scope,
            projectPath: params.sourceProjectPath ?? process.cwd(),
            source: "mcp",
          },
          params.targetKey,
          {
            scope: params.targetScope as Scope,
            projectPath: params.targetProjectPath ?? process.cwd(),
            source: "mcp",
          },
        );
    
        return text(`Disentangled: ${params.sourceKey} </> ${params.targetKey}`);
      },
    );

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/I4cTime/quantum_ring'

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