jumpserver-mcp-server

jumpserver-mcp-server

3.1

If you are the rightful owner of jumpserver-mcp-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

JumpServer MCP Server is a model context protocol server designed to integrate with JumpServer for secure and efficient management of server access and operations.

JumpServer MCP Server

Configure JumpServer Environment File (.env)

# Bearer token to access the JumpServer SWAGGER JSON API, optional
api_token=xxxxxxx 
jumpserver_url=http://jumpserverhost

Start Docker Container

docker run -d -it -p 8099:8099 --env-file .env --name jms_mcp ghcr.io/leeeirc/jumpserver-mcp-server:latest

Create JumpServer API Bearer Token for MCP Server


TOKEN=$(curl -s -X POST http://jumpserver_host/api/v1/authentication/auth/ \
  -H "Content-Type: application/json" \
  -d '{
    "username": "admin",
    "password": "xxxx"
  }' \
  --insecure | jq -r '.token')

echo "Your Bearer token: $TOKEN"

MCP Server Configuration

{
    "type": "sse",
    "url": "http://127.0.0.1:8099/mcp",
    "headers": {
        "Authorization": "Bearer xxxxxxxx"
    }
}