split-mac-test


Namesplit-mac-test JSON
Version 1.0.2 PyPI version JSON
download
home_pageNone
SummaryMCP Server for macOS Split Screen Window Management via Native APIs
upload_time2025-08-22 03:52:41
maintainerNone
docs_urlNone
authorBeta
requires_python>=3.9
licenseMIT License Copyright (c) 2024 Beta Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
keywords appkit macos mcp pyobjc quartz split-screen tiling window-management
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Split Mac Test MCP Server

MCP server that exposes macOS split-screen tools via native PyObjC/Quartz APIs for maximum performance and reliability.

## Features

- **Native macOS implementation**: Uses PyObjC, Quartz, and AppKit for direct system access
- **Split-screen layouts**: Halves, quadrants, thirds, and two-thirds variations
- **Window controls**: Maximize, minimize, and fullscreen
- **MCP integration**: Full Model Context Protocol server support
- **No startup issues**: Screen detection only happens when tools are called

## Install / Run via MCP client

### Option 1: Install from PyPI
```bash
pip install split-mac-test
```

### Option 2: Run directly with uvx
```bash
uvx --from split-mac-test split-mac-test-mcp
```

## MCP Client Configuration

Configure your MCP client:

```json
{
  "mcpServers": {
    "split-mac-test": {
      "command": "uvx",
      "args": ["--from", "split-mac-test", "split-mac-test-mcp"],
      "env": {}
    }
  }
}
```

**Note**: The executable name is `split-mac-test-mcp`, not `split-mac-test`.

## Available Tools

- `left-half-screen` - Snap current window to left half
- `right-half-screen` - Snap current window to right half
- `top-half-screen` - Snap current window to top half
- `bottom-half-screen` - Snap current window to bottom half
- `top-left-screen` - Top-left quadrant
- `top-right-screen` - Top-right quadrant
- `bottom-left-screen` - Bottom-left quadrant
- `bottom-right-screen` - Bottom-right quadrant
- `left-one-third-screen` - Left third (1/3)
- `middle-one-third-screen` - Middle third (1/3)
- `right-one-third-screen` - Right third (1/3)
- `left-two-thirds-screen` - Left two-thirds (2/3)
- `right-two-thirds-screen` - Right two-thirds (2/3)
- `maximize-screen` - OS maximize (bordered)
- `fullscreen-screen` - Fullscreen (no borders)
- `minimize-screen` - Minimize window

## Technical Details

- **Platform**: macOS only (uses native PyObjC APIs)
- **Dependencies**: `mcp>=0.1.0`, PyObjC (built into most macOS Python installs)
- **Architecture**: Direct system calls via Quartz/AppKit for maximum performance
- **Startup**: Safe MCP initialization with lazy screen detection

## Advantages over AppleScript-based solutions

- **Faster execution**: Direct API calls vs. AppleScript interpretation
- **Better error handling**: Native exception handling and fallbacks
- **More reliable**: No AppleScript parsing or execution issues
- **Lower latency**: Direct system access without intermediate layers

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "split-mac-test",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.9",
    "maintainer_email": null,
    "keywords": "appkit, macos, mcp, pyobjc, quartz, split-screen, tiling, window-management",
    "author": "Beta",
    "author_email": null,
    "download_url": "https://files.pythonhosted.org/packages/77/87/e9a1a4e4f4a2aed3fa4aa24ac32ecaba3d7d503072b0996206abf15b85a8/split_mac_test-1.0.2.tar.gz",
    "platform": null,
    "description": "# Split Mac Test MCP Server\n\nMCP server that exposes macOS split-screen tools via native PyObjC/Quartz APIs for maximum performance and reliability.\n\n## Features\n\n- **Native macOS implementation**: Uses PyObjC, Quartz, and AppKit for direct system access\n- **Split-screen layouts**: Halves, quadrants, thirds, and two-thirds variations\n- **Window controls**: Maximize, minimize, and fullscreen\n- **MCP integration**: Full Model Context Protocol server support\n- **No startup issues**: Screen detection only happens when tools are called\n\n## Install / Run via MCP client\n\n### Option 1: Install from PyPI\n```bash\npip install split-mac-test\n```\n\n### Option 2: Run directly with uvx\n```bash\nuvx --from split-mac-test split-mac-test-mcp\n```\n\n## MCP Client Configuration\n\nConfigure your MCP client:\n\n```json\n{\n  \"mcpServers\": {\n    \"split-mac-test\": {\n      \"command\": \"uvx\",\n      \"args\": [\"--from\", \"split-mac-test\", \"split-mac-test-mcp\"],\n      \"env\": {}\n    }\n  }\n}\n```\n\n**Note**: The executable name is `split-mac-test-mcp`, not `split-mac-test`.\n\n## Available Tools\n\n- `left-half-screen` - Snap current window to left half\n- `right-half-screen` - Snap current window to right half\n- `top-half-screen` - Snap current window to top half\n- `bottom-half-screen` - Snap current window to bottom half\n- `top-left-screen` - Top-left quadrant\n- `top-right-screen` - Top-right quadrant\n- `bottom-left-screen` - Bottom-left quadrant\n- `bottom-right-screen` - Bottom-right quadrant\n- `left-one-third-screen` - Left third (1/3)\n- `middle-one-third-screen` - Middle third (1/3)\n- `right-one-third-screen` - Right third (1/3)\n- `left-two-thirds-screen` - Left two-thirds (2/3)\n- `right-two-thirds-screen` - Right two-thirds (2/3)\n- `maximize-screen` - OS maximize (bordered)\n- `fullscreen-screen` - Fullscreen (no borders)\n- `minimize-screen` - Minimize window\n\n## Technical Details\n\n- **Platform**: macOS only (uses native PyObjC APIs)\n- **Dependencies**: `mcp>=0.1.0`, PyObjC (built into most macOS Python installs)\n- **Architecture**: Direct system calls via Quartz/AppKit for maximum performance\n- **Startup**: Safe MCP initialization with lazy screen detection\n\n## Advantages over AppleScript-based solutions\n\n- **Faster execution**: Direct API calls vs. AppleScript interpretation\n- **Better error handling**: Native exception handling and fallbacks\n- **More reliable**: No AppleScript parsing or execution issues\n- **Lower latency**: Direct system access without intermediate layers\n",
    "bugtrack_url": null,
    "license": "MIT License\n        \n        Copyright (c) 2024 Beta\n        \n        Permission is hereby granted, free of charge, to any person obtaining a copy\n        of this software and associated documentation files (the \"Software\"), to deal\n        in the Software without restriction, including without limitation the rights\n        to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n        copies of the Software, and to permit persons to whom the Software is\n        furnished to do so, subject to the following conditions:\n        \n        The above copyright notice and this permission notice shall be included in all\n        copies or substantial portions of the Software.\n        \n        THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n        IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n        FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n        AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n        LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n        OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n        SOFTWARE.",
    "summary": "MCP Server for macOS Split Screen Window Management via Native APIs",
    "version": "1.0.2",
    "project_urls": null,
    "split_keywords": [
        "appkit",
        " macos",
        " mcp",
        " pyobjc",
        " quartz",
        " split-screen",
        " tiling",
        " window-management"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "66ded0c7c190cc928588a7a06ff803c33d941eec32900c478a6f721a1745fb48",
                "md5": "cd7808aa0760f54e42e3f14e7ea4b283",
                "sha256": "9cb387ad17dfd622fcefb544ce1211172eed63dc72ea0a3802df03b00dbc0b5a"
            },
            "downloads": -1,
            "filename": "split_mac_test-1.0.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "cd7808aa0760f54e42e3f14e7ea4b283",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9",
            "size": 8706,
            "upload_time": "2025-08-22T03:52:39",
            "upload_time_iso_8601": "2025-08-22T03:52:39.767075Z",
            "url": "https://files.pythonhosted.org/packages/66/de/d0c7c190cc928588a7a06ff803c33d941eec32900c478a6f721a1745fb48/split_mac_test-1.0.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "7787e9a1a4e4f4a2aed3fa4aa24ac32ecaba3d7d503072b0996206abf15b85a8",
                "md5": "a4fb1aee80abd0c56dd20cb053dd9891",
                "sha256": "15cba1c7e3320585065fa774e582935b036c8af1298082dda491d3b30793326a"
            },
            "downloads": -1,
            "filename": "split_mac_test-1.0.2.tar.gz",
            "has_sig": false,
            "md5_digest": "a4fb1aee80abd0c56dd20cb053dd9891",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9",
            "size": 8291,
            "upload_time": "2025-08-22T03:52:41",
            "upload_time_iso_8601": "2025-08-22T03:52:41.184758Z",
            "url": "https://files.pythonhosted.org/packages/77/87/e9a1a4e4f4a2aed3fa4aa24ac32ecaba3d7d503072b0996206abf15b85a8/split_mac_test-1.0.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-08-22 03:52:41",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "split-mac-test"
}
        
Elapsed time: 1.36299s