PC

phialsbasement/cmd-mcp-server

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

26 stars 11 forks 품질 54 트렌드 0MIT

CMD 명령을 실행하기위한 MCP 서버. 추가 대리인을 위한 claude에 걸이될 수 있습니다.

개요

CMD 명령을 실행하기위한 모델 Context Protocol (MCP) 서버 구현뿐만 아니라 SSH 연결을 허용. 이 서버는 MCP 호환 응용 프로그램을 사용하여 명령행 작업을 통합 할 수 있습니다. - MCP를 통한 CMD 명령 실행 - TypeScript 구현 - 공식 MCP SDK 내장 - Cross-platform 호환성 Smithery를 통해 Claude Desktop용 CMD Server를 자동으로 설치하십시오. - Node.js (v16 이상 권장) - npm 또는 원사 패키지 관리자 서버는 환경변수 또는 구성 객체를 통해 구성될 수 있습니다: - npm run build - Compile TypeScript to JavaScript - npm run prepare - 출판 패키지 준비 - @modelcontextprotocol/sdk: ^1.0.1 - glob: ^10.3.10 - zod-to-json-schema: ^3.23.5 공헌은 환영합니다! Pull Request를 제출해 주시기 바랍니다.

개요(AI 번역)

CMD 명령을 실행하기위한 모델 Context Protocol (MCP) 서버 구현뿐만 아니라 SSH 연결을 허용. 이 서버는 MCP 호환 응용 프로그램을 사용하여 명령행 작업을 통합 할 수 있습니다.

특징

  • MCP를 통한 CMD 명령 실행
  • TypeScript 구현
  • 공식 MCP SDK 내장
  • Cross-platform 호환성

설치

Smithery를 통해 설치

Smithery를 통해 Claude Desktop용 CMD Server를 자동으로 설치하십시오.

수동 설치

필수품

  • Node.js (v16 이상 권장)
  • npm 또는 원사 패키지 관리자

사용법

구성

서버는 환경변수 또는 구성 객체를 통해 구성될 수 있습니다:

개발

개발 환경을 설정하려면:

  1. 저장소를 복제:

  2. 의존성 설치:

  3. 프로젝트 구축:

스크립트

  • npm run build - JavaScript를 컴파일
  • npm run prepare - 출판을위한 패키지 준비

종점

  • @modelcontextprotocol/sdk: ^1.0.1
  • glob: ^10.3.10
  • zod-to-json-schema: ^3.23.5

기여

공헌은 환영합니다! Pull Request를 제출해 주시기 바랍니다.

라이센스

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.

README

CMD MCP Server

A Model Context Protocol (MCP) server implementation for executing CMD commands on both Windows and Linux, as well as allowing SSH connections. This server allows you to integrate command-line operations with MCP-compatible applications.

Features

  • Execute CMD commands through MCP
  • TypeScript implementation
  • Built on the official MCP SDK
  • Cross-platform compatibility

Installation

Installing via Smithery

To install CMD Server for Claude Desktop automatically via Smithery:

npx -y @smithery/cli install server-cmd --client claude

Manual Installation

npm install server-cmd

Prerequisites

  • Node.js (v16 or higher recommended)
  • npm or yarn package manager

Usage

import { MCPCmdServer } from 'server-cmd';

// Initialize the server
const server = new MCPCmdServer();

// Start the server
server.start();

Configuration

The server can be configured through environment variables or a configuration object:

const config = {
  // Add your configuration options here
};

const server = new MCPCmdServer(config);

Development

To set up the development environment:

  1. Clone the repository:
git clone https://github.com/PhialsBasement/CMD-MCP-Server.git
cd CMD-MCP-Server
  1. Install dependencies:
npm install
  1. Build the project:
npm run build

Scripts

  • npm run build - Compile TypeScript to JavaScript
  • npm run prepare - Prepare the package for publishing

Dependencies

  • @modelcontextprotocol/sdk: ^1.0.1
  • glob: ^10.3.10
  • zod-to-json-schema: ^3.23.5

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Security

Please note that executing command-line operations can be potentially dangerous. Make sure to implement proper security measures and input validation when using this server in production environments.

Support

For issues and feature requests, please use the GitHub issue tracker.

GitHub에서 전체 README 보기

설치

npx -y @smithery/cli install server-cmd --client claude
MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →