basic-fns-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| BASIC_FNS_HOST | No | HTTP bind address | 127.0.0.1 |
| BASIC_FNS_PORT | No | HTTP bind port | 8080 |
| BASIC_FNS_ROOT | No | Sandbox root; all paths resolve under it | current working directory |
| BASIC_FNS_READ_ONLY | No | Disable write and edit | false |
| BASIC_FNS_TRANSPORT | No | http or stdio | http |
| BASIC_FNS_ALLOW_BASH | No | Do not register the bash tool (false disables bash) | true |
| BASIC_FNS_MAX_OUTPUT | No | Cap any tool result to this length | 100000 |
| BASIC_FNS_BASH_TIMEOUT | No | Default shell timeout in seconds | 120 |
| BASIC_FNS_MAX_READ_BYTES | No | Refuse read for files larger than this | 2000000 |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| 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
| Name | Description |
|---|---|
| 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
| 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/garland3/basic-fns-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server