Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
DB_DSNYesDatabase connection string. MySQL: user:pass@tcp(host:3306)/db?charset=utf8mb4&parseTime=True&loc=Local; or sqlite:///xx.db
MCP_HOSTNoHost for HTTP mode.0.0.0.0
MCP_PORTNoPort for HTTP mode.8081
MCP_API_KEYNoCurrent tenant's API key. Alternative to YUNTU_API_KEY.
MCP_TRANSPORTNoTransport mode: 'stdio' (default) or 'http'.stdio
YUNTU_API_KEYNoAlternative environment variable for MCP_API_KEY.
API_KEY_ENCRYPT_SECRETYesAPI key encryption secret (>=16 characters), must match the main platform.

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}
logging
{}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
extensions
{
  "io.modelcontextprotocol/ui": {}
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
chat_completionB

调用大模型进行对话,从渠道管理中选择可用渠道并自动扣除 Token。

get_balanceA

查询当前租户的 Token 余额(需配置 MCP_API_KEY 识别租户)。

list_modelsA

列出当前可用的所有模型列表。

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/Drq112112Hjx/yuntu-mcp-server'

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