Skip to main content
Glama

keychain_create_org_collection

Create a new collection within an organization's vault to organize and manage shared credentials and secure items for team access control.

Instructions

Create an organization collection.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
organizationIdYes
nameYes

Implementation Reference

  • Registration and handler for "keychain_create_org_collection". Note: In the codebase, it is registered with `deps.toolPrefix + '.create_org_collection'`.
      `${deps.toolPrefix}.create_org_collection`,
      {
        title: 'Create Org Collection',
        description: 'Create an organization collection.',
        inputSchema: {
          organizationId: z.string(),
          name: z.string(),
        },
        _meta: toolMeta,
      },
      async (input, extra) => {
        if (isReadOnly) return readonlyBlocked();
        const sdk = await deps.getSdk(extra.authInfo);
        const collection = await sdk.createOrgCollection(input);
        return {
          structuredContent: { collection },
          content: [{ type: 'text', text: 'Created.' }],
        };
      },
    );

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/icoretech/warden-mcp'

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