Jumpserver MCP Server

Jumpserver MCP Server

By jumpserver GitHub

mcp-jumpserver is the Model Context Protocol (MCP) server implementation for JumpServer.

pam jumpserver
Overview

what is Jumpserver MCP Server?

Jumpserver MCP Server is an implementation of the Model Context Protocol (MCP) designed for managing and securing access to JumpServer environments.

how to use Jumpserver MCP Server?

To use the Jumpserver MCP Server, configure the environment file with the necessary API token and JumpServer URL, then start the Docker container using the provided command. After that, create a Bearer token for authentication to access the MCP server.

key features of Jumpserver MCP Server?

  • Implements Model Context Protocol for secure access management
  • Easy configuration through environment files
  • Docker container support for easy deployment

use cases of Jumpserver MCP Server?

  1. Managing secure access to JumpServer environments.
  2. Integrating with other services using the MCP protocol.
  3. Automating server management tasks through API calls.

FAQ from Jumpserver MCP Server?

  • What is the purpose of the MCP Server?

The MCP Server is designed to facilitate secure access management and integration with JumpServer environments.

  • How do I deploy the MCP Server?

You can deploy the MCP Server using Docker by following the provided configuration steps.

  • Is there an API for the MCP Server?

Yes, the MCP Server provides a RESTful API for integration and management.

Content

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/mcp",
    "headers": {
        "Authorization": "Bearer xxxxxxxx"
    }
}
No tools information available.
No content found.