nanomcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| NANOMCP_MODEL | No | Model to use for chat completions (default is gpt-4.1-mini). | |
| OPENAI_API_KEY | Yes | Your OpenAI API key for accessing the model API. | |
| OPENAI_BASE_URL | No | Base URL for the OpenAI-compatible API (default is https://api.openai.com/v1). | |
| NANOMCP_TIMEZONE | No | Timezone for date/time operations (default is Asia/Shanghai). | |
| NANOMCP_FILE_ROOT | No | Root directory for file search operations (default is ~/Desktop). | |
| NANOMCP_LIVE_WEATHER | No | Set to 1 to use real weather data from wttr.in, otherwise uses demo data. |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| 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
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
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