Content
# Screenshot Server
This project is a screenshot server written in Python. It provides the following main features:
1. **Screenshot Functionality**: By calling the `take_screenshot_image` tool, it can capture a screenshot of the user's screen and return it as image data.
2. **Image Processing**: Uses the Pillow library to process and display the captured images.
3. **MCP Server**: Communicates with clients via the MCP protocol to provide screenshot services.
## Usage
1. Make sure Python and the required dependencies are installed.
```
$ uv sync
```
2. Run the `clint.py` file to start the screenshot server.
```
$ uv run clint.py
```
3. Use the MCP client to call the `take_screenshot_image` tool to obtain the screen screenshot.
## Dependencies
- Python 3.x
- Pillow library
- Libraries related to the MCP protocol
## MCP Configuration
```
{
"mcpServers": {
"mcp-server": {
"command": "/Users/username/.local/bin/uv",
"args": [
"--directory",
"/Users/username/MCP",
"run",
"screenshot.py"
]
}
}
}
```
## File Structure
- `screenshot.py`: The MCP server that provides screenshot functionality.
- `clint.py`: The MCP client used to call the tools of the screenshot server.
- `README.md`: Project documentation.
Connection Info
You Might Also Like
markitdown
Python tool for converting files and office documents to Markdown.
OpenAI Whisper
OpenAI Whisper MCP Server - 基于本地 Whisper CLI 的离线语音识别与翻译,无需 API Key,支持...
oh-my-opencode
Background agents · Curated agents like oracle, librarians, frontend...
claude-flow
Claude-Flow v2.7.0 is an enterprise AI orchestration platform.
chatbox
User-friendly Desktop Client App for AI Models/LLMs (GPT, Claude, Gemini, Ollama...)
continue
Continue is an open-source project for seamless server management.