Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
NANOMCP_MODELNoModel to use for chat completions (default is gpt-4.1-mini).
OPENAI_API_KEYYesYour OpenAI API key for accessing the model API.
OPENAI_BASE_URLNoBase URL for the OpenAI-compatible API (default is https://api.openai.com/v1).
NANOMCP_TIMEZONENoTimezone for date/time operations (default is Asia/Shanghai).
NANOMCP_FILE_ROOTNoRoot directory for file search operations (default is ~/Desktop).
NANOMCP_LIVE_WEATHERNoSet to 1 to use real weather data from wttr.in, otherwise uses demo data.

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}

Tools

Functions exposed to the LLM to take actions

NameDescription
get_weatherA

Get current weather for a city. By default this returns deterministic demo data. Set NANOMCP_LIVE_WEATHER=1 to try wttr.in.

find_filesB

Find local files by name under the allowed root. The default root is ~/Desktop. Set NANOMCP_FILE_ROOT to change it.

get_current_datetimeA

Get the current date, time, and weekday. Use this for questions about today, current time, current date, or weekday.

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/szfmsmdx/nanomcp'

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