
cloin/semaphore-mcp
Developer tools이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
cloin/semaphore-mcp는 https://github.com/cloin/semaphore-mcp.]에서 수입된 MCP 서버 후보입니다
개요
cloin/semaphore-mcp는 https://github.com/cloin/semaphore-mcp.]에서 수입된 MCP 서버 후보입니다
개요(AI 번역)
SemaphoreUI에 AI 조수를 연결하는 모델 Context Protocol (MCP) 서버 - Ansible Automation의 자연 언어 제어를 가능하게합니다.
빠른 시작
# 필수품
- 도커 (또는 포드만)
- API 토큰으로 SemaphoreUI 인스턴스 실행
- Claude Desktop 또는 Claude Code (또는 다른 MCP 클라이언트)
- Node.js (클래드 데스크톱 전용 -
mcp-remote)
##1. SemaphoreUI API 토큰 받기
- SemaphoreUI 인스턴스에 로그인
- 사용자 설정으로 이동
- 새로운 API 토큰 생성
##2. MCP 서버 실행
참고:
SEMAPHORE_URL는 MCP 서버가 SemaphoreUI에 연결되는 곳이다.MCP_PORT]는 MCP 서버가 클라이언트 연결 (Claude Desktop/Code)을 듣는 곳이다. 아래의 클라이언트 설정에서 이 포트를 사용하십시오.
# # # 3a. Claude 데스크탑 구성
Claude Desktop은 HTTP 기반 MCP 서버에 연결하는 mcp-remote 프록시가 필요합니다. Node.js를 설치해야 합니다. (npx]는 npm로 제공됩니다.
config 파일을 수정:
- ** 마이크 **:
~/Library/Application Support/Claude/claude_desktop_config.json - 윈도우:
%APPDATA%\Claude\claude_desktop_config.json - **리눅스 **:
~/.config/claude-desktop/claude_desktop_config.json
3b. Claude 코드 구성
이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.
README
원문 README의 일부입니다. 원문 보기.
SemaphoreUI MCP Server
A Model Context Protocol (MCP) server that connects AI assistants to SemaphoreUI - enabling natural language control of Ansible automation.
Quick Start
Prerequisites
- Docker (or Podman)
- A running SemaphoreUI instance with an API token
- Claude Desktop or Claude Code (or another MCP client)
- Node.js (for Claude Desktop only - required for
mcp-remote)
1. Get a SemaphoreUI API Token
- Login to your SemaphoreUI instance
- Go to User Settings
- Generate a new API token
2. Run the MCP Server
docker run -d --name semaphore-mcp \
--network host \
-e SEMAPHORE_URL=http://localhost:3000 \
-e SEMAPHORE_API_TOKEN=your-token-here \
-e MCP_PORT=8500 \
ghcr.io/cloin/semaphore-mcp:latest
Note:
SEMAPHORE_URLis where the MCP server connects to SemaphoreUI.MCP_PORTis where the MCP server listens for client connections (Claude Desktop/Code). Use this port in your client configuration below.
3a. Configure Claude Desktop
Claude Desktop requires the mcp-remote proxy to connect to HTTP-based MCP servers. This requires Node.js to be installed (npx comes with npm).
Edit your config file:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json - Linux:
~/.config/claude-desktop/claude_desktop_config.json
{
"mcpServers": {
"semaphore": {
"command": "npx",
"args": ["mcp-remote", "http://127.0.0.1:8500/mcp"]
}
}
}
3b. Configure Claude Code
Claude Code supports remote MCP servers directly:
claude mcp add --transport http semaphore http://127.0.0.1:8500/mcp
Verify it’s configured:
claude mcp list
4. Test It
Restart Claude Desktop and try:
“List all projects in SemaphoreUI”
Docker Networking
The MCP server container needs to reach your SemaphoreUI instance.
SemaphoreUI on the same host:
Use --network host so the container can access localhost:
docker run -d --name semaphore-mcp \
--network host \
-e SEMAPHORE_URL=http://localhost:3000 \
-e SEMAPHORE_API_TOKEN=your-token \
-e MCP_PORT=8500 \
ghcr.io/cloin/semaphore-mcp:latest
SemaphoreUI on a different host:
Use the IP or hostname directly (no --network host needed):
docker run -d --name semaphore-mcp \
-e SEMAPHORE_URL=http://192.168.1.100:3000 \
-e SEMAPHORE_API_TOKEN=your-token \
-p 8500:8000 \
ghcr.io/cloin/semaphore-mcp:latest
For more details, see Docker’s networking documentation.
Configuration
| Variable | Required | Default | Description |
|---|---|---|---|
SEMAPHORE_URL |
Yes | - | URL to your SemaphoreUI instance |
설치
npx mcp-remote http://127.0.0.1:8500/mcp설정
{
"mcpServers": {
"semaphore": {
"command": "npx",
"args": ["mcp-remote", "http://127.0.0.1:8500/mcp"]
}
}
}