mcpField
J
JumpServer MCP Server

JumpServer MCP Server

Remote
github.com/jumpserverSecurity39Updated 77w ago
Repository

About JumpServer MCP Server

JumpServer MCP Server is an MCP server for the JumpServer bastion host, distributed as a Docker container with an SSE endpoint. It suits operators and security staff who want MCP clients to reach a JumpServer instance.

Key features

  1. 01Runs as a Docker container
  2. 02Configured through an .env file
  3. 03Bearer token authentication
  4. 04SSE endpoint for MCP clients

Use cases

  1. 01Connecting an MCP client to a JumpServer instance
  2. 02Querying JumpServer API information through an AI assistant

MCP support

This project is an MCP server that provides JumpServer capabilities to MCP clients over an SSE endpoint, with clients authenticating using a Bearer token.

Configuration

Remote servers need no local install. Pick your client, then copy the config or install in one click.

Endpointhttp://jms_mcp:8099/sse
Copy install command
Claude CodeTerminal
Cursor.cursor/mcp.json
VS Code.vscode/mcp.json
Claude Desktopclaude_desktop_config.json
Windsurf~/.codeium/windsurf/mcp_config.json

Run commands in a terminal; paste JSON into the client’s MCP config and restart. Servers that need sign-in will prompt on first connect.

All endpoints
Streamable HTTPhttp://jms_mcp:8099/sseAuth required

Tools

Details

From the project README

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/jumpserver/mcp: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/sse",
    "headers": {
        "Authorization": "Bearer xxxxxxxx"
    }
}

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.