Skip to content

Commit e98512c

Browse files
authored
Merge branch 'main' into fix/server-discover-500
2 parents 7b232ec + c7fef64 commit e98512c

16 files changed

Lines changed: 1166 additions & 190 deletions

File tree

conformance-tests/client-jdk-http-client/pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
</scm>
2222

2323
<properties>
24+
<module.name>io.modelcontextprotocol.sdk.conformance.client.jdk</module.name>
2425
<maven.deploy.skip>true</maven.deploy.skip>
2526
</properties>
2627

conformance-tests/client-spring-http-client/pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
</scm>
2222

2323
<properties>
24+
<module.name>io.modelcontextprotocol.sdk.conformance.client.spring</module.name>
2425
<java.version>17</java.version>
2526
<spring-boot.version>4.1.0</spring-boot.version>
2627
<spring-ai.version>2.0.0</spring-ai.version>

conformance-tests/server-servlet/pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
</scm>
2222

2323
<properties>
24+
<module.name>io.modelcontextprotocol.sdk.conformance.server.servlet</module.name>
2425
<maven.deploy.skip>true</maven.deploy.skip>
2526
</properties>
2627

docs/server.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,10 @@ Key features:
164164

165165
- Efficient bidirectional HTTP communication
166166
- Session management for multiple client connections
167-
- Configurable keep-alive intervals
167+
- Keep-alive pings on sessions with an open stream, enabled by default every 30 minutes
168+
(`keepAliveInterval`, `null` to disable)
169+
- Eviction of idle sessions — no open stream and no request for a full interval — every
170+
30 minutes by default (`sessionSweepInterval`, `null` to keep sessions until deleted)
168171
- Security validation support
169172
- Graceful shutdown support
170173

mcp-core/pom.xml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@
2020
<developerConnection>scm:git:ssh://git@github.com/modelcontextprotocol/java-sdk.git</developerConnection>
2121
</scm>
2222

23+
<properties>
24+
<module.name>io.modelcontextprotocol.sdk.mcp.core</module.name>
25+
</properties>
26+
2327
<build>
2428
<plugins>
2529
<plugin>
@@ -37,7 +41,7 @@
3741
Bundle-Name: Bundle ${project.groupId} : ${project.artifactId}
3842
Bundle-SymbolicName: ${project.groupId}.${project.artifactId}
3943
Bundle-Version: ${project.version}
40-
Automatic-Module-Name: ${project.groupId}.${project.artifactId}
44+
Automatic-Module-Name: ${module.name}
4145
Import-Package: jakarta.*;resolution:=optional, \
4246
*;
4347
Service-Component: OSGI-INF/io.modelcontextprotocol.json.McpJsonDefaults.xml

0 commit comments

Comments
 (0)