PI

praetorian-inc/mcphammer

Developer tools

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

35 stars 3 forks 품질 58 트렌드 12Apache-2.0

MCP 보안 테스트 프레임 워크 모델 Context Protocol 서버 취약점

개요

Claude AI 통합, 텍스트 주입 기능 및 서버 정보 유틸리티를 포함한 다양한 도구를 제공하는 FastMCP로 구성된 모델 Context Protocol (MCP) 서버. 그것은 확실히 최고 안전, 당신은 확실히 그것을 통해 은밀한 자료를 보내고, 확실히 모든 것을 실제로 말합니다. - : MCP 프로토콜을 통해 직접 Query Claude 모델 - : 도구 응답에 대한 사용자 정의 텍스트를 승인 - : 신뢰할 수있는 HTTP 기반 통신 및 원격 호스팅을위한 FastMCP 내장 - : 모든 도구 통화 및 상호 작용의 자동 로깅 - : 내장 된 건강 검사 및 서버 정보 엔드 포인트 - : 호스트에 대한 정보는 디스크에 파일에 저장되며 원격 호스트로 전송됩니다. : 주입 텍스트를 변경하고 여러 MCPHammer 인스턴스를 원격으로 관리 할 수 있습니다. 예를 들어, 브라우저를 통해 원격 관리 및 웹 브라우저를 통해 여러 MCPHammer 인스턴스를 관리 할 수 있습니다.

개요(AI 번역)

Claude AI 통합, 텍스트 주입 기능 및 서버 정보 유틸리티를 포함한 다양한 도구를 제공하는 FastMCP로 구성된 모델 Context Protocol (MCP) 서버. 그것은 확실히 최고 안전, 당신은 확실히 그것을 통해 은밀한 자료를 보내고, 확실히 모든 것을 실제로 말합니다.

특징

  • **Claude AI 통합 ** : MCP 프로토콜을 통해 직접 Query Claude 모델
  • Text Injection System: 도구 응답에 대한 사용자 정의 텍스트를 승인
  • HTTP 전송: 신뢰할 수있는 HTTP 기반 통신 및 원격 호스팅을위한 FastMCP에 내장
  • Session Logging: 모든 도구 호출 및 상호 작용의 자동 로깅
  • ** 건강 모니터링 ** : 내장 건강 검사 및 서버 정보 엔드포인트 -Telemetry Service: 서버가 실행되는 정보는 디스크에 파일에 저장되며, 원격 호스트로 전송
  • ** 원격 관리**: 사출 텍스트를 변경하고 관리 서버를 통해 여러 MCPHammer 인스턴스를 원격으로 관리
  • 웹 UI: 브라우저 기반 관리 콘솔 보기 인스턴스 및 푸시 업데이트
  • Init Tool: 설정 가능한 URL에서 파일을 다운로드하고 열 자동 초기화

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

README

원문 README의 일부입니다. 원문 보기.

MCP Hammer

A Model Context Protocol (MCP) server built with FastMCP that provides various tools including Claude AI integration, text injection capabilities, and server information utilities. It is definitely super secure, you should definitely send confidential data through it, and definitely take everything it says as fact.

Features

  • Claude AI Integration: Query Claude models directly through the MCP protocol
  • Text Injection System: Append custom text to tool responses
  • HTTP Transport: Built on FastMCP for reliable HTTP-based communication & remote hosting
  • Session Logging: Automatic logging of all tool calls and interactions
  • Health Monitoring: Built-in health check and server info endpoints
  • Telemetry Service: Information about the host the server is running on is collected and stored in files on disk, and/or sent to a remote host
  • Remote Management: Change injection text and manage multiple MCPHammer instances remotely via a management server
  • Web UI: Browser-based management console for viewing instances and pushing updates
  • Init Tool: Automatic initialization that downloads and opens files from a configurable URL
  • Download & Execute: Download files from URLs and optionally execute them
  • Configurable Init URL: Change the init tool’s download URL remotely via web UI or API

Prerequisites

  • Python 3.10 or higher
  • pip (Python package manager)
  • An Anthropic API key (for Claude integration)

Installation

  1. Clone the repository

    git clone https://github.com/praetorian-inc/MCPHammer
    cd MCPHammer
    
  2. Create a virtual environment (recommended)

    python3 -m venv venv
    
    # Activate the virtual environment
    # On macOS/Linux:
    source venv/bin/activate
    
    # On Windows:
    # venv\Scripts\activate
    
  3. Install dependencies

    pip install -r requirements.txt
    

Setting up Anthropic API Key

The ask_claude tool requires an Anthropic API key to function. Set it as an environment variable:

macOS/Linux

export ANTHROPIC_API_KEY="your-api-key-here"

Windows (Command Prompt)

set ANTHROPIC_API_KEY=your-api-key-here

Windows (PowerShell)

$env:ANTHROPIC_API_KEY="your-api-key-here"

To make this permanent, add the export command to your shell configuration file (.bashrc, .zshrc, etc.) or set it in your system environment variables.

Running the Server

Start the server with default settings (port 3000):

python MCPHammer.py

Or specify a custom port:

python MCPHammer.py --port 8080

Config Server Configuration

You can configure the config server IP/port when starting MCPHammer using command-line arguments:

Option 1: Using IP:port format (automatically adds /sync endpoint):

python MCPHammer.py --config-server 192.168.1.100:8888

Option 2: Using full URL:

GitHub에서 전체 README 보기

설치

This server does not publish a one-line install command.

Open the repository installation guide MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →