Title: feat: add ping functionality to MCP server exchanges by tzolov · Pull Request #347 · modelcontextprotocol/java-sdk · GitHub
Open Graph Title: feat: add ping functionality to MCP server exchanges by tzolov · Pull Request #347 · modelcontextprotocol/java-sdk
X Title: feat: add ping functionality to MCP server exchanges by tzolov · Pull Request #347 · modelcontextprotocol/java-sdk
Description: Add ping() method to McpAsyncServerExchange that sends ping requests to clients Add ping() method to McpSyncServerExchange as synchronous wrapper Add OBJECT_TYPE_REF constant for ping response type handling Create McpSyncServerExchangeTests.java with full test coverage Add ping integration tests across WebFlux, WebMVC, and HttpServlet transports Follow up of #203 Types of changes 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 change) Documentation update Checklist I have read the MCP Documentation My code follows the repository's style guidelines New and existing tests pass locally I have added appropriate error handling I have added or updated documentation as needed Additional context
Open Graph Description: Add ping() method to McpAsyncServerExchange that sends ping requests to clients Add ping() method to McpSyncServerExchange as synchronous wrapper Add OBJECT_TYPE_REF constant for ping response type...
X Description: Add ping() method to McpAsyncServerExchange that sends ping requests to clients Add ping() method to McpSyncServerExchange as synchronous wrapper Add OBJECT_TYPE_REF constant for ping response type...
Opengraph URL: https://github.com/modelcontextprotocol/java-sdk/pull/347
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:927dfb79-b265-d911-675d-8eee0f92c494 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | CB0E:1F122E:5E50D65:82BABC9:6A5E7D32 |
| html-safe-nonce | 02e3d95863df19484ae13399ed0581d4c4ee2b662176bff63647c87037e1749d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQjBFOjFGMTIyRTo1RTUwRDY1OjgyQkFCQzk6NkE1RTdEMzIiLCJ2aXNpdG9yX2lkIjoiODM3NzM1NzY1MTY2MTYxMjAyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | b4b25b4b84af3454228bd2f18fc370d55a084a2e41e414dc0c4db153ab77545b |
| hovercard-subject-tag | pull_request:2625906814 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/modelcontextprotocol/java-sdk/pull/347/files |
| twitter:image | https://avatars.githubusercontent.com/u/1351573?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/1351573?s=400&v=4 |
| og:image:alt | Add ping() method to McpAsyncServerExchange that sends ping requests to clients Add ping() method to McpSyncServerExchange as synchronous wrapper Add OBJECT_TYPE_REF constant for ping response type... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 71950bbe6bf7e15662b868c102fed9d1682c29a05970d9b2daa2e4dd3522c52e |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/modelcontextprotocol/java-sdk git https://github.com/modelcontextprotocol/java-sdk.git |
| octolytics-dimension-user_id | 182288589 |
| octolytics-dimension-user_login | modelcontextprotocol |
| octolytics-dimension-repository_id | 919609219 |
| octolytics-dimension-repository_nwo | modelcontextprotocol/java-sdk |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 919609219 |
| octolytics-dimension-repository_network_root_nwo | modelcontextprotocol/java-sdk |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 7514606601325843bc1c464d2d8bf5fe9af2c154 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width