Skip to content

Conversation

dsarlo-viso
Copy link
Collaborator

@dsarlo-viso dsarlo-viso commented Sep 9, 2025

Pull Request

Description

  • Upgraded spring boot to 3.5.5
  • Upgraded spotless plugin to 7.2.1
  • Upgraded spring AI to 1.1.0 snapshot to fix issues with the security context not propagating to child threads correctly
  • Added a spring security configuration and jwt parsing for remote mcp support
  • Added an additional configuration file to support remote MCP - new 'remote' spring profile
  • Added actuator health endpoint

Type of Change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update
  • Performance improvement
  • Code refactoring (no functional changes)
  • Test updates

How Has This Been Tested?

Tested using the MCP inspector using SSE and STDIO transport types against the different spring profiles/configurations.

- Upgraded spring boot to 3.5.5
- Upgraded spotless plugin to 7.2.1
- Upgraded spring AI to 1.1.0 snapshot to fix issues with the security context not propagating to child threads correctly
- Added a spring security configuration and jwt parsing for remote mcp support
- Added an additional configuration file to support remote MCP - new 'remote' spring profile
@dsarlo-viso dsarlo-viso added this to the 1.1.0 milestone Sep 9, 2025
@dsarlo-viso dsarlo-viso requested review from a team and Copilot September 9, 2025 15:19
@dsarlo-viso dsarlo-viso added the enhancement New feature or request label Sep 9, 2025
@visotrust-devops
Copy link

visotrust-devops commented Sep 9, 2025

🎉 Snyk checks have passed. No issues have been found so far.

security/snyk check is complete. No issues have been found. (View Details)

license/snyk check is complete. No issues have been found. (View Details)

Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR introduces remote MCP server support using Server-Sent Events (SSE) by upgrading dependencies and adding JWT-based authentication for remote connections.

  • Upgraded Spring Boot to 3.5.5 and Spring AI to 1.1.0 snapshot to fix security context propagation issues
  • Added JWT authentication support for remote MCP connections through new security configuration
  • Introduced a new 'remote' Spring profile with SSE-based communication configuration

Reviewed Changes

Copilot reviewed 6 out of 8 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
application-remote.properties Adds remote profile configuration with SSE settings and disabled stdio
ApiService.java Implements JWT token extraction from security context with fallback to static API token
JwtAuthenticationFilter.java Adds JWT authentication filter for extracting and validating Bearer tokens
SecurityConfig.java Configures Spring Security with JWT authentication and stateless session management
McpConfig.java Updates import statement for ToolCallbacks class
README.md Documents the new remote profile configuration and usage instructions

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@russellcsherman russellcsherman merged commit 9935d0e into main Sep 13, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants