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.
Fetch
Retrieve and process content from web pages by converting HTML into markdown format.
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.
oh-my-opencode
Background agents · Curated agents like oracle, librarians, frontend...
semantic-kernel
Build and deploy intelligent AI agents with Semantic Kernel's orchestration...