Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
CONTEXT_BUS_DIRNoThe directory where the context bus state is stored. Defaults to {CWD}/.ai if not set.

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tasks
{
  "list": {},
  "cancel": {},
  "requests": {
    "tools": {
      "call": {}
    },
    "prompts": {
      "get": {}
    },
    "resources": {
      "read": {}
    }
  }
}
tools
{
  "listChanged": true
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
update_state

Update the context bus state with the current agent's information.

Args: summary: A summary of what has been done so far next_steps: What needs to be done next active_files: List of files currently being worked on ask_user: Whether human input is required

Returns: Success message

read_state

Read the current state from the context bus.

Returns: The current state as a formatted string

toggle_tracking

Enable or disable state tracking.

Args: enabled: Whether tracking should be enabled

Returns: Success message

Prompts

Interactive templates invoked by user choice

NameDescription
catch_upGet the current context bus state with headers to reset agent focus. This prompt is designed to help an agent "catch up" on the current state of the project by injecting the state with specific headers. Note: The "Ignore previous instructions" phrasing is intentional per the specification to help agents refocus. This assumes the state content is generated by trusted AI agents, not arbitrary user input.

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/earchibald/amicus-mcp'

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