Skip to content

Commit d116cfc

Browse files
committed
Release v4.0.2 - OAuth 2.0, DCR, and Authless Authentication
## What's New ### Authentication Modes - **OAuth 2.0 with DCR**: Full OAuth 2.0 implementation with Dynamic Client Registration - Claude Desktop pre-registered as OAuth client - Automatic token refresh support - PKCE support for enhanced security - **Bearer Token**: JWT-based authentication (default) - **Authless Mode**: No authentication for development/testing ### Bug Fixes - Fixed API key length validation (49 chars instead of 50) - Added python-multipart dependency for OAuth form data ### Configuration - New `AUTH_MODE` setting: oauth, bearer, or none - New `OAUTH_ENABLE_DCR` setting for Dynamic Client Registration - OAuth discovery endpoint at /.well-known/oauth-authorization-server ### Endpoints - `/oauth/authorize` - Authorization endpoint - `/oauth/token` - Token exchange endpoint - `/oauth/register` - Dynamic client registration (when enabled) All 15 end-to-end tests pass.
1 parent 00b2657 commit d116cfc

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
ARG PYTHON_VERSION=3.13
77
ARG BUILD_DATE
8-
ARG VERSION=4.0.1
8+
ARG VERSION=4.0.2
99

1010
# Stage 1: Build dependencies
1111
FROM python:${PYTHON_VERSION}-alpine AS builder

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Wazuh MCP Remote Server v4.0.1
1+
# Wazuh MCP Remote Server v4.0.2
22

33

44
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)

compose.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ services:
1313
args:
1414
BUILD_DATE: ${BUILD_DATE}
1515
PYTHON_VERSION: ${PYTHON_VERSION:-3.13}
16-
VERSION: ${VERSION:-4.0.1}
16+
VERSION: ${VERSION:-4.0.2}
1717
target: production
1818

19-
image: wazuh-mcp-remote-server:${VERSION:-4.0.1}
19+
image: wazuh-mcp-remote-server:${VERSION:-4.0.2}
2020
container_name: wazuh-mcp-remote-server
2121
hostname: wazuh-mcp-remote-server
2222

src/wazuh_mcp_server/server.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ async def get_or_create_session(session_id: Optional[str], origin: Optional[str]
265265
app = FastAPI(
266266
title="Wazuh MCP Server",
267267
description="MCP-compliant remote server for Wazuh SIEM integration. Supports Streamable HTTP, SSE, OAuth, and authless modes.",
268-
version="4.0.1",
268+
version="4.0.2",
269269
docs_url="/docs",
270270
openapi_url="/openapi.json"
271271
)

0 commit comments

Comments
 (0)