Skip to main content
Glama

iRAG MCP Server

by kuai0901

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MODELNoDefault model to use: irag-1.0 or flux.1-schnellirag-1.0
LOG_FILENoLog file pathlogs/server.log
BASE_PATHNoCustom save path for images (optional, defaults to desktop/irag-images)
LOG_LEVELNoLogging levelinfo
API_TIMEOUTNoAPI timeout in milliseconds30000
MAX_RETRIESNoMaximum number of API call retries3
SERVER_NAMENoServer nameirag-mcp-server
BAIDU_API_KEYYesBaidu API Key (format: bce-v3/ALTAK-****/****)
RESOURCE_MODENoImage resource mode: 'local' to save files locally, 'url' to only return URL and base64local
SERVER_VERSIONNoServer version1.0.0

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
generate_image

使用百度iRAG API生成图片

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/kuai0901/irag-mcp-server'

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