Model Context Protocol Server via Cross-Platform (Mac & Windows) Split Screen Functions
Project description
Computer Split Screen MCP
Cross-platform MCP server that exposes split-screen tools (halves, quadrants, thirds) plus maximize/minimize for both Windows and macOS.
Works with MCP clients via uvx.
Features
- Cross-platform support: Windows and macOS
- Split-screen layouts: Halves, quadrants, thirds, and two-thirds variations
- Window controls: Maximize and minimize
- MCP integration: Full Model Context Protocol server support
- Native performance: Uses PyObjC on macOS and pywin32 on Windows for optimal performance
- No external scripts: Pure Python implementation with native OS APIs
Install / Run via MCP client
Configure your MCP client:
{
"mcpServers": {
"computer-split-screen": {
"command": "uvx",
"args": ["computer-split-screen-mcp"],
"env": {}
}
}
}
Available Tools
left-half- Snap current window to left halfright-half- Snap current window to right halftop-half- Snap current window to top halfbottom-half- Snap current window to bottom halftop-left- Top-left quadranttop-right- Top-right quadrantbottom-left- Bottom-left quadrantbottom-right- Bottom-right quadrantleft-third- Left third (1/3)middle-third- Middle third (1/3)right-third- Right third (1/3)left-two-thirds- Left two-thirds (2/3)right-two-thirds- Right two-thirds (2/3)maximize- OS maximize (bordered)fullscreen- Fullscreen (no borders via macOS)(bordered via Windows)minimize- Minimize window
Platform Dependencies
- Windows: Requires
pywin32>=306 - macOS: Requires
pyobjc-framework-Cocoa>=10.0,pyobjc-framework-Quartz>=10.0, andpyobjc-framework-ApplicationServices>=10.0
What's New in v1.3.0
- Complete macOS rewrite: Replaced AppleScript with native PyObjC implementation
- Improved performance: Faster window operations on macOS using Accessibility APIs
- Better reliability: More robust window detection and positioning
- Enhanced error handling: Graceful fallbacks when platform-specific features are unavailable
- Multi-monitor support: Improved handling of complex display configurations
Technical Details
macOS Implementation
- Uses PyObjC frameworks for native macOS integration
- Leverages Accessibility APIs (AX) for precise window manipulation
- Handles coordinate system conversion between macOS and AX coordinate systems
- Respects macOS-specific features like Dock and menu bar positioning
- Supports both standard windows and document windows
Windows Implementation
- Uses pywin32 for Windows API access
- Implements DPI awareness for high-DPI displays
- Uses DWM (Desktop Window Manager) for accurate frame bounds
- Handles window insets and shadows properly
- Calculates positions as fractions of monitor work area
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file computer_split_screen_mcp-1.3.0.tar.gz.
File metadata
- Download URL: computer_split_screen_mcp-1.3.0.tar.gz
- Upload date:
- Size: 9.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
92ced53d5e072fa8029eaab99a75cd1b36e99fa012036231cebc118d4c13fc5b
|
|
| MD5 |
692e3392917db5055ddc343399cd8549
|
|
| BLAKE2b-256 |
b2486ee2cee1b7bcc342e8276e4ddc4708b42a2da5b6f2dec6244301011cfcbc
|
File details
Details for the file computer_split_screen_mcp-1.3.0-py3-none-any.whl.
File metadata
- Download URL: computer_split_screen_mcp-1.3.0-py3-none-any.whl
- Upload date:
- Size: 11.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9ffd7a9ea7b4cec3775b73089addb716728c9ab09755e6fcb65c5f762569ef68
|
|
| MD5 |
7f988aeb7d7c76f03e5737efd9b2fc1d
|
|
| BLAKE2b-256 |
ab065330a05b8222889bf9e6bf03c9bc5bd7762b66d71a928e6069d6f649145a
|