Skip to main content

A Model Context Protocol server that provides software management capabilities for your computer.

Project description

English | 中文

Software MCP Server

A Model Context Protocol server that provides software management capabilities for your computer. This server enables LLMs to get a list of installed software, open applications, and close running programs, with support for multiple operating systems (Windows, macOS, Linux).

Available Tools

  • get_software_list_tool - Get a list of installed software on the computer.

    • Returns a list of software names.
  • open_software - Open software by name.

    • Required arguments:
      • name (string): The name of the software to open.
  • close_software - Close running software by name (currently Windows-only).

    • Required arguments:
      • name (string): The name of the software to close.

Installation

Using uv (recommended)

When using uv, no specific installation is needed. We can use uvx to directly run mcp-software-server.

Using PIP

Alternatively, you can install dependencies via pip:

pip install mcp_server_software

Configuration

Configure for Claude.app

Add to your Claude settings:

Using uvx
"mcpServers": {
  "software_manager": {
    "command": "uvx",
    "args": ["mcp-server-software"]
  }
}
Using uv
"mcpServers": {
  "software_manager": {
        "command": "uv",
        "args": [
          "--directory",
          "{path/to/mcp_server_software.py}",
          "run",
          "mcp_server_software.py"
        ],
        "env": {},
        "disabled": false,
        "alwaysAllow": []
    }
}
Using manual Python command
"mcpServers": {
  "software_manager": {
    "command": "python",
    "args": ["path/to/mcp_server_software.py"]
  }
}

Platform Support

  • Windows: Full functionality (software listing, opening, closing)
  • macOS: Software listing and opening only
  • Linux: Software listing and opening only

Example Interactions

  1. Get software list:
{
  "name": "get_software_list_tool",
  "arguments": {}
}

Response:

[
  "Chrome",
  "Firefox",
  "Visual Studio Code",
  "Notepad++",
  ...
]
  1. Open software:
{
  "name": "open_software",
  "arguments": {
    "name": "Chrome"
  }
}

Response:

"Opened Chrome"
  1. Close software (Windows only):
{
  "name": "close_software",
  "arguments": {
    "name": "Chrome"
  }
}

Response:

"Closed Chrome"

Debugging

You can use the MCP inspector to debug the server:

npx @modelcontextprotocol/inspector python mcp_server_software.py

Examples of Questions for Claude/AI

  1. "What applications do I have installed on my computer?"
  2. "Can you open Notepad for me?"
  3. "Please close Chrome browser"
  4. "Show me all available software on my system"

How It Works

The server creates and maintains a JSON file (software_list.json) that maps software names to their executable paths. On Windows, it scans Start Menu shortcuts, on macOS it looks in the Applications folder, and on Linux it examines desktop entry files.

You can manually edit this JSON file to add custom software entries:

{
  "CustomApp": "C:\\Path\\To\\Custom\\App.exe"
}

Requirements

  • Python 3.7+
  • psutil
  • mcp
  • pywin32 (Windows only)

Contributing

Contributions are welcome to help expand and improve mcp-software-server. Consider adding support for:

  • Better closing support on macOS/Linux
  • Enhanced software detection
  • Software installation/uninstallation capabilities
  • Additional software management features

License

This project is licensed under the MIT License. See the LICENSE file for details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mcp_server_software-0.1.0.tar.gz (4.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mcp_server_software-0.1.0-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

Details for the file mcp_server_software-0.1.0.tar.gz.

File metadata

  • Download URL: mcp_server_software-0.1.0.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for mcp_server_software-0.1.0.tar.gz
Algorithm Hash digest
SHA256 adee4db43215db344ea7c0833cf0574c6bde61dbbc68cc54b3dc9c95184d5cf0
MD5 6abd6ab327ea6074ffd02ee0ba4d3e9f
BLAKE2b-256 583224f72172549a2db2522e07d2e4ffe6c4ce39a86a7f73da9fbce4261364b1

See more details on using hashes here.

File details

Details for the file mcp_server_software-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for mcp_server_software-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6358f770eb84038f3027a0db29154fd7fb23d37144b7b3d36fa7410e31954701
MD5 3e01a21529e3cb1fd985dabafd6f7666
BLAKE2b-256 8cdd51863f2d598bc074f145f79bffecac2334705ea5279809e063f3fb106d0e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page