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. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| 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
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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