mcp-toolkit-server
🔧 MCP Toolkit Server
Model Context Protocol (MCP) 기반의 다기능 도구 서버로, 파일 작업, 데이터베이스 쿼리, 웹 검색, 계산 등의 도구를 제공하며 Claude Desktop, Cursor, Cline 등 MCP 클라이언트에서 접속할 수 있습니다.
✨ 기능 특징
📁 파일 작업 도구
list_directory- 디렉터리 내용 나열read_file- 텍스트 파일 읽기write_file- 파일 쓰기/추가file_info- 파일 메타 정보 가져오기search_files- 와일드카드로 파일 검색
🗄️ 데이터베이스 도구
query_database- SQL SELECT 쿼리 실행(읽기 전용 안전)list_tables- 모든 테이블 나열describe_table- 테이블 구조 확인init_sample_database- 샘플 데이터베이스 초기화
🌐 웹 도구
web_search- DuckDuckGo 웹 검색(API Key 불필요)fetch_webpage- 웹페이지 본문 내용 가져오기webpage_info- 웹페이지 메타 정보 가져오기
🧮 계산 도구
calculate- 안전한 수학 표현식 계산convert_unit- 단위 변환(길이/무게/온도/면적/부피)date_calculation- 날짜 계산(차이/더하기/빼기)percentage_calculation- 백분율 계산
Related MCP server: Claude Code Control MCP
🏗️ 아키텍처 설계
┌─────────────────────────────────────────────────────┐
│ MCP 客户端 (Claude/Cursor) │
└──────────────────────┬──────────────────────────────┘
│ MCP Protocol (stdio / HTTP)
┌──────────────────────▼──────────────────────────────┐
│ FastMCP Server 核心 │
│ ┌──────────┐ ┌──────────┐ ┌────────┐ ┌──────────┐ │
│ │ 文件工具 │ │ 数据库工具│ │Web工具 │ │ 计算工具 │ │
│ └──────────┘ └──────────┘ └────────┘ └──────────┘ │
└─────────────────────────────────────────────────────┘📦 설치
# 克隆仓库
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🚀 사용 방법
1. 직접 실행(stdio 모드)
python server.py2. HTTP 모드
python server.py --transport http --host 127.0.0.1 --port 80003. Claude Desktop 연동
Claude Desktop 설정 파일(claude_desktop_config.json) 편집:
{
"mcpServers": {
"toolkit": {
"command": "python",
"args": ["path/to/mcp-toolkit-server/server.py"],
"env": {
"ALLOWED_DIRS": "/path/to/your/workspace"
}
}
}
}4. Cursor 연동
Cursor 설정 → MCP에서 추가:
{
"mcpServers": {
"toolkit": {
"command": "python",
"args": ["path/to/mcp-toolkit-server/server.py"]
}
}
}📁 프로젝트 구조
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 # 计算/转换工具🔒 보안 메커니즘
경로 격리: 파일 작업은
ALLOWED_DIRS설정의 디렉터리 내로 제한되어 경로 탐색을 방지SQL 읽기 전용: 데이터베이스 도구는 SELECT 쿼리만 허용하며 쓰기 작업 금지
식별자 검증: 테이블명 등 식별자는 정규식 검증을 통해 SQL 인젝션 방지
표현식 샌드박스: 수학 계산은 제한된 eval 환경을 사용하며 내장 함수 접근 금지
🎯 핵심 장점
MCP 규격 준수: 공식 FastMCP 프레임워크 기반, 모든 MCP 클라이언트와 호환
풍부한 도구: 4개 카테고리 17개 도구로 일반적인 개발 시나리오 커버
보안 우선: 다중 보안 메커니즘으로 오용 방지
확장 용이: 모듈식 설계로 함수 작성 및 등록만으로 새 도구 추가 가능
이중 전송 모드: stdio(로컬) 및 HTTP(원격) 두 가지 전송 방식 지원
🤝 확장 방향
Git 작업 도구 추가
코드 실행 도구 추가(샌드박스화)
이메일 전송 도구 추가
캘린더 관리 도구 추가
도구 권한 세분화 제어 지원
도구 호출 감사 로그 추가
📄 License
MIT
This server cannot be installed
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
- FlicenseNot gradedqualityDmaintenanceA Model Context Protocol implementation with a modular architecture that exposes capabilities through specialized agents, enabling seamless integration with Claude Desktop and web applications.2
- FlicenseNot gradedqualityDmaintenanceEnables programmatic execution of coding tasks and autonomous file operations using Claude AI. It allows agents to search codebases, run shell commands, and track file changes through the Model Context Protocol.
- AlicenseNot gradedqualityFmaintenanceEnables Claude AI to run terminal commands, perform file operations, and manage git in a project directory via the Model Context Protocol.38MIT
- FlicenseAqualityDmaintenanceEnables LLMs to interact with Python environments, execute code, manage files, and handle packages through the Model Context Protocol.9
Related MCP Connectors
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
A Model Context Protocol server for Wix AI tools
Your portable context layer — load it into any AI.
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/EadnyAIx/mcp-toolkit-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server