Skip to main content
Glama
akave-ai

Akave MCP Server

by akave-ai

list_buckets

Retrieve a complete list of all storage buckets available in your Akave S3-compatible storage account for management and organization purposes.

Instructions

List all buckets in Akave storage

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • src/server.ts:43-62 (registration)
    Registration of the 'list_buckets' MCP tool. Includes inline handler function that calls s3Client.listBuckets() and formats the response as JSON text content.
    this.server.tool( "list_buckets", "List all buckets in Akave storage", async () => { const buckets = await this.s3Client.listBuckets(); return { content: [ { type: "text", text: JSON.stringify( buckets.map((bucket) => ({ name: bucket.Name, creationDate: bucket.CreationDate, })) ), }, ], }; } );
  • Inline handler function for 'list_buckets' tool: fetches buckets from S3 client and returns formatted list as tool response.
    async () => { const buckets = await this.s3Client.listBuckets(); return { content: [ { type: "text", text: JSON.stringify( buckets.map((bucket) => ({ name: bucket.Name, creationDate: bucket.CreationDate, })) ), }, ], }; }
  • S3 client helper method that executes ListBucketsCommand and returns the buckets array.
    async listBuckets() { const command = new ListBucketsCommand({}); const response = await this.client.send(command); return response.Buckets || []; }

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