Turret
FreeNot checkedThis project is an MCP (Model Context Protocol) server that controls a turret using serial communication.
About
This project is an MCP (Model Context Protocol) server that controls a turret using serial communication.
README
Description
This project is an MCP (Model Context Protocol) server that controls a turret using serial communication. It exposes tools to:

- Fire the turret
- Set the turret's position (pan and tilt)
- Get the current number of bullets
Usage
This server exposes tools that can be accessed via an MCP client.
Tools
- fire: Fires the turret.
- set_turret_position: Sets the turret's position. Requires
xandycoordinates (0-180). - get_bullets: Gets the current number of bullets.
- echo: Repeat what you say.
Installation
- Make sure you have Rust installed. If not, install it from https://www.rust-lang.org/.
- Clone the repository.
- Navigate to the project directory.
- Run
cargo build -rto build the project. - MCP Agent Plugin node require settings.json like this to command or URL to connect MCP servers
{
"mcpServers": {
"turret-mcp-server": {
"command": "/path/to/turret_mcp_server/target/release/turret_mcp_server",
"alwaysAllow": [
"set_turret_position",
"get_bullets",
"fire"
]
}
}
}
- Connect the turret to USB
How to use
In chat context you can simple write:
turn the turret left, then right and shoot
Serial Port Configuration
The server uses the /dev/ttyUSB0 serial port by default. You may need to modify the turret_mcp_server.rs file to use the correct serial port for your system.
Dependencies
The project uses the following dependencies:
anyhowrmcpserialportserde_jsontracing_subscriber
These dependencies are managed by Cargo, the Rust package manager.
Docker
You can also build and run this project using Docker.
Building the Docker Image
To build the Docker image, run the following command in the project directory:
docker build -t turret-mcp-server .
Running the Docker Container
To run the Docker container, you need to pass the serial port device from the host to the container. You can do this using the --device flag.
docker run -it -p 8080:8080 --device=/dev/ttyUSB0 turret-mcp-server
The SSE MCP configuration (settings.json) for Docker looks like this:
{
"mcpServers": {
"turret-mcp-server": {
"url": "http://127.0.0.1:8080/sse"
}
}
}
Note: Make sure to replace /dev/ttyUSB0 with the correct serial port for your system.
Installing Turret
This server has no published package — it is built from source. Open the repository and follow its README.
▸ github.com/gofmanaa/turret_mcp_serverFAQ
Is Turret MCP free?
Yes, Turret MCP is free — one-click install via Unyly at no cost.
Does Turret need an API key?
No, Turret runs without API keys or environment variables.
Is Turret hosted or self-hosted?
Self-hosted: the server runs locally on your machine via the install command above.
How do I install Turret in Claude Desktop, Claude Code or Cursor?
Open Turret on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Related MCPs
GitHub
PRs, issues, code search, CI status
by GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Template MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
by mcpdotdirectCompare Turret with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All development MCPs
