Skip to main content
Glama
server.d.ts794 B
/** * @license * Copyright 2025 Aeven * SPDX-License-Identifier: Apache-2.0 */ import { Server } from "@modelcontextprotocol/sdk/server/index.js"; import { Transport } from "@modelcontextprotocol/sdk/shared/transport.js"; import { ImageGenerator } from "./imageGenerator.js"; export declare class NanoBananaServer { private readonly server; private imageGenerator; private initializationError; private activeTransport?; constructor(customGenerator?: ImageGenerator); getServer(): Server; getInitializationError(): Error | null; start(transport?: Transport): Promise<void>; stop(): Promise<void>; private setupToolHandlers; private buildIconPrompt; private buildPatternPrompt; private buildDiagramPrompt; private setupErrorHandling; }

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/Aeven-AI/mcp-nanobanana'

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