MCP Server
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., "@MCP Serversearch the web for latest technology news"
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.
MCP Server
A modular Model Context Protocol (MCP) server built with FastAPI, providing tools for LLM interactions.
Features
Modular Architecture - Each tool is easily maintainable
File Operations - Read, write, append, replace, and insert text in files
Web Search - Search the live web using DDGS
URL Fetching - Scrape and summarize web content
Command Execution - Run shell commands in a sandboxed environment
Strict Isolation - Bubblewrap sandbox with disposable
/tmp
Tools
Tool | Description |
| Get today's date and time |
| Add two numbers together |
| Search the live web for information |
| Scrape a URL and extract content |
| List files and directories |
| Read files with line-based windowing |
| Write text to files |
| Append text to existing files |
| Find and replace text in files |
| Insert text after a marker line |
| Execute shell commands in sandbox |
Installation
# Clone the repository
git clone <repository-url>
cd mcp_server
# Install dependencies using uv
uv syncUsage
# Start the server
python main.pyThe server will start on http://0.0.0.0:8000.
Architecture
mcp_server/
├── main.py # FastAPI application entry point
├── tools.json # Tool definitions (JSON schema)
└── tools/ # Tool implementations
├── __init__.py # Exports all handlers
├── add.py # Math operations
├── today.py # Date/time
├── web_search.py # Web search
├── fetch_content.py # URL scraping
├── files.py # All file operations
└── run_command.py # Shell command executionSandbox Configuration
The run_command tool uses bubblewrap for isolation:
Read-only root filesystem (
--ro-bind / /)Disposable temp directory (
--tmpfs /tmp)Writable resources directory (
--bind resources resources)DNS resolution enabled (no
/etcrestriction)
Disclaimer
This project was developed with assistance from Qwen 3.6, a large language model by Alibaba Group's Tongyi Lab. While AI assisted in code generation, documentation, and refactoring, all technical decisions and final implementations were reviewed and validated by the human developer.
License
MIT License
This server cannot be installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
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/kennetchau/fastmcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server