Next-Generation MCP Server
Click on "Deploy 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., "@Next-Generation MCP Serverreview my main.py file"
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.
A sandboxed file-operations MCP server that showcases the advanced Context
features โ logging, progress reporting, and user elicitation โ with
two ways to drive it: a Claude CLI (client.py) and a Groq web chat (app.py).
Capabilities
๐ ๏ธ Tools (model-controlled โ the agent calls them):
Tool | Description |
| Create/overwrite a file (with progress reporting) |
| Read a file's content |
| Append to a file |
| Delete a file |
| Move / rename |
| Copy a file |
| Create a directory |
| Search file contents across the project |
| File/dir metadata |
๐ Resources (app-controlled): file:///{file_name} (read file) ยท dir://. (list dir) ยท stats://project (project statistics)
๐ฌ Prompts (user-controlled): code_review ยท documentation_generator (elicitation) ยท generate_tests ยท explain_code
Related MCP server: Sparkle MCP Server
Project structure
next-generation-mcp-server/
โโโ fileops/ # modular MCP server package
โ โโโ config.py # BASE_DIR, server name/instructions, ignore list
โ โโโ paths.py # get_path() path-traversal guard
โ โโโ schemas.py # Pydantic models (elicitation)
โ โโโ server.py # builds `mcp`, registers tools/resources/prompts
โ โโโ tools.py # @mcp.tool definitions
โ โโโ resources.py # @mcp.resource definitions
โ โโโ prompts.py # @mcp.prompt definitions
โโโ server.py # entry point โ python server.py
โโโ client.py # Claude CLI client (Anthropic)
โโโ app.py # Groq chat UI (Chainlit)
โโโ chainlit.md
โโโ tests/test_server.py # smoke test of all capabilities
โโโ pyproject.toml ยท requirements.txt ยท .env.example ยท .gitignore ยท README.mdSetup
cd next-generation-mcp-server
python -m venv .venv
.\.venv\Scripts\Activate.ps1 # Windows (macOS/Linux: source .venv/bin/activate)
pip install -r requirements.txtAdd a key to .env (Copy-Item .env.example .env):
GROQ_API_KEYโ free at console.groq.com, used by the web UI (app.py).ANTHROPIC_API_KEYโ used by the CLI (client.py).
Run
Web chat UI (Groq):
chainlit run app.py -w # โ http://localhost:8200Chat to use the file tools; slash commands for the rest:
/dir ยท /read <f> ยท /stats ยท /tools ยท /review <f> ยท /tests <f> ยท /explain <f> ยท /docs ยท /help.
You can also attach a file and say "review this file".
Claude CLI (Anthropic):
python client.py server.pyRun the server directly / tests:
python server.py
python tests\test_server.py # or: python -m pytestHow it works
The server runs over STDIO; the client/UI spawn it as a subprocess.
Tools are model-controlled (the agent calls them in its loop).
Resources are app-controlled (
/dir,/read,/stats).Prompts are user-controlled (
/review,/tests,/explain,/docs).
Based on the IBM Skills Network "Enhanced MCP Server" lab, refactored into a modular package and extended with more tools, resources, prompts, and a Groq UI.
This server cannot be deployed
Maintenance
Related MCP Connectors
Shared memory and actions for Claude, Kiro, OpenAI, Cursor, and other MCP-compatible AI clients.
Augments MCP Server - A comprehensive framework documentation provider for Claude Code
Source-checked CLI guides and model-aware planning for Claude Code, Codex, and Grok Build.
OCR, transcription, file extraction, and image generation for AI agents via MCP.
Related MCP Servers
- FlicenseBqualityDmaintenanceMulti-mode MCP server supporting both Claude Desktop (STDIO) and OpenAI (HTTP/SSE) integrations with file operations including read, write, delete, and search capabilities.3-
- AlicenseNot gradedqualityDmaintenanceProvides secure file access and clipboard history management for Claude AI and other MCP-compatible clients, with sandboxed file operations and search capabilities.125MIT
- AlicenseNot gradedqualityBmaintenanceA production-ready MCP server enabling Claude and other LLMs to perform intelligent file operations with minimal token usage.MIT
- FlicenseNot gradedqualityDmaintenanceProvides filesystem access to Claude via the MCP protocol, enabling local file operations through natural language.-