Skip to main content
Glama
EadnyAIx

mcp-toolkit-server

by EadnyAIx

๐Ÿ”ง MCP Toolkit Server

A multi-purpose tool server based on the Model Context Protocol (MCP), providing file operations, database queries, web search, calculations, and other tools that can be integrated with MCP clients such as Claude Desktop, Cursor, Cline, and more.

โœจ Features

๐Ÿ“ File Operation Tools

  • list_directory - List directory contents

  • read_file - Read text files

  • write_file - Write/append files

  • file_info - Get file metadata

  • search_files - Search files by wildcard

๐Ÿ—„๏ธ Database Tools

  • query_database - Execute SQL SELECT queries (read-only safe)

  • list_tables - List all tables

  • describe_table - View table structure

  • init_sample_database - Initialize a sample database

๐ŸŒ Web Tools

  • web_search - DuckDuckGo web search (no API Key required)

  • fetch_webpage - Fetch webpage main content

  • webpage_info - Get webpage metadata

๐Ÿงฎ Calculation Tools

  • calculate - Safe mathematical expression evaluation

  • convert_unit - Unit conversion (length/weight/temperature/area/volume)

  • date_calculation - Date calculations (difference/add/subtract)

  • percentage_calculation - Percentage calculations

Related MCP server: Claude Code Control MCP

๐Ÿ—๏ธ Architecture Design

โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚              MCP ๅฎขๆˆท็ซฏ (Claude/Cursor)              โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
                       โ”‚ MCP Protocol (stdio / HTTP)
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ–ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚              FastMCP Server ๆ ธๅฟƒ                      โ”‚
โ”‚  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ” โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ” โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ” โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ” โ”‚
โ”‚  โ”‚ ๆ–‡ไปถๅทฅๅ…ท  โ”‚ โ”‚ ๆ•ฐๆฎๅบ“ๅทฅๅ…ทโ”‚ โ”‚Webๅทฅๅ…ท โ”‚ โ”‚ ่ฎก็ฎ—ๅทฅๅ…ท  โ”‚ โ”‚
โ”‚  โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜ โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜ โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜ โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜ โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

๐Ÿ“ฆ Installation

# ๅ…‹้š†ไป“ๅบ“
git clone <repo-url>
cd mcp-toolkit-server

# ๅˆ›ๅปบ่™šๆ‹Ÿ็Žฏๅขƒ
python -m venv venv
source venv/bin/activate  # Windows: venv\Scripts\activate

# ๅฎ‰่ฃ…ไพ่ต–
pip install -r requirements.txt

# ้…็ฝฎ็Žฏๅขƒๅ˜้‡
cp .env.example .env

๐Ÿš€ Usage

1. Run directly (stdio mode)

python server.py

2. HTTP mode

python server.py --transport http --host 127.0.0.1 --port 8000

3. Integrate with Claude Desktop

Edit the Claude Desktop configuration file (claude_desktop_config.json):

{
  "mcpServers": {
    "toolkit": {
      "command": "python",
      "args": ["path/to/mcp-toolkit-server/server.py"],
      "env": {
        "ALLOWED_DIRS": "/path/to/your/workspace"
      }
    }
  }
}

4. Integrate with Cursor

In Cursor Settings โ†’ MCP, add:

{
  "mcpServers": {
    "toolkit": {
      "command": "python",
      "args": ["path/to/mcp-toolkit-server/server.py"]
    }
  }
}

๐Ÿ“ Project Structure

mcp-toolkit-server/
โ”œโ”€โ”€ server.py                 # MCP ๆœๅŠกๅ™จไธปๅ…ฅๅฃ
โ”œโ”€โ”€ config.py                 # ้…็ฝฎ็ฎก็†
โ”œโ”€โ”€ requirements.txt          # ไพ่ต–
โ”œโ”€โ”€ .env.example              # ็Žฏๅขƒๅ˜้‡ๆจกๆฟ
โ”œโ”€โ”€ .gitignore
โ”œโ”€โ”€ README.md
โ””โ”€โ”€ src/
    โ”œโ”€โ”€ __init__.py
    โ””โ”€โ”€ tools/
        โ”œโ”€โ”€ __init__.py
        โ”œโ”€โ”€ file_tools.py     # ๆ–‡ไปถๆ“ไฝœๅทฅๅ…ท
        โ”œโ”€โ”€ db_tools.py       # ๆ•ฐๆฎๅบ“ๆŸฅ่ฏขๅทฅๅ…ท
        โ”œโ”€โ”€ web_tools.py      # Web ๆœ็ดข/ๆŠ“ๅ–ๅทฅๅ…ท
        โ””โ”€โ”€ calc_tools.py     # ่ฎก็ฎ—/่ฝฌๆขๅทฅๅ…ท

๐Ÿ”’ Security Mechanisms

  1. Path Isolation: File operations are restricted to directories configured in ALLOWED_DIRS, preventing path traversal

  2. SQL Read-Only: Database tools only allow SELECT queries, write operations are forbidden

  3. Identifier Validation: Identifiers such as table names are validated via regex to prevent SQL injection

  4. Expression Sandbox: Math calculations use a restricted eval environment that blocks access to built-in functions

๐ŸŽฏ Key Highlights

  1. MCP Specification Compliant: Built on the official FastMCP framework, compatible with all MCP clients

  2. Rich Tools: 4 categories with 17 tools, covering common development scenarios

  3. Security First: Multiple layers of security mechanisms to prevent misuse

  4. Easy to Extend: Modular design; adding a new tool only requires writing a function and registering it

  5. Dual Transport Modes: Supports both stdio (local) and HTTP (remote) transport

๐Ÿค Extension Directions

  • Add Git operation tools

  • Add code execution tools (sandboxed)

  • Add email sending tools

  • Add calendar management tools

  • Support fine-grained tool permission control

  • Add tool call audit logging

๐Ÿ“„ License

MIT

F
license - not found
Not graded
quality - not tested
B
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

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/EadnyAIx/mcp-toolkit-server'

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