TRIGGERcmd
Runs commands on your computers remotely.
triggercmd-mcp-stdio
Local stdio MCP server for TRIGGERcmd
Features
This MCP server provides both general command management tools and dynamic command-specific tools:
Base Tools
list_commands
- List all available TRIGGERcmd commands across your computersrun_command
- Run any specific command by computer and command name
Dynamic Command Tools
The server automatically creates individual MCP tools for each of your TRIGGERcmd commands that have an mcpToolDescription
field set. These tools:
- Are named using the pattern
run_{computer}_{command}
(sanitized for MCP compatibility) - Use the
mcpToolDescription
as the tool description for better AI understanding - Accept optional parameters if the command supports them
- Provide a more intuitive interface than the generic
run_command
tool
For example, if you have a command named "lights" on computer "office" with mcpToolDescription
set to "Control the office lights - accepts colors (red, blue, green, white) or on/off", the server will automatically create a tool named run_office_lights
with that description.
Setting mcpToolDescription
To enable dynamic tools for your commands:
- Log into your TRIGGERcmd account
- Edit the commands you want to expose as individual MCP tools
- Set the
mcpToolDescription
field with a clear description of what the command does and how to use parameters - Restart the MCP server to pick up the changes
Authentication
If the TRIGGERCMD_TOKEN environment variable is set, it will use that, otherwise it will try to read the token from your ~/.TRIGGERcmdData/token.tkn file in your user's home directory.
AI prompt examples
Use the #triggercmd mcp server to run notepad on laptop with parameter newnote.
You can also tell the LLM what the command does, and how the parameters work before you run your command. For example:
Prompt 1: The parameter of the "lights" command on the "office" computer in the #triggercmd mcp server is used to specify what color (red, white, green, or blue) to make the lights in my office. It also accepts on or off to turn the lights on or off.
Prompt 2: Turn the lights in my office green.
Prompt 3: Turn the lights in my office off.
Usage
Option 1: Direct Binary
If using Claude Desktop, add an entry like this to your claude_desktop_config.json file:
{
"mcpServers": {
"triggercmd": {
"command": "C:\\Users\\johndoe\\Downloads\\triggercmd-mcp-windows-amd64.exe"
}
}
}
If using VS Code, add an entry like this to your mcp.json file:
{
"servers": {
"triggercmd": {
"type": "stdio",
"command": "C:\\Users\\johndoe\\Downloads\\triggercmd-mcp-windows-amd64.exe"
}
}
}
Option 2: Docker Container
The server is also available as a Docker container. See the docker/README.md for detailed setup instructions.
Claude Desktop with Docker:
{
"mcpServers": {
"triggercmd": {
"command": "docker",
"args": [
"run", "--rm", "-i",
"-v", "/home/user/.TRIGGERcmdData/token.tkn:/home/triggercmd/.TRIGGERcmdData/token.tkn:ro",
"triggercmd-mcp:latest"
]
}
}
}
VS Code with Docker:
{
"servers": {
"triggercmd": {
"type": "stdio",
"command": "docker",
"args": [
"run", "--rm", "-i",
"-v", "/home/user/.TRIGGERcmdData/token.tkn:/home/triggercmd/.TRIGGERcmdData/token.tkn:ro",
"triggercmd-mcp:latest"
]
}
}
}
Downloads
Mac:
Linux:
Windows:
NOTE: On Mac and Linux, you'll need to make the binary executable with a command like this:
chmod +x triggercmd-mcp-darwin-arm64
Demo
Related Servers
Shortcut
Manage your Shortcut projects, stories, and epics.
AnkiConnect
Connect Claude with AnkiConnect to create and review flashcards using natural language.
MCP Zotero
Interact with your Zotero library for managing references and citations.
Feishu/Lark OpenAPI MCP
Connect AI agents to Feishu/Lark APIs for document processing, conversation management, and calendar scheduling.
Sequential Story
An MCP server for problem-solving using Sequential Thinking and Sequential Story mnemonic techniques.
Lazy Toggl MCP
Simple unofficial MCP server to track time via Toggl API
Obsidian
Interact with Obsidian vaults to read, create, edit, and manage notes and tags.
Smartsheet
Integrate with Smartsheet for project management and data analytics, requiring an API access token.
Rememberizer
Access personal and team knowledge from documents and Slack discussions.
Things 3 Extended
A desktop extension for the Things 3 task manager, providing advanced features like task movement, editing, and backups.