-
Notifications
You must be signed in to change notification settings - Fork 197
Adds support for mcp server instructions #3430
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this 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 adds support for server instructions in the misk-mcp library by introducing an optional instructionsProvider parameter to the MiskMcpServer and McpServerModule classes. The feature prepares the codebase for providing server instructions once the underlying kotlin-sdk supports it.
Key changes:
- Added
instructionsProviderparameter toMiskMcpServerconstructor - Updated
McpServerModuleto accept and pass through the instructions provider - Modified API signatures to include the new optional parameter
Reviewed Changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| misk-mcp/src/main/kotlin/misk/mcp/MiskMcpServer.kt | Added instructionsProvider parameter with TODO comment for future SDK support |
| misk-mcp/src/main/kotlin/misk/mcp/McpServerModule.kt | Updated module constructor and factory methods to handle instructions provider |
| misk-mcp/api/misk-mcp.api | Updated API signatures to reflect new parameter additions |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
4833672 to
f86b44c
Compare
f86b44c to
61c13c3
Compare
adrw
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LG
…tric * origin/master: (22 commits) feat: add UrlMatcher to inspect if the Misk Application has a handler for a given URL (#3457) Fix edge-case issue with `RetryingTransacter` (#3456) Add http_response_header_size to WebConfig (#3453) add blpop to redis (#3441) fix post message request field name (#3450) Support getChatPermalink and threaded responses on slack api (#3447) misk-hibernate: use single connection in Vitess shard targeting and improve interface (#3409) [bug fix] Fix `del` operation in FakeRedis.kt (#3449) fix: Use TCCL to load classes (#3448) adds support for server instructions (#3430) misk-testing: create TestFixtureBindingValidator (#3440) fix: flaky ExclusiveTimingInterceptorTest (#3446) fix: some more flakiness in SubscriptionTest (#3445) Bump form-data in /misk-admin/web-actions/development-proxy (#3432) fix: flaky SqsJobQueueTest (#3438) Misk servlet embeddable to an external servlet containers (#3435) feat: reattempt in introducing configurable http/2 control frame limiter with observability (#3422) fix: flaky SubscriptionTest (#3437) Bump tar-fs from 2.1.1 to 2.1.4 (#3431) Bump sha.js from 2.4.11 to 2.4.12 in /misk-admin/web/tabs/database (#3434) ... # Conflicts: # misk-mcp/src/main/kotlin/misk/mcp/McpServerModule.kt # misk-mcp/src/main/kotlin/misk/mcp/MiskMcpServer.kt
Description
{public}Adds support for providing server instructions in the misk-mcp MiskMspServers.{/public}
NOTE: This is not currently supported by the kotlin-sdk, so it won't actually show up in the
InitializeResultyet. Its being added to misk-mcp so servers can begin implementing itRelated Work
Checklist