local-command-server logo

local-command-server

by kentaro

This is a TypeScript-based MCP server that executes commands and returns structured outputs. It's designed for use with tools like Claude Desktop.

View on GitHub

Last updated: N/A

What is local-command-server?

This is an MCP (Model Context Protocol) server that allows you to execute commands on your local machine and receive structured output. It's built with TypeScript and designed to integrate with applications like Claude Desktop.

How to use local-command-server?

  1. Install dependencies using npm install. 2. Build the server using npm run build. 3. Configure your application (e.g., Claude Desktop) to use the server by adding the server config to the appropriate configuration file (e.g., ~/Library/Application Support/Claude/claude_desktop_config.json on MacOS). 4. Specify the path to the built index.js file in the configuration.

Key features of local-command-server

  • Execute commands

  • Return structured output

  • TypeScript based

  • MCP compatible

  • Integration with Claude Desktop

Use cases of local-command-server

  • Automating tasks

  • Integrating local commands with applications

  • Extending the functionality of Claude Desktop

  • Running scripts and processing their output

FAQ from local-command-server

What is MCP?

MCP stands for Model Context Protocol. It's a protocol for communication between applications and external tools.

How do I debug the server?

Use the MCP Inspector by running npm run inspector. This will provide a URL to access debugging tools in your browser.

What language is the server written in?

The server is written in TypeScript.

Where do I find the configuration file for Claude Desktop?

On MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json. On Windows: %APPDATA%/Claude/claude_desktop_config.json.

What is the license of this project?

The project is licensed under the MIT license.