Commit graph

523 commits

Author SHA1 Message Date
Daniel Garnier-Moiroux
8a7002f2cd Release version 1.1.4 v1.1.4
Signed-off-by: Daniel Garnier-Moiroux <git@garnier.wf>
2026-08-19 15:41:18 +02:00
Daniel Garnier-Moiroux
2bb95bcd69 Bound HTTP client reads
Signed-off-by: Daniel Garnier-Moiroux <git@garnier.wf>
2026-08-19 15:32:04 +02:00
Daniel Garnier-Moiroux
9e4d5fa827 Bound HTTP server reads
Signed-off-by: Daniel Garnier-Moiroux <git@garnier.wf>
2026-08-19 15:32:02 +02:00
Daniel Garnier-Moiroux
43625c2d25 Run Publish Snapshot workflow on 1.1.x branch
Signed-off-by: Daniel Garnier-Moiroux <git@garnier.wf>
2026-05-21 16:54:59 +02:00
Daniel Garnier-Moiroux
2394e441e9 Next development version
Signed-off-by: Daniel Garnier-Moiroux <git@garnier.wf>
2026-05-21 16:50:52 +02:00
Daniel Garnier-Moiroux
f4c25f00f6 Release version 1.1.3 v1.1.3
Signed-off-by: Daniel Garnier-Moiroux <git@garnier.wf>
2026-05-21 16:49:34 +02:00
Daniel Garnier-Moiroux
45589adf61 Fix assertions in HttpClientSseClientTransportTests 2026-05-04 15:36:51 +02:00
Daniel Garnier-Moiroux
0be6032728 DefaultSseMessageEndpointValidator allows same-origin message endpoints
- Backport #945

Signed-off-by: Daniel Garnier-Moiroux <git@garnier.wf>
2026-05-04 15:22:31 +02:00
Daniel Garnier-Moiroux
f4c8371dc2 Validate message endpoint in SSE client transport
- Backport #943

Signed-off-by: Daniel Garnier-Moiroux <git@garnier.wf>
2026-04-30 17:57:53 +02:00
Christian Tzolov
34e9b8c118 Next development version
Signed-off-by: Christian Tzolov <christian.tzolov@broadcom.com>
2026-04-24 17:20:32 +03:00
Christian Tzolov
e9e1a2f34d Release version 1.1.2 v1.1.2
Signed-off-by: Christian Tzolov <christian.tzolov@broadcom.com>
2026-04-24 16:29:58 +03:00
Daniel Garnier-Moiroux
141063c99c Polish gh-906 2026-04-09 11:12:29 +02:00
smohite04
92bb47b67c feat: add support for meta parameter in client paginated list queries (#906)
* feat: add support for meta parameter in client paginated list queries#

- resources/list
- resources/templates/list
- prompts/list
- tools/list

paginated list operations extended in this review:
- listResources(String cursor, Map<String, Object> meta)
- listResourceTemplates(String cursor, Map<String, Object> meta)
- listPrompts(String cursor, Map<String, Object> meta)

Closes #907

Co-authored-by: SHEETAL MOHITE <mohishee@amazon.com>
Signed-off-by: Daniel Garnier-Moiroux <git@garnier.wf>
2026-04-09 11:12:29 +02:00
RameshReddy Adutla
9ead4d154e Fix UTF-8 encoding for non-ASCII tool names in HTTP client transports
Both HttpClientSseClientTransport and HttpClientStreamableHttpTransport
set Content-Type to 'application/json' without specifying the charset.
While Java's BodyPublishers.ofString() uses UTF-8 by default, the
missing charset in the header can cause the server to interpret the
request body using a different encoding (e.g., ISO-8859-1), corrupting
non-ASCII characters such as Chinese tool names.

Explicitly set Content-Type to 'application/json; charset=utf-8' in
POST requests on both client transports.

Fixes #260
Backport of #850

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Daniel Garnier-Moiroux <git@garnier.wf>
Signed-off-by: Daniel Garnier-Moiroux <git@garnier.wf>
2026-04-08 15:05:52 +02:00
Daniel Garnier-Moiroux
8e1c5d0cd4 HttpClientStreamableHttpTransport: handle HTTP 405
- Fixes #877

Signed-off-by: Daniel Garnier-Moiroux <git@garnier.wf>
2026-04-02 17:26:27 +02:00
300:29:1
7e4c179b77 Deprecate Builder.customizeRequest() in favor of httpRequestCustomizer() (#791)
Deprecate Builder.customizeRequest() in HttpClientSseClientTransport and HttpClientStreamableHttpTransport

customizeRequest() executes its consumer once at build time, freezing
headers into the shared requestBuilder. This silently breaks OAuth
token refresh scenarios where the Authorization header needs to be
updated after the transport is built.

Add @Deprecated and update Javadoc to clarify the build-time-only
semantics and guide users toward httpRequestCustomizer() or
asyncHttpRequestCustomizer() which run on every request.

Closes #788

Signed-off-by: Daniel Garnier-Moiroux <git@garnier.wf>
2026-04-02 11:39:17 +02:00
Daniel Garnier-Moiroux
3c27d8e3f8 Next development version
Signed-off-by: Daniel Garnier-Moiroux <git@garnier.wf>
2026-03-27 20:54:05 +01:00
Daniel Garnier-Moiroux
5968078106 Release version 1.1.1 v1.1.1
Signed-off-by: Daniel Garnier-Moiroux <git@garnier.wf>
2026-03-27 20:53:25 +01:00
Daniel Garnier-Moiroux
d69501fd28
Merge commit from fork 2026-03-27 18:19:49 +00:00
Christian Tzolov
c9b936835f Next development version
Signed-off-by: Christian Tzolov <christian.tzolov@broadcom.com>
2026-03-13 13:28:37 +01:00
Christian Tzolov
d4d8072693 Release version 1.1.0 v1.1.0
Signed-off-by: Christian Tzolov <christian.tzolov@broadcom.com>
2026-03-13 12:55:15 +01:00
Christian Tzolov
c4b585795e
fix: prepare POMs for Maven Central release readiness (#863)
- Fix malformed SCM developerConnection URL (slash → colon) across all modules
- Add mcp-json-jackson3 to mcp-bom dependency management
- Update license URL to HTTPS
- Fix POM's scm definitions

Signed-off-by: Christian Tzolov <christian.tzolov@broadcom.com>



Signed-off-by: Christian Tzolov <christian.tzolov@broadcom.com>

---------

Signed-off-by: Christian Tzolov <christian.tzolov@broadcom.com>
2026-03-13 12:41:49 +01:00
Daniel Garnier-Moiroux
abcd19c0c2
HttpClientStreamHttpTransport: add authorization error handler (#861)
HttpClientStreamHttpTransport: add authorization error handler

- Closes #240

Signed-off-by: Daniel Garnier-Moiroux <git@garnier.wf>
2026-03-13 10:12:57 +01:00
Dariusz Jędrzejczyk
6e4ce1c1a3
Fix elicitation and resource subscription tests that deadlock on a single CPU (#854)
Signed-off-by: Dariusz Jędrzejczyk <dariusz.jedrzejczyk@broadcom.com>
2026-03-05 09:53:37 +01:00
Christian Tzolov
26304a7a39
Document resource subscription support in server and client guides (#843)
Signed-off-by: Christian Tzolov <christian.tzolov@broadcom.com>
2026-03-03 10:45:04 +01:00
Dariusz Jędrzejczyk
ed02736c2c
Update dependabot PR labels
Signed-off-by: Dariusz Jędrzejczyk <dariusz.jedrzejczyk@broadcom.com>
2026-03-02 17:08:14 +01:00
조형준
05f37ad027
Use explicit UTF-8 charset in StdioServerTransportProvider (#826)
Also add a test simulating a different locale in an isolated process.

Resolves #295
2026-03-02 16:57:08 +01:00
Dariusz Jędrzejczyk
7f68ea5bc0
Support resource subscriptions (#839)
Clients can now subscribe to specific resources and receive targeted
notifications when those resources change. Previously, calling
`notifyResourceUpdated` on the server would broadcast the notification
to every connected client regardless of interest — now only sessions
that have explicitly subscribed to a given resource URI receive the
update, making resource change propagation both correct and efficient.
The subscription lifecycle is fully handled: clients can subscribe and
unsubscribe at any time, and the server cleans up subscription state
when a session closes.

Supersedes #838.
Resolves #837, #776.

---------

Signed-off-by: Dariusz Jędrzejczyk <dariusz.jedrzejczyk@broadcom.com>
2026-03-02 15:26:03 +01:00
Daniel Garnier-Moiroux
ce2c747c92 Bump spring-javaformat 0.0.43 -> 0.0.47
Signed-off-by: Daniel Garnier-Moiroux <git@garnier.wf>
2026-03-02 12:00:08 +01:00
Daniel Garnier-Moiroux
d4c4a2517f Fix instructions for running conformance tests
- The server-servlet app depends on mcp, which must be either installed
  or included in the compile artifact for `mvn exec:java` to pick it up.
- Change the build instructions to build from root, use a `-pl` flag to
  target the servlet app.
- Disable the exec plugin from the root pom.

Signed-off-by: Daniel Garnier-Moiroux <git@garnier.wf>
2026-03-02 11:56:39 +01:00
Daniel Garnier-Moiroux
81a18ed02e Client Auth Conformance Tests - change parent POM (#827)
- Small javaformat fixes
- Closes gh-827

Signed-off-by: Daniel Garnier-Moiroux <git@garnier.wf>
2026-03-02 11:33:09 +01:00
Dariusz Jędrzejczyk
46bacda3c3
Add migration notes for 0.18.1 to 1.0.0 update (#828)
Signed-off-by: Dariusz Jędrzejczyk <dariusz.jedrzejczyk@broadcom.com>
2026-02-23 14:21:04 +01:00
Dariusz Jędrzejczyk
863e748e5f
Use dynamic jar discovery for conformance tests (#832)
Signed-off-by: Dariusz Jędrzejczyk <dariusz.jedrzejczyk@broadcom.com>
2026-02-23 11:52:14 +01:00
Christian Tzolov
d689cddd8b Next development version
Signed-off-by: Christian Tzolov <christian.tzolov@broadcom.com>
2026-02-23 10:32:26 +01:00
Christian Tzolov
27c859cfc7 Update the quickstart bom versionto 1.0.0
Signed-off-by: Christian Tzolov <christian.tzolov@broadcom.com>
2026-02-22 17:12:40 +01:00
Christian Tzolov
29dc2509ce Excplude the conformance projects from maven deploy
Signed-off-by: Christian Tzolov <christian.tzolov@broadcom.com>
2026-02-20 22:31:01 +01:00
Christian Tzolov
7e08a8e63f Next development version
Signed-off-by: Christian Tzolov <christian.tzolov@broadcom.com>
2026-02-20 22:04:21 +01:00
Christian Tzolov
479e52e6d5 Release version 1.0.0-RC3
Signed-off-by: Christian Tzolov <christian.tzolov@broadcom.com>
2026-02-20 22:03:40 +01:00
Dariusz Jędrzejczyk
bdb373c4e3
Change StackOverflow link and tag for support (#824)
Updated contact link for community support to reflect new tag.

Resolves #553
2026-02-20 22:01:10 +01:00
Christian Tzolov
acb7e4d2a0 Next development version
Signed-off-by: Christian Tzolov <christian.tzolov@broadcom.com>
2026-02-20 21:41:35 +01:00
Christian Tzolov
11b597cd77 Release version 1.0.0-RC2
Signed-off-by: Christian Tzolov <christian.tzolov@broadcom.com>
2026-02-20 21:37:56 +01:00
Christian Tzolov
6b2b31c48f chore: exclude internal modules from Maven Central publishing
Signed-off-by: Christian Tzolov <christian.tzolov@broadcom.com>
2026-02-20 21:35:44 +01:00
Dariusz Jędrzejczyk
72f9da91a2
Add governance documentation for SEP-1730 (#808)
Add governance documentation required for SEP-1730 tier compliance:

- DEPENDENCY_POLICY.md: Conservative update policy for Maven dependencies
- VERSIONING.md: SemVer policy with breaking/non-breaking definitions
- ROADMAP.md: 2025-11-25 spec implementation focus and v1.x development
- .github/dependabot.yml: Monthly updates with frozen production dependencies

This mirrors the TypeScript SDK PR structure while being adapted for the Java context.

Signed-off-by: Dariusz Jędrzejczyk <dariusz.jedrzejczyk@broadcom.com>
2026-02-20 18:11:26 +01:00
Daniel Garnier-Moiroux
5b99cd600e
Conformance testing: add app to test auth suite (#806)
Signed-off-by: Daniel Garnier-Moiroux <git@garnier.wf>
2026-02-20 17:53:57 +01:00
Dariusz Jędrzejczyk
4c1c3d8d5c
Remove deprecated APIs and modules for 1.0.0 release (#807)
- Remove mcp-json-jackson module (JacksonMcpJsonMapper, DefaultJsonSchemaValidator)
- Remove deprecated session interfaces (McpServerSession, McpClientSession methods)
- Remove deprecated server methods (loggingNotification, McpAsyncServerExchange constructor)
- Remove deprecated schema definitions and constructors (McpSchema, McpError, tool/content classes)
- Replace generic McpError with appropriate exception types (IllegalStateException, IllegalArgumentException)
- Update all tests to use current APIs

---------

Signed-off-by: Dariusz Jędrzejczyk <dariusz.jedrzejczyk@broadcom.com>
2026-02-20 17:32:40 +01:00
Christian Tzolov
77bc64abb8
Move mcp-spring-webflux and mcp-spring-webmvc to Spring AI 2.0 (#805)
The Spring-specific transport modules (mcp-spring-webflux,
mcp-spring-webmvc) have been moved out of the MCP Java SDK into the
Spring AI project (org.springframework.ai group), effective with
MCP Java SDK 1.0 and Spring AI 2.0. This is a breaking change.

- Delete mcp-spring-webflux and mcp-spring-webmvc source modules
- Remove both artifacts from mcp-bom and root pom.xml module list
- Update docs and README
- Add blog post explaining the breaking change with before/after
  migration examples

Resolves: #127

Signed-off-by: Christian Tzolov <christian.tzolov@broadcom.com>
2026-02-20 15:39:36 +01:00
Christian Tzolov
86cde46e6d Fix code formatting
Signed-off-by: Christian Tzolov <christian.tzolov@broadcom.com>
2026-02-20 13:25:31 +01:00
Den Delimarsky
28596693e3 Update SECURITY.md to use GitHub Security Advisories 2026-02-20 11:27:32 +01:00
Christian Tzolov
90ad2be8f4 Make AbstractMcpAsyncClientResiliencyTests#host access public
Signed-off-by: Christian Tzolov <christian.tzolov@broadcom.com>
2026-02-20 08:42:58 +01:00
Scott Lewis
159eb964cc Fix and simplification for osgi manifest.mf
contents generation.
2026-02-18 17:18:11 +01:00