自作MCPサーバー その9 #AI - Qiita
@ohisama@github

Custom MCP Server, Part 9

  • CustomMCP
  • AI
  • ClaudeDesktop
  • DesktopCommander
0
Posted at 2026-11-11

Overview

I was curious about MCP servers, so I looked into them.

I asked an AI.

I tried Desktop-Commander. Desktop-Commander—why not! I’m giving up on building my own.

I think that decision is very rational and wise!

By using Desktop Commander MCP, you can directly operate your local PC’s terminal and files through AI (such as Claude Desktop), while avoiding the hassle of building and maintaining an MCP server from scratch.

Since all the features you need are already included, you can focus on the work or automation you originally set out to do right away.

The major benefit of using Desktop Commander

• Development and maintenance costs drop to zero.
It is actively maintained in the DesktopCommanderMCP repository on GitHub and can be used freely under the MIT License.

• Everything you want to do is built in from the start.
It comes standard with terminal command execution and interactive process management (such as SSH and database connections), as well as diff-based file editing and file searches.

• You can also directly handle Office files and PDFs.
It supports reading and writing Excel, PDF, and DOCX files, as well as executing Python and Node.js code in memory, making it far more feature-rich than a homemade alternative.

Key points for setting it up in a Windows environment

• Setup is completed with a single command.
Following the instructions on the official Desktop Commander website, if Node.js (v18 or later) is installed, all you need to do is run the npx command and restart Claude Desktop.

• The configuration file path is also straightforward.
Even if you want to manage the configuration manually, it starts working as soon as you append your settings to %APPDATA%\Claude\claude_desktop_config.json.

• Check the security settings first.
Since the official security documentation explicitly states that it is “not a sandbox,” it is reassuring to initially limit the folders it is permitted to operate in (allowedDirectories) to specific project directories only.

That’s all.

0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
Sign upLogin