Weapon Recoil Generator (WRG)

Weapon Recoil Generator (WRG)

Enables FPS game developers to generate and visualize weapon recoil patterns for machine guns, pistols, and shotguns via API calls. It provides tools for both recoil trajectory data generation and 2D scatter plot visualization to streamline game balancing.

Category
访问服务器

README

<img src="/assets/target.png" alt="logo" width="32" style="vertical-align:middle;"/> Weapon Recoil Generator – build your own recoil MCP

  • We released a versatile MCP server that lets FPS game developers generate and visualize weapon recoil patterns via simple API calls.
  • FPS 게임 개발자가 간단한 API 호출만으로 무기 반동 패턴을 생성하고 시각화할 수 있는 강력한 MCP 서버를 출시했습니다.

Learn more and deploy on Smithery: smithery badge

WRG MCP Server

  • This MCP server provides two core tools—Weapon Recoil Generation and Recoil Visualization—exposed as HTTP endpoints. Simply deploy locally or in the cloud and start tuning your game’s recoil behavior in real time.
  • 이 MCP 서버는 ‘무기 반동 생성’과 ‘반동 시각화’라는 두 가지 핵심 도구를 HTTP 엔드포인트로 제공하며, 로컬 또는 클라우드에 배포한 뒤 실시간으로 반동 튜닝을 시작할 수 있습니다.

Installation

git clone https://github.com/Hyeongseob91/mcp-server.git
cd mcp-server
pip install -r requirements.txt

Development

Run the server locally with automatic reload: 자동 리로드 기능을 켜고 로컬에서 서버를 실행합니다:

uvicorn main:app --reload --host 0.0.0.0 --port 8000

Usage

Configure in Claude Desktop

Add to your Claude config: Claude 설정 파일에 다음을 추가하세요:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "wrg": {
      "command": "python /path/to/mcp-server/main.py --http"
    }
  }
}

After restarting Claude Desktop, you can call the /wrg and /rvz endpoints directly. Claude Desktop을 재시작한 후 /wrg와 /rvz 엔드포인트를 직접 호출할 수 있습니다.

Key Features

  • Weapon Recoil Generation (WRG)

    • machinegun_recoil_points(shots: int)

      • Generates recoil trajectory data for a machine gun based on the number of shots.
      • 기관총 발사 횟수에 따른 반동 궤적 데이터를 생성합니다.
  • Weapon Recoil Generation (WRG)

    • pistol_recoil_points(shots: int)

      • Generates recoil trajectory data for a pistol based on the number of shots.
      • 권총 발사 횟수에 따른 반동 궤적 데이터를 생성합니다.
  • Weapon Recoil Generation (WRG)

    • shotgun_recoil_points(shots: int)

      • Generates recoil trajectory data for a shotgun based on the number of shots.
      • 산탄총 발사 횟수에 따른 반동 궤적 데이터를 생성합니다.
  • Recoil Visualizer (RVZ)

    • plot_recoil_pattern(data: Tuple[List[float], List[float]])

      • Visualizes input recoil coordinate data as a 2D scatter plot.
      • 입력된 반동 좌표 데이터를 2D 산점도로 시각화합니다.
  • MCP Endpoints

    • /wrg/* – easy HTTP access to generate recoil data.
    • /rvz/* – instant HTTP access to visualize recoil patterns.
  • Remote & Local Deployment

    • Deploy the same API to both local machines and cloud environments (e.g., Smithery) using FastMCP.
    • FastMCP를 사용하여 로컬 및 클라우드(예: Smithery) 환경에 동일한 API를 배포합니다.
  • API Key Authentication (Planned)

    • Upcoming support for API keys to control external access.
    • 외부 접근 제어를 위한 API Key 인증 기능을 곧 지원할 예정입니다.

Expected Benefits

  1. Productivity Boost

    • No need to implement complex recoil algorithms yourself.
    • 복잡한 반동 알고리즘을 직접 구현할 필요가 없습니다.
    • Accelerates data validation and prototyping with built-in visualization tools.
    • 내장된 시각화 도구로 데이터 검증 및 프로토타입 속도가 향상됩니다.
  2. Enhanced Collaboration & Reusability

    • Unified /wrg and /rvz interfaces make it easy for team members to share and reuse modules.
    • 통합된 /wrg 및 /rvz 인터페이스로 팀 간 모듈 공유 및 재사용이 용이합니다.
    • Works seamlessly across backend, frontend, AI engineers, and game developers.
    • 백엔드, 프론트엔드, AI 엔지니어, 게임 개발자 간 원활하게 연동됩니다.
  3. Flexible Deployment & Scaling

    • Test locally, then deploy to the cloud for on-demand scaling.
    • 로컬 테스트 후 클라우드에 배포하여 필요에 따라 손쉽게 확장할 수 있습니다.
    • Integrates with CI/CD pipelines for automated deployment and version management.
    • CI/CD 파이프라인과 연동하여 자동 배포 및 버전 관리가 가능합니다.
  4. Real-Time Feedback & Tuning

    • Instantly check recoil patterns via API calls during game balance adjustments.
    • 게임 밸런스 조정 시 API 호출로 즉시 반동 패턴을 확인할 수 있습니다.
    • Data-driven decision making improves play-test efficiency.
    • 데이터 기반 의사결정으로 플레이 테스트 효율성이 향상됩니다.

Debugging

  • Since this server communicates over HTTP, use verbose logging and the built-in reload flag. For deeper inspection, attach a debugger to the Uvicorn process or review the console error outputs.
  • 이 서버는 HTTP로 통신하므로, 자세한 로깅과 --reload 플래그를 사용하세요. 보다 심층적인 검사를 위해 Uvicorn 프로세스에 디버거를 연결하거나 콘솔 오류 출력을 확인하면 됩니다.

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选