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
- 01Runs as a Docker container
- 02Configured through an .env file
- 03Bearer token authentication
- 04SSE endpoint for MCP clients
Use cases
- 01Connecting an MCP client to a JumpServer instance
- 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.
http://jms_mcp:8099/sseclaude mcp add --transport http jumpserver http://jms_mcp:8099/sse{"mcpServers":{"jumpserver":{"type":"http","url":"http://jms_mcp:8099/sse"}}}Open in Cursor{"servers":{"jumpserver":{"type":"http","url":"http://jms_mcp:8099/sse"}}}Open in VS Code{"mcpServers":{"jumpserver":{"type":"http","url":"http://jms_mcp:8099/sse"}}}{"mcpServers":{"jumpserver":{"serverUrl":"http://jms_mcp:8099/sse"}}}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.
http://jms_mcp:8099/sseAuth requiredTools
Details
From the project READMEJumpServer 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
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.