cliffhall
747c0154c5
WIP: Subscribe to resources
...
* In App.tsx
- added subscribeToResource()
- takes a uri
- sends a `resources/subscribe` message with the uri
- added unsubscribeFromResource()
- takes a uri
- sends a `resources/unsubscribe` message with the uri
- in ResourcesTab element,
- pass subscribeToResource and subscribeToResource invokers to component
* In notificationTypes.ts
- add ServerNotificationSchema to NotificationSchema to permit server update messages.
* In ResourcesTab.tsx
- deconstruct subscribeToResource and unsubscribeFromResource and add prop types
- Add Subscribe and Unsubscribe buttons to selected resource panel, left of the refresh button. They call the sub and unsub functions that came in on props, passing the selected resource URI.
- [WIP]: Will show the appropriate button in a follow up commit.
* In useConnection.ts
- import ResourceUpdatedNotificationSchema
- in the connect function,
- set onNotification as the handler for ResourceUpdatedNotificationSchema
2025-03-08 11:05:13 -05:00
cliffhall
ca18faa7c3
Removing the all the hype from the ping button.
...
Discussion at:
https://github.com/orgs/modelcontextprotocol/discussions/186
2025-03-07 13:05:45 -05:00
Veljko Tornjanski
9c690e004b
Update useConnection.ts
2025-03-05 18:17:39 +01:00
Ola Hungerford
b9b116a5f2
Remove duplicate react-dialog from merge
2025-03-05 07:55:15 -07:00
Ola Hungerford
4efe7d7899
Merge branch 'main' into handle-empty-json-fields
2025-03-05 07:52:40 -07:00
Jerome
b116264f90
Bumped versions of sub packages
2025-03-05 12:55:55 +00:00
Jerome
7a56a7200c
Updated mcp sdk to 1.6.1
2025-03-05 11:52:16 +00:00
Jerome
1eba99c531
Merge branch 'main' into justin/sdk-auth
2025-03-05 11:43:20 +00:00
Ola Hungerford
00836dbf9e
Fix formatting
2025-03-04 20:55:57 -07:00
Ola Hungerford
f9b105c0ef
Use debounce instead
2025-03-04 20:54:13 -07:00
Ola Hungerford
06773bb6dd
Fix formatting
2025-02-28 09:13:33 -07:00
Ola Hungerford
b01e386659
Always use JSON mode if the schema type is object and has no properties
2025-02-28 09:06:51 -07:00
Ola Hungerford
e7f55f083f
Fix formatting
2025-02-28 07:34:01 -07:00
Ola Hungerford
36aa7316ea
Fix issue where array type defaults to object
2025-02-28 07:31:26 -07:00
Ola Hungerford
0e50b68f96
Fix formatting
2025-02-28 06:30:23 -07:00
Ola Hungerford
a1eb343b79
Remove unused function plus tests
2025-02-28 06:26:04 -07:00
Ola Hungerford
82bbe58a46
Fix formatting
2025-02-27 22:08:04 -07:00
Ola Hungerford
44982e6c97
Default to nulls and update tests
2025-02-27 21:33:37 -07:00
Ola Hungerford
6ec82e21b1
Remove some fluff
2025-02-27 07:48:19 -07:00
Ola Hungerford
d1f5b3b933
Fix formatting
2025-02-27 07:30:38 -07:00
Ola Hungerford
720480cbbb
Remove console.warn and extra comments to reduce code noise
2025-02-27 07:28:13 -07:00
Ola Hungerford
238c22830b
Fix formatting
2025-02-27 07:21:04 -07:00
Ola Hungerford
426fb87640
Remove comment ans trigger workflow run
2025-02-27 07:15:31 -07:00
Ola Hungerford
ede1ea0faa
Merge branch 'main' into handle-empty-json-fields
2025-02-27 06:42:17 -07:00
Ola Hungerford
0747479694
Handle edge case and add tests for functions
2025-02-27 06:40:01 -07:00
Justin Spahr-Summers
db1b5cbc45
Merge pull request #113 from gavinaboulhosn/feature/completions
...
Implement MCP Completion Support in Prompts and Resources Tabs
2025-02-27 11:51:47 +00:00
Ola Hungerford
0b105b29c1
Extract functions
2025-02-26 19:55:01 -07:00
Ola Hungerford
0e29e2c1cf
Resolve issues where JSON fields are not being rendered in form mode
2025-02-26 19:34:33 -07:00
Ola Hungerford
592dacad39
Start adding changes to address json fields
2025-02-26 09:50:47 -07:00
kshern
8267e514ce
fix: prettier write
2025-02-25 00:09:04 +08:00
kshern
18438dbdd0
feat: add error handling
2025-02-24 02:52:17 +08:00
kshern
07577fc94b
feat:toolsbar add array support
2025-02-24 02:36:52 +08:00
Jerome
88984c7bc7
Linting
2025-02-23 15:15:28 +00:00
Ola Hungerford
b4870b3da3
Merge branch 'main' into feature/completions
2025-02-21 08:43:32 -07:00
Jerome
19ee9fa86a
Merge remote-tracking branch 'origin/main' into justin/sdk-auth
2025-02-21 15:31:09 +00:00
Jerome
02479d3ea9
Updating imports
2025-02-21 15:03:14 +00:00
Jerome
c3ece186a4
Using urlencoded params for refresh/auth tokens
2025-02-21 14:51:47 +00:00
Jerome
4201b31a24
Fix OAuth callback route in production builds
...
Add SPA routing configuration to serve-handler to ensure /oauth/callback
routes are correctly handled in production builds.
2025-02-21 14:47:31 +00:00
Ola Hungerford
50638806cb
Merge branch 'main' into feature/completions
2025-02-21 06:19:41 -07:00
Justin Spahr-Summers
3893807841
Merge pull request #153 from funwarioisii/fix-tool-call-textarea
...
Fix ToolsTab Textarea value for clearing when switch tool
2025-02-19 15:08:42 +00:00
funwarioisii
f505ae3d5a
Fix ToolsTab Textarea value for clearing when switch tool
2025-02-19 23:55:24 +09:00
Ola Hungerford
89ee2b1b93
Merge branch 'main' into handle-boolean
2025-02-19 07:48:27 -07:00
Ola Hungerford
450405733a
Merge: Integrate boolean checkbox support with SchemaProperty type system
2025-02-19 07:38:23 -07:00
Ola Hungerford
44d07b964c
Fix styling
2025-02-15 05:05:29 -07:00
Ola Hungerford
f7312ab331
Add checkbox for Boolean input params
2025-02-15 04:33:08 -07:00
Ola Hungerford
133b785f79
Fix formatting
2025-02-14 07:33:37 -07:00
Ola Hungerford
b3194ac56e
Merge branch 'main' into tool-input-improvements
2025-02-14 07:20:45 -07:00
Gavin Aboulhosn
d9df5ff860
refactor(completions): restore debouncing and improve MCP error handling
2025-02-12 20:19:36 -05:00
Gavin Aboulhosn
5b451a7cfe
Merge branch 'modelcontextprotocol:main' into feature/completions
2025-02-12 19:10:06 -05:00
Gavin Aboulhosn
7f713fe40e
refactor(completions): improve completion handling and error states
...
- Move completion logic from App.tsx to useConnection hook
- Replace useCompletion with simpler useCompletionState hook
- Add graceful fallback for servers without completion support
- Improve error handling and state management
- Update PromptsTab and ResourcesTab to use new completion API
- Add type safety improvements across completion interfaces
2025-02-12 19:05:51 -05:00