Weapon Recoil Generator Server
Generate detailed weapon recoil trajectory data for machine guns, pistols, and shotguns with simple API calls. Visualize recoil patterns instantly through 2D scatter plots accessible via browser or client. Boost development productivity and collaboration by integrating recoil modeling and visualization into your workflow with flexible local or cloud deployment.
Ask AI about Weapon Recoil Generator Server
Powered by Claude Β· Grounded in docs
I know everything about Weapon Recoil Generator Server. Ask me about installation, configuration, usage, or troubleshooting.
0/500
Reviews
Documentation
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: 
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
-
Productivity Boost
- No need to implement complex recoil algorithms yourself.
- 볡μ‘ν λ°λ μκ³ λ¦¬μ¦μ μ§μ ꡬνν νμκ° μμ΅λλ€.
- Accelerates data validation and prototyping with built-in visualization tools.
- λ΄μ₯λ μκ°ν λκ΅¬λ‘ λ°μ΄ν° κ²μ¦ λ° νλ‘ν νμ μλκ° ν₯μλ©λλ€.
-
Enhanced Collaboration & Reusability
- Unified
/wrgand/rvzinterfaces make it easy for team members to share and reuse modules. - ν΅ν©λ /wrg λ° /rvz μΈν°νμ΄μ€λ‘ ν κ° λͺ¨λ 곡μ λ° μ¬μ¬μ©μ΄ μ©μ΄ν©λλ€.
- Works seamlessly across backend, frontend, AI engineers, and game developers.
- λ°±μλ, νλ‘ νΈμλ, AI μμ§λμ΄, κ²μ κ°λ°μ κ° μννκ² μ°λλ©λλ€.
- Unified
-
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 νμ΄νλΌμΈκ³Ό μ°λνμ¬ μλ λ°°ν¬ λ° λ²μ κ΄λ¦¬κ° κ°λ₯ν©λλ€.
-
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 νλ‘μΈμ€μ λλ²κ±°λ₯Ό μ°κ²°νκ±°λ μ½μ μ€λ₯ μΆλ ₯μ νμΈνλ©΄ λ©λλ€.
