
mcp sandbox
一个基于模型上下文协议(MCP)和FastMCP库的多功能工具沙盒环境。
Repository Info
About This Server
一个基于模型上下文协议(MCP)和FastMCP库的多功能工具沙盒环境。
Model Context Protocol (MCP) - This server can be integrated with AI applications to provide additional context and capabilities, enabling enhanced AI interactions and functionality.
Documentation
MCP Sandbox Project
Description
This project is a sandbox environment showcasing various tools and functionalities implemented using the Model Context Protocol (MCP) and the FastMCP library. It includes several independent MCP servers, each providing specific capabilities.
Features / Components
This project includes the following MCP servers:
tool_greeting.py: Provides simple tools likeechoand agreetingtool that uses a dynamic resource.tool_disk.py: Offers tools for basic disk operations like creating/deleting folders and reading/writing/deleting files within a base directory (c:/workspace/test).tool_excel.py: Includes a tool to create Excel files (.xlsx) with specified content in the base directory (c:/workspace/test).tool_keyboard.py: Provides a tool to control the keyboard, specifically to type a message into Notepad.tool_hwp.py: Contains a tool to read text content from Hangul Word Processor (.hwp) files located in the base directory (c:/workspace/test).tool_math.py: A simple server with anaddtool and a dynamicgoodbyeresource.prompts.py: Defines custom prompts (prompt_decision,prompt_opinion) that can be used with language models.resource_agent.py: Implements a resource (Agent://state) to retrieve the state of an AI agent.main.py: A simple placeholder script.
Setup
- Prerequisites: Ensure you have Python (>=3.12) and
uvinstalled. - Dependencies: Install the required Python packages listed in
pyproject.toml. You can typically do this usinguv:
(You might need to generateuv pip install -r requirements.txtrequirements.txtfrompyproject.tomlfirst usinguv pip freeze > requirements.txtor install directly usinguv pip install .if your setup supports it).
Usage
Each MCP server can be run individually. The configuration in ~\.cursor\mcp.json suggests these servers are intended to be launched via uv. See save/claude_desktop_config.json for reference.
To run a specific server manually (example):
uv run tool_greeting.py
mcp dev tool_greeting.py
Replace tool_greeting.py with the script name of the server you want to run. These servers can then be accessed by MCP clients or frameworks that integrate with MCP.
Configuration
- Base Directories: Some tools (
tool_disk.py,tool_excel.py,tool_hwp.py) operate within a specific base directory (c:/workspace/test). Ensure this directory exists or modify theBASE_DIRconstant in the respective scripts if needed. - Server Ports: Each server is configured to run on a specific port (e.g.,
tool_greetingon 5000,tool_diskon 5001, etc.). Ensure these ports are available.
References
MCP SDK
- https://github.com/modelcontextprotocol
- https://github.com/modelcontextprotocol/swift-sdk
- https://pypi.org/project/mcp/ (python)
MCP server repos
- https://github.com/modelcontextprotocol/servers/tree/main
- https://mcp.so
- https://smithery.ai
- https://www.pulsemcp.com
- https://www.npmjs.com/search?q=mcp
- https://cursor.directory/mcp
MCP framework or extentions.
- https://fast-agent.ai (fast-agent - MCP native Agents and Workflows)
- https://github.com/langchain-ai/langchain-mcp-adapters (Langchain)
- https://github.com/tadata-org/fastapi_mcp (FastAPI)
- https://www.youtube.com/watch?v=eczLRG3q4V0 (Flutter)
- (cf) https://github.com/settings/copilot
Use cases of 3rd parties
- https://gitmcp.io (Instantly create a Remote MCP server for any GitHub repository)
- https://github.com/elevenlabs/elevenlabs-mcp/tree/main (elevenlabs)
- https://docs.windsurf.com/windsurf/mcp
- https://www.youtube.com/watch?v=dutyOc_cAEU (VS code)
- https://gist.github.com/burkeholland/24802296b5bfaaf7fb775c81cd626512
Other references
- https://modelcontextprotocol.io/quickstart/server
- https://www.books.weniv.co.kr/basecamp-mcp
- https://modelcontextprotocol.io/clients (Feature support matrix)
- https://www.youtube.com/watch?v=EswVjHZMn74
Roadmap:
- https://modelcontextprotocol.io/development/roadmap
- OAuth Authentication (not API keys)
- MCP registry
Quick Start
Clone the repository
git clone https://github.com/humble92/mcp-sandboxInstall dependencies
cd mcp-sandbox
npm installFollow the documentation
Check the repository's README.md file for specific installation and usage instructions.
Repository Details
Recommended MCP Servers
Discord MCP
Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.
Knit MCP
Connect AI agents to 200+ SaaS applications and automate workflows.
Apify MCP Server
Deploy and interact with Apify actors for web scraping and data extraction.
BrowserStack MCP
BrowserStack MCP Server for automated testing across multiple browsers.
Zapier MCP
A Zapier server that provides automation capabilities for various apps.