Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
BASIC_FNS_HOSTNoHTTP bind address127.0.0.1
BASIC_FNS_PORTNoHTTP bind port8080
BASIC_FNS_ROOTNoSandbox root; all paths resolve under itcurrent working directory
BASIC_FNS_READ_ONLYNoDisable write and editfalse
BASIC_FNS_TRANSPORTNohttp or stdiohttp
BASIC_FNS_ALLOW_BASHNoDo not register the bash tool (false disables bash)true
BASIC_FNS_MAX_OUTPUTNoCap any tool result to this length100000
BASIC_FNS_BASH_TIMEOUTNoDefault shell timeout in seconds120
BASIC_FNS_MAX_READ_BYTESNoRefuse read for files larger than this2000000

Capabilities

Features and capabilities supported by this server

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
readA

Read a text file and return its contents with cat-style line numbers.

grepB

Search file contents by regex.

findA

Find files or directories by glob-style name match.

lsA

List the contents of a directory.

writeA

Create or overwrite a file atomically (temp file + os.replace).

editA

Replace old_string with new_string in a text file.

bashA

Execute a shell command and return exit code, stdout, and stderr.

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/garland3/basic-fns-mcp'

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