2026-06-21 17:58:20 +02:00
|
|
|
# semaphore-mcp
|
|
|
|
|
|
2026-06-21 18:23:29 +02:00
|
|
|
MCP server for SemaphoreUI Ansible automation.
|
2026-06-21 17:58:20 +02:00
|
|
|
|
2026-06-23 15:09:54 +02:00
|
|
|
Source: [`cloin/semaphore-mcp`](https://github.com/cloin/semaphore-mcp)
|
2026-06-21 17:58:20 +02:00
|
|
|
|
|
|
|
|
## Environment Variables
|
|
|
|
|
|
|
|
|
|
| Variable | Required | Description |
|
|
|
|
|
|----------|----------|-------------|
|
|
|
|
|
| `SEMAPHORE_URL` | Yes | Base URL of the SemaphoreUI instance (e.g. `https://semaphore.corentic.eu`) |
|
2026-06-23 15:09:54 +02:00
|
|
|
| `SEMAPHORE_API_TOKEN` | Yes | API token from SemaphoreUI user settings |
|
|
|
|
|
| `MCP_PORT` | No | Port for the MCP HTTP server (default: `8000`, overridden to `8103`) |
|
2026-06-21 17:58:20 +02:00
|
|
|
| `MCP_TRANSPORT` | No | Transport mode (`http` or `stdio`, default: `http`) |
|
|
|
|
|
| `MCP_HOST` | No | Bind address (default: `0.0.0.0`) |
|
|
|
|
|
|
|
|
|
|
## Usage
|
|
|
|
|
|
|
|
|
|
```bash
|
|
|
|
|
docker run -d \
|
|
|
|
|
--name semaphore-mcp \
|
|
|
|
|
-p 8103:8103 \
|
|
|
|
|
-e SEMAPHORE_URL=https://semaphore.corentic.eu \
|
2026-06-23 15:09:54 +02:00
|
|
|
-e SEMAPHORE_API_TOKEN=your_token \
|
2026-06-21 17:58:20 +02:00
|
|
|
forgejo.corentic.eu/corentic/mcp-fleet-semaphore:latest
|
|
|
|
|
```
|
|
|
|
|
|
2026-06-23 15:09:54 +02:00
|
|
|
This MCP uses native HTTP transport (no mcp-proxy). Connect via SSE at `http://host:8103/mcp`.
|
2026-06-21 17:58:20 +02:00
|
|
|
|
|
|
|
|
## Tools
|
|
|
|
|
|
2026-06-23 15:09:54 +02:00
|
|
|
Projects, templates, schedules, tasks, environments, inventory, repositories, access keys (98+ tools).
|