Skip to main content
Glama

Civitai MCP Server

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
CIVITAI_API_KEYNoYour Civitai API key for higher rate limits

Schema

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Tools

Functions exposed to the LLM to take actions

NameDescription
search_models

Search for AI models on Civitai with various filters

get_model

Get detailed information about a specific model by ID

get_model_version

Get detailed information about a specific model version

get_model_version_by_hash

Get model version information by file hash

browse_images

Browse AI-generated images from Civitai

get_creators

Browse and search for model creators on Civitai

get_tags

Browse and search for model tags on Civitai

get_popular_models

Get the most popular/downloaded models

get_latest_models

Get the newest models uploaded to Civitai

get_top_rated_models

Get the highest rated models

search_models_by_tag

Search for models by a specific tag

search_models_by_creator

Search for models by a specific creator

get_models_by_type

Get models filtered by type (Checkpoint, LORA, etc.)

get_download_url

Get the download URL for a specific model version

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/Cicatriiz/civitai-mcp-server'

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