Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

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": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
get_game_stateA

获取当前游戏状态 (最近一帧)。

返回 self(己方: 矿/气/供给/单位列表)、enemies(可见敌方单位)。
单位字段: id/type/x/y/hp/sh/player/owner。
trainA

训练单位。例如: train("Terran_SCV")、train("Protoss_Zealot")。

bridge 会找一个能训练该单位的己方建筑下达指令。
buildB

让指定 worker 在 (tile_x, tile_y) 建造建筑。

坐标是格子(TilePosition),不是像素。例如:
    build(1, "Terran_Supply_Depot", 50, 100)
moveB

让指定单位移动到像素坐标 (x, y)。

attackB

让指定单位攻击指定目标单位。

gatherB

让 worker 采集指定资源点(矿物/气矿)。

stopB

让单位停止当前指令。

holdC

让单位原地驻守(hold position)。

chatA

在游戏内发送一条聊天/文字。

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/ainaxiya/sc-bwapi-mcp'

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