basic-fns-mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@basic-fns-mcpgrep for TODO in the project"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
basic-fns-mcp
A streamable-HTTP/stdio MCP server exposing the core filesystem, shell, search, and listing tools that mirror the default agent toolset.
Tools
Tool | Hint | Purpose |
| readOnly | Read a text file with cat-style line numbers |
| destructive | Create or overwrite a file atomically |
| destructive | Targeted string replacement in a text file |
| destructive | Execute a shell command and capture output/exit code |
| readOnly | Search file contents by regex (uses |
| readOnly | Find files/directories by glob-style name match |
| readOnly | List directory contents |
All filesystem paths are resolved relative to the configured server root. The server refuses any path that resolves outside that root, including symlinks that escape it.
Related MCP server: File Operations MCP Server
Quick start
Install and run over HTTP:
uv sync
uv run basic-fns-mcp --root . --port 8080Add it to Claude Code:
claude mcp add --transport http basic-fns http://127.0.0.1:8080/mcpstdio
The same server runs over stdio, where the client spawns it as a subprocess:
uv run basic-fns-mcp --stdio # or: --transport stdioAdd it to Claude Code:
claude mcp add basic-fns -- uv run --directory /path/to/basic-fns-mcp basic-fns-mcp --stdioOr in an MCP client config file:
{
"mcpServers": {
"basic-fns": {
"command": "uv",
"args": ["run", "--directory", "/path/to/basic-fns-mcp", "basic-fns-mcp", "--stdio"],
"env": { "BASIC_FNS_ROOT": "/path/to/your/project" }
}
}
}On stdio, stdout is the protocol channel — the startup banner is suppressed and all
logging goes to stderr. The --host/--port flags are ignored.
The module can also be served directly, since tools are registered at import time:
uv run fastmcp run src/basic_fns_mcp/server.pyCLI flags / environment variables
Flag | Environment variable | Default | Meaning |
|
| current working directory | Sandbox root; all paths resolve under it |
|
|
| HTTP bind address |
|
|
| HTTP bind port |
|
|
| Refuse |
|
|
| Cap any tool result to this length |
|
|
| Default shell timeout in seconds |
|
|
| Disable |
|
|
| Do not register the |
|
|
|
|
Command-line arguments win over environment variables.
Security
Path sandbox:
read,write,edit,grep,find, andlsresolve every path inside--root. Symlinks are followed and checked; any path that resolves outside the root is rejected.bashis not sandboxed:bashruns with the full privileges of the server process. A shell command cancdanywhere, read any file the server user can read, and execute arbitrary code. Only bind to loopback (127.0.0.1) and expose this server to trusted clients.No command blocklist: Blocklists are easily bypassed and create a false sense of security, so none is implemented.
Read-only mode: Use
--read-onlyto prevent file modification via this server.
Development
Run the test suite:
uv run pytest -qLicense
MIT
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityDmaintenanceProvides secure filesystem operations, HTTP fetching with SSRF protection, JSON validation, artifact logging, and optional Redis key-value storage through both stdio and HTTP transports. Features production-ready security controls including sandbox enforcement, allowlist validation, and comprehensive input validation.Last updatedApache 2.0
- Flicense-qualityDmaintenanceProvides tools for common file processing operations including reading files, listing directories, searching across files, getting file info, and counting lines with built-in security features like path traversal protection.Last updated
- Alicense-qualityDmaintenanceProvides secure, sandboxed filesystem operations including reading, writing, listing, searching, and managing files and directories within a configurable working directory with strict security controls.Last updated3MIT
- Alicense-qualityFmaintenanceProvides comprehensive filesystem operations (read, write, list, create, delete, move files and directories) through the Model Context Protocol with Streamable HTTP transport and built-in security through configurable root directory restrictions.Last updated5Apache 2.0
Related MCP Connectors
Host static HTML pages, generate PDFs, screenshots, scrape JS sites, run sandboxed JavaScript.
Artifact store for AI agents. Hosted OAuth at mcp.artifacta.io/mcp; local stdio via npm/PyPI.
Source-first URL clone, capture, rebuild, and fidelity verification tools.
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