Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
DATABASE_URLNoPostgreSQL/MySQL connection string for the default database connection.
MCP_AUTH_TOKENNoToken for HTTP bearer authentication. Set auth.token to env:MCP_AUTH_TOKEN in config.

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}
logging
{}
prompts
{
  "listChanged": true
}
resources
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
echo_testA

Returns the provided message and a server-side ISO timestamp. Used to verify the MCP server pipeline end-to-end.

read_fileB

Read a text file inside the configured scope. Optionally restrict to a line range.

write_fileA

Write a file atomically inside the configured scope (writes to a temp file then renames).

list_directoryC

List directory entries inside the configured scope, with optional recursion and glob filtering.

search_filesC

Search for a pattern (literal or regex) across files inside the configured scope.

get_file_infoA

Return metadata (size, type, MIME, line count, symlink info) for a file or directory.

query_dbC

Execute a parameterized SQL query against a configured database connection. Read-only by default.

list_tablesC

List tables in a configured database connection.

describe_tableC

Return column metadata for a table in a configured database connection.

run_commandC

Spawn a process from the configured allowedCommands list. Captures stdout/stderr with caps and a timeout.

read_logsC

Read the tail of a configured log file with optional filter.

get_envC

Return environment variables (process env or .env file) with optional masking.

list_processesB

List running processes, optionally filtered by name or listening port.

parse_openapiB

Parse an OpenAPI spec and return a summary of operations.

call_apiC

Invoke an operation defined in an OpenAPI spec.

Prompts

Interactive templates invoked by user choice

NameDescription
debug_errorSystematically debug an error in your project using mcp-devtools tools
code_reviewReview a file for bugs, security issues, and code quality
explore_codebaseExplore and understand a project's structure and conventions
refactor_functionRefactor a function for readability, performance, or testability

Resources

Contextual data attached and managed by the client

NameDescription
tool_catalogList of all registered tools with their metadata and input schemas.
server_infoServer runtime information: version, transport, scope, tool count, and more.

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/marin1321/mcp-devtools'

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