Skip to main content
Glama
akave-ai

Akave MCP Server

by akave-ai

delete_bucket

Remove a storage bucket from Akave's S3-compatible storage system to free up resources and manage your cloud storage infrastructure.

Instructions

Delete a bucket

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
bucketYesBucket name

Implementation Reference

  • The main handler function for the delete_bucket tool, which delegates to s3Client.deleteBucket and returns a success response.
    async ({ bucket }) => { await this.s3Client.deleteBucket(bucket); return { content: [{ type: "text", text: JSON.stringify({ success: true }) }], }; }
  • Zod input schema for the delete_bucket tool, defining the required 'bucket' parameter.
    { bucket: z.string().describe("Bucket name"), },
  • src/server.ts:267-279 (registration)
    Registration of the 'delete_bucket' MCP tool, including name, description, schema, and handler.
    this.server.tool( "delete_bucket", "Delete a bucket", { bucket: z.string().describe("Bucket name"), }, async ({ bucket }) => { await this.s3Client.deleteBucket(bucket); return { content: [{ type: "text", text: JSON.stringify({ success: true }) }], }; } );
  • S3Client helper method that executes the AWS DeleteBucketCommand.
    async deleteBucket(bucket: string) { const command = new DeleteBucketCommand({ Bucket: bucket, }); return await this.client.send(command); }

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/akave-ai/akave-mcp'

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