Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

triepod-ai/ClaudeDesktopCommander

Open more actions menu
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Claude Desktop Commander

This project provides a powerful interface between Claude and your local machine, allowing Claude to execute commands, manage files, and analyze code on your behalf.

Project Structure

ClaudeDesktopCommander/
├── mcp-core/              # Core MCP server functionality
│   ├── src/               # TypeScript source files
│   ├── dist/              # Compiled JavaScript files
│   ├── scripts/           # Utility scripts
│   ├── logs/              # Log files
│   ├── package.json       # Core dependencies
│   ├── tsconfig.json      # TypeScript configuration
│   └── run-desktop-commander.bat  # Launch script for core MCP
│
├── code-analyzer/         # Code analysis component
│   ├── src/               # TypeScript source files
│   ├── scripts/           # Analyzer-specific scripts
│   ├── package.json       # Code analyzer dependencies
│   └── tsconfig.json      # TypeScript configuration
│
├── ollama-wrapper/        # Ollama API integration
│   ├── src/               # JavaScript source files
│   ├── models/            # Ollama model configurations
│   ├── package.json       # Ollama wrapper dependencies
│   ├── run-ollama-api.bat # Windows launch script
│   └── run-ollama-api.sh  # Linux/macOS launch script
│
├── docs/                  # Documentation
│   ├── general/           # General documentation
│   ├── mcp-core/          # MCP Core documentation
│   ├── code-analyzer/     # Code Analyzer documentation
│   └── testing/           # Testing documentation
│
├── scripts/               # Shared scripts
│   ├── setup/             # Setup scripts
│   ├── utilities/         # Utility scripts
│   └── ci/                # CI/CD scripts
│
├── docker/                # Docker configuration
│   ├── docker-compose.yml # Docker Compose configuration
│   └── Dockerfile         # Docker image definition
│
├── _archive/              # Archived temporary files and obsolete components
│
├── assets/                # Shared assets and resources
├── package.json           # Workspace/monorepo configuration
├── run-desktop-commander.bat  # Main launcher (points to mcp-core)
└── .gitignore             # Git ignore configuration

Components

MCP Core Server

This is the core Claude Desktop Commander MCP server that handles:

  • Command execution
  • File operations
  • Process management
  • Terminal operations

Code Analyzer

A separate component for code analysis that includes:

  • File scanning and chunking
  • LLM-based code analysis
  • Vector database integration
  • Embedding generation

Ollama Wrapper

A component for integrating with Ollama's API:

  • Ollama model management
  • Inference API integration
  • Model configuration

Building and Running

Installing All Components

# Install dependencies for all components
npm run install:all

Building the Core MCP Server

# Build the MCP core server
npm run build:mcp

Running the Core MCP Server

Use the main launcher script in the root directory:

run-desktop-commander.bat

Building the Code Analyzer

# Build the code analyzer
npm run build:analyzer

Running the Ollama Wrapper

For Windows:

cd ollama-wrapper
run-ollama-api.bat

For Linux/macOS:

cd ollama-wrapper
./run-ollama-api.sh

Integration with Claude Desktop

Update your Claude Desktop configuration to point to the main run-desktop-commander.bat file:

"desktopCommander": {
  "command": "L:\\ClaudeDesktopCommander\\run-desktop-commander.bat",
  "args": []
}

Documentation

Detailed documentation is available in the docs/ directory:

Future Development

Each component can now be developed, tested, and versioned independently. The modular structure allows for:

  1. Independent dependency management
  2. Clearer separation of concerns
  3. Targeted testing and development
  4. Easier maintenance and extension

About

This is MCP server for Claude that gives it terminal control

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 64.0%
  • JavaScript 31.3%
  • Batchfile 4.1%
  • Shell 0.3%
  • CSS 0.2%
  • HTML 0.1%
Morty Proxy This is a proxified and sanitized view of the page, visit original site.