Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
SMARTAPI_API_KEYYesYour SmartAPI user key with enough available balance
SMARTAPI_BASE_URLNoOverride the default API URLhttps://api.smartapi.shop/v1
SMARTAPI_IMAGE_OUTPUT_DIRNoOverride the default output directory for generated images$HOME/Pictures/SmartAPI

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
generate_imageA

Generate one image through the paid SmartAPI gpt-image-2 endpoint and save it as a local file. Use only when the user asks to create an image. The call spends SmartAPI balance.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

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/smrcdr/smartapi-images'

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