Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
HTTP_HOSTNoBind interface for HTTP transport127.0.0.1
HTTP_PORTNoHTTP transport port7821
DESIGNS_DIRNoWhere outputs are persisted./designs
DEVICE_SCALENoRetina factor2
MCP_TRANSPORTNoTransport: 'stdio' or 'http'stdio
CLAUDE_BACKENDNoBackend to use: 'cli' uses the claude CLI; 'api' uses Anthropic SDK directlycli
MCP_HTTP_TOKENNoBearer token for HTTP auth. Required if HTTP_HOST is non-loopback
VIEWPORT_WIDTHNoRender width in CSS pixels390
ANTHROPIC_MODELNoModel to use (API backend only)claude-opus-4-7
CLAUDE_CLI_PATHNoPath to the claude binaryclaude
VIEWPORT_HEIGHTNoRender height in CSS pixels844
ANTHROPIC_API_KEYNoRequired only for 'api' backend
CLAUDE_CLI_TIMEOUT_MSNoSubprocess timeout in milliseconds180000
PLAYWRIGHT_NO_SANDBOXNoSandbox mode: 'auto', 'true', or 'false'auto

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
generate_screenA

Generate a premium iOS mobile UI mockup from a text brief. Outputs both the screenshot (PNG) and the underlying HTML. Use this when the user asks to design, mock up, or visualize a mobile app screen.

iterate_screenA

Refine an existing generated screen based on feedback. Use this for follow-up edits like 'change color', 'add a section', 'make it more spacious'.

list_screensA

List all generated screens, optionally filtered by project name.

get_screenA

Get details and metadata for a specific screen. Set include_html=true to also return the HTML source.

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/karyaboyraz/mockit-mcp'

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