PolarHub
  • Agents
  • MCP Servers
  • Skills
  • PolarBear
PolarHub © 2026
MCP Serversfile-systemsfirst_mcp
返回「file-systems」

first_mcp

modelscope·@koopatroopa787/first_mcp

file-systems0下载LocalModelScope

简介

暂无描述。

MCP Server 详情

来自 ModelScope 索引

MCP PC Control Server

A powerful Model Context Protocol (MCP) server that provides comprehensive PC control capabilities including file operations, directory management, and command execution.

Features

File Operations

  • read_file - Read complete file contents with proper encoding
  • write_file - Create new files or overwrite existing ones
  • edit_file - Make precise line-based edits with diff output
  • delete_file - Remove files from the filesystem
  • move_file - Move or rename files and directories
  • get_file_info - Get detailed file metadata (size, timestamps, permissions)

Directory Operations

  • create_directory - Create directories (supports nested creation)
  • list_directory - List directory contents with detailed information
  • delete_directory - Recursively delete directories and their contents
  • search_files - Recursively search for files matching patterns

System Operations

  • execute_command - Execute shell commands with optional working directory

Installation

  1. Clone or download this repository
  2. Install dependencies:
npm install
  1. Build the project:
npm run build

Usage

Running the Server

The server communicates via stdio and is designed to be used with MCP clients:

npm start

Configuration with Claude Desktop

Add this server to your Claude Desktop configuration file:

On macOS: ~/Library/Application Support/Claude/claude_desktop_config.json

On Windows: %APPDATA%/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "pc-control": {
      "command": "node",
      "args": ["/absolute/path/to/first_mcp/build/index.js"]
    }
  }
}

Replace /absolute/path/to/first_mcp with the actual absolute path to this project directory.

Example with npx (Alternative)

You can also run it directly with npx if published to npm:

{
  "mcpServers": {
    "pc-control": {
      "command": "npx",
      "args": ["-y", "mcp-pc-control-server"]
    }
  }
}

Available Tools

read_file

{
  path: string  // Path to the file to read
}

write_file

{
  path: string,    // Path where file should be written
  content: string  // Content to write
}

edit_file

{
  path: string,
  edits: [{
    oldText: string,  // Exact text to find
    newText: string   // Replacement text
  }]
}

create_directory

{
  path: string  // Directory path to create
}

list_directory

{
  path: string  // Directory path to list
}

delete_file

{
  path: string  // File path to delete
}

delete_directory

{
  path: string  // Directory path to delete recursively
}

move_file

{
  source: string,      // Current path
  destination: string  // New path
}

get_file_info

{
  path: string  // Path to get info about
}

execute_command

{
  command: string,           // Shell command to execute
  workingDirectory?: string  // Optional working directory
}

search_files

{
  path: string,     // Directory to search in
  pattern: string   // Pattern to match (supports * and **)
}

Security Considerations

WARNING: This server provides powerful filesystem and command execution capabilities.

  • File Access: Can read, write, and delete any files the process has permissions for
  • Command Execution: Can execute arbitrary shell commands
  • No Sandboxing: Operations are not sandboxed or restricted

Recommendations:

  • Only use with trusted MCP clients
  • Run with minimal necessary permissions
  • Be cautious with the execute_command tool
  • Consider implementing additional access controls for production use
  • Review all operations in sensitive environments

Development

Build

npm run build

Watch Mode

npm run watch

Project Structure

.
 src/
    index.ts          # Main server implementation
 build/                # Compiled JavaScript (generated)
 package.json
 tsconfig.json
 README.md

License

MIT

Contributing

Contributions are welcome! Please feel free to submit issues or pull requests.

Troubleshooting

Server not appearing in Claude Desktop

  1. Check that the path in claude_desktop_config.json is absolute and correct
  2. Verify the build directory exists and contains index.js
  3. Restart Claude Desktop after configuration changes
  4. Check Claude Desktop logs for errors

Permission Errors

  • Ensure the server process has necessary file system permissions
  • On Unix systems, check file/directory permissions with ls -la
  • Run with appropriate user privileges for the operations you need

Command Execution Issues

  • Verify the working directory exists and is accessible
  • Check that shell commands are appropriate for your operating system
  • Some commands may require specific environment variables

相关 MCP Servers(来自「file-systems」)

快递100 MCP Server

快递100 MCP Server提供快递信息查询、快递运费预估比价、快递时效查询(含发货前时效查询与在途动态时效查询)等功能。

kuaidi100/kuaidi100-mcp

墨刀AI-MCP

基于Model Context Protocol的原型生成功能服务,专注于HTML代码生成、设计描述生成和HTML导入功能。

mockingbot/modao-proto-mcp

思维导图 MCP

一个用于生成思维导图的 MCP (Model Context Protocol) 服务器。 看起来您的请求中没有提供具体的英文技术文档内容以供翻译。如果您能分享更多详细信息或具体段落,我将能够帮助您将其准确地翻译成中文,同时保留代码块、链接、格式结构和专业术语的准确性。请提供需要翻译的具体文本。

WEIAIb/mind-map-mcp

文档编辑服务

一个通过模型上下文协议(Model Context Protocol)提供读取、写入和编辑微软Word(docx)文件工具的服务器,允许进行整篇文档读取、内容创建、目标段落编辑以及文本插入等操作。

@famano/mcp-server-office

项目规划器

该工具通过灵活的思维流程帮助分析问题,这种流程能够适应变化并不断演进。随着认知的深入,每个思维节点都可以对先前结论进行补充、质疑或修正。 适用场景 拆解复杂问题为可执行步骤 需要预留修订空间的设计规划 可能需要方向调整的深度分析 初期范围不明确的探索性问题 需多阶段推理的复合型问题 多步骤关联的任务场景 需过滤干扰信息的决策场景

virgo777/sequence_think

用于股票量化计算的智能体

基于Qwen3推理引擎的股票量化智能体,其详细使用方法可通过MCP平台内置的《查询操作手册》获取。 For detailed usage instructions on the Qwen3-powered quantitative trading agent with advanced reasoning capabilities for stock market analysis, please refer to the MCP Query Cookbook accessible via the platform's built-in documentation system.

virgo777/Stock-Quant-Agent

自动安装

点击按钮会唤起 PolarBear 客户端,并把当前 MCP Server 的 Markdown 详情文档地址传给客户端。

/api/mcps/koopatroopa787-first_mcp/markdown
打开 PolarBear 安装查看 Markdown 文档

手动安装

在 PolarBear 或其他支持 MCP 的客户端中,新建 MCP Server,并参考下方来源或安装提示配置。

npm install

基本信息

分类
file-systems / shell-access / os-automation
运行方式
No
许可证
Unknown
详情文件
koopatroopa787-first_mcp.md