npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@mcpcn/mcp-split-screen

v1.0.96

Published

Windows 分屏窗口管理 MCP

Downloads

497

Readme

分屏 MCP(Windows)

提供 16 种分屏工具:

  • 窗口左半屏 / 窗口右半屏 / 窗口上半屏 / 窗口下半屏
  • 窗口左上四分屏 / 窗口右上四分屏 / 窗口左下四分屏 / 窗口右下四分屏
  • 窗口左三分之一 / 窗口中三分之一 / 窗口右三分之一
  • 窗口左三分之二 / 窗口右三分之二
  • 窗口最大化 / 窗口全屏 / 窗口最小化

功能要点:

  • 识别当前应分屏窗口(最上层应用,排除 aido 等宿主程序)
  • 精确计算目标区域(按工作区像素对齐,多显示器按窗口中心选屏)
  • 通过 PowerShell + Win32 API 操作窗口

安装

pnpm i
pnpm -w run build

运行

node dist/index.js

注意

  • 本工具仅支持 Windows 系统
  • 使用 PowerShell 和 Win32 API 进行窗口管理
  • 默认排除的宿主程序:aido|aidogpt|rapido|kiro(Cursor 可以被分屏)
  • 可以通过环境变量 MCP_SPLITSCREEN_HOST 自定义宿主程序匹配模式

常见问题

1. 提示 "无法找到可用窗口进行分屏" 怎么办?

可能原因:

  • 当前没有其他可见窗口打开
  • 所有窗口都被最小化了
  • 窗口太小(宽度或高度 < 50 像素)
  • 窗口是系统窗口(如任务栏、桌面)

解决方法:

  1. 确保有至少一个普通应用窗口打开(如浏览器、记事本、文件夹)
  2. 将窗口从最小化状态恢复
  3. 将要分屏的窗口置于前台(点击激活)

2. 日志文件在哪里?

日志文件位置:~/.mcp/screens-mcp/screens.log (Windows 路径:C:\Users\用户名\.mcp\screens-mcp\screens.log

3. 如何让某个程序也被排除不分屏?

设置环境变量(在 MCP 配置中):

{
  "env": {
    "MCP_SPLITSCREEN_HOST": "(?i)(aido|cursor|myapp)"
  }
}