Skip to main content
Glama
TanvirIslam-BD

Next-Generation MCP Server

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

write_file(file_path, content)

Create/overwrite a file (with progress reporting)

read_file(file_path)

Read a file's content

append_to_file(file_path, content)

Append to a file

delete_file(file_path)

Delete a file

move_file(source, destination)

Move / rename

copy_file(source, destination)

Copy a file

make_directory(dir_path)

Create a directory

search_files(query, extension)

Search file contents across the project

file_info(file_path)

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: vulcan-file-ops

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.md

Setup

cd next-generation-mcp-server
python -m venv .venv
.\.venv\Scripts\Activate.ps1        # Windows  (macOS/Linux: source .venv/bin/activate)
pip install -r requirements.txt

Add 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:8200

Chat 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.py

Run the server directly / tests:

python server.py
python tests\test_server.py     # or: python -m pytest

How 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.

A
license - permissive license
-
quality - not tested
C
maintenance

Maintenance

–Maintainers
–Response time
–Release cycle
–Releases (12mo)
Commit activity

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

View all related MCP servers

Related MCP Connectors

  • Augments MCP Server - A comprehensive framework documentation provider for Claude Code

  • User-owned memory for AI agents, Copilot, Claude, IDEs, CLIs, and chat apps over remote MCP.

  • OCR, transcription, file extraction, and image generation for AI agents via MCP.

View all MCP Connectors

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/TanvirIslam-BD/next-generation-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server