Commit graph

1,685 commits

Author SHA1 Message Date
olaservo
fcaaffff51 Fix TypeScript error: replace 'any' with proper JsonSchemaType
- Import JsonSchemaType from utils/jsonUtils
- Cast tool.inputSchema to JsonSchemaType instead of any
- Matches typing pattern used elsewhere in codebase

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-24 07:13:37 -07:00
olaservo
2846e179a3 Fix formatting with Prettier
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-24 07:06:31 -07:00
olaservo
754c97956f Omit optional fields with empty strings from tool calls 2025-09-24 07:01:04 -07:00
Ola Hungerford
42aa95b343
Merge pull request #544 from richardkmichael/accurate-cli-version
fix: hard-coded CLI inspector version
2025-09-22 21:24:52 -07:00
Ola Hungerford
32ea112051
Merge branch 'main' into accurate-cli-version 2025-09-22 20:46:14 -07:00
Cliff Hall
92d1665b7c
Merge pull request #727 from cameronldroberts/tool-search
feat: Add search capability to the ListPane component to allow users to filter resources, prompts and tools
2025-09-22 16:34:45 -04:00
Cliff Hall
71aadf9652
Merge branch 'main' into tool-search 2025-09-22 16:23:04 -04:00
Cliff Hall
cf9acf607a
Merge pull request #810 from cliffhall/no-proxy-for-http-transports
Allow bypassing proxy with Connection Type dropdown
2025-09-20 19:29:48 -04:00
Cameron Roberts
d50aa6a238
Merge branch 'main' into tool-search 2025-09-19 23:11:16 +01:00
cliffhall
6b7c752684 * In Sidebar.tsx
- Add tooltip over the Connection Type field
2025-09-18 17:43:12 -04:00
Cliff Hall
05534ca430
Merge branch 'main' into no-proxy-for-http-transports 2025-09-18 16:36:37 -04:00
Cliff Hall
01caa53779
Merge pull request #808 from modelcontextprotocol/claude/issue-807-20250916-0337 0.16.8
chore: bump version to 0.16.8
2025-09-17 18:00:05 -04:00
Ola Hungerford
801f650faa
Merge branch 'main' into claude/issue-807-20250916-0337 2025-09-17 14:48:01 -07:00
Ola Hungerford
d2a715c9fb
Merge pull request #813 from cliffhall/fix-new-headers-issue
Polyfill Headers in proxy with node-fetch
2025-09-17 14:47:42 -07:00
cliffhall
f1e93e0475 * In server/index.ts
- in createCustomFetch function
    - convert finalHeaders to headers object for node-fetch compatibility
    - for SSE streams, convert node stream to response body to web ReadableStream since EventSource polyfill expects web-compatible stream

* In package-lock.json and package.json
  - add node-fetch as a dependency

This fixes #600
2025-09-17 14:45:58 -04:00
Cliff Hall
00a49736e7
Merge branch 'main' into tool-search 2025-09-17 13:42:39 -04:00
Ola Hungerford
88218785c2
Merge branch 'main' into claude/issue-807-20250916-0337 2025-09-16 17:56:30 -07:00
Ola Hungerford
81889e680d
Merge pull request #801 from modelcontextprotocol/basil/fix-oauth-redirect-uri-mismatch
Fix OAuth redirect URI mismatch in debug flow
2025-09-16 17:56:14 -07:00
Cliff Hall
e5c8a315d6
Merge branch 'main' into tool-search 2025-09-16 18:40:50 -04:00
cliffhall
5ef78470de * In App.tsx
- Add state for connectionType
  - Fetch connectionType from localstorage if present

* In Sidebar.tsx
  - Add dropdown for connectionType, only visible if transport type is not stdio

* In Sidebar.test.tsx
  - set connectionType to "proxy"

* In useConnection.ts
  - add connectionType param, defaulting to "proxy"
  - add state for mcpSessionId
  - Only check proxy health if the connection type is proxy
  - create a serverUrl variable which will either be the proxy url OR the server url depending upon the connection type
  - added captureResponseHeaders function to extract the protocol-related headers from a response.
  - when creating transport options and connectionType is "direct" and transportType is not "stdio",
    - add the appropriate `Accept` and `Content-Type` headers
    - capture the protocol related response headers and store them in the custom fetch handler
    - set serverUrl to be the server url, not the proxy url
  - if connection type is proxy set serverUrl to the mcpProxyUrl
  - use serverUrl instead of mcpProxyUrl for the  transport instantiation
* In useConnection.test.tsx
  - replaced test "sends X-MCP-Proxy-Auth header when proxy auth token is configured" with two tests:
    - "sends X-MCP-Proxy-Auth header when proxy auth token is configured for 'proxy' connectionType"
    - "does NOT send X-MCP-Proxy-Auth header when proxy auth token is configured for 'direct' connectionType"
   - added Connection URL Verification section with 2 tests
     - uses server URL directly when connectionType is 'direct'"
     - "uses proxy server URL when connectionType is 'proxy'"
2025-09-16 17:26:29 -04:00
claude[bot]
7b338b3ea3 chore: bump version to 0.16.8
Co-authored-by: Ola Hungerford <olaservo@users.noreply.github.com>
2025-09-16 03:39:40 +00:00
Ola Hungerford
19e12e2091
Merge pull request #806 from cliffhall/fix-stateless-http-connections
Fix stateless StreamableHttp connections
2025-09-15 20:35:08 -07:00
Ola Hungerford
e0071a9889
Merge branch 'main' into tool-search 2025-09-15 20:33:20 -07:00
cliffhall
51d28cd7b4 When the client sends a request, do not pass on the mcp-session-id header for the Client <-> Proxy connection. This causes a problem for stateless SSE or StreamableHttp connections. 2025-09-15 18:09:44 -04:00
Cliff Hall
4352d322f9
Merge pull request #751 from Jeetulsamaiya/main
Add support for custom headers and migrate from legacy auth
2025-09-15 14:24:09 -04:00
jeetul.samaiya
e08ce8cee9 feat: add default Authorization Bearer header and clean up legacy auth
- Provide "Authorization: Bearer " as default starting header
- Remove legacy auth props from components
- Centralize migration logic and fix localStorage cleanup
- Update tests for new auth architecture
2025-09-15 20:19:56 +05:30
Jeetul Samaiya
f36c649bb9
Merge branch 'main' into main 2025-09-15 19:30:18 +05:30
Ola Hungerford
0850de74d9
Merge branch 'main' into tool-search 2025-09-15 06:35:28 -07:00
Ola Hungerford
758d6f7913
Merge pull request #662 from alex210501/alejandro.borbolla/copy-input
feat: Copy the tool input parameters
2025-09-15 06:33:51 -07:00
Ola Hungerford
3075cbbf18
Merge branch 'main' into alejandro.borbolla/copy-input 2025-09-14 21:27:07 -07:00
Cameron Roberts
36c38e7b47
Update ListPane.tsx 2025-09-14 00:29:54 +01:00
Cameron Roberts
2e683f3322
Merge branch 'main' into tool-search 2025-09-13 11:47:24 +01:00
Cameron Roberts
49cc98e6b1 Merge branch 'main' into tool-search 2025-09-13 11:46:46 +01:00
Cameron Roberts
79fe56237a feat: first pass at stlying fix and searching on name/description 2025-09-13 11:34:13 +01:00
Basil Hosmer
70ddef28f2
Fix OAuth redirect URI mismatch in debug flow
Register both normal and debug redirect URIs in client metadata to prevent mismatch errors when using the Auth tab's debug mode versus normal connection flow.
2025-09-12 22:23:32 -04:00
Cliff Hall
2352993106
Merge pull request #799 from modelcontextprotocol/claude/issue-792-20250912-1429 0.16.7
chore: bump version to 0.16.7
2025-09-12 10:56:13 -04:00
claude[bot]
1c5f5e4839 chore: bump version to 0.16.7
Co-authored-by: Ola Hungerford <olaservo@users.noreply.github.com>
2025-09-12 14:30:54 +00:00
Ola Hungerford
cbdc50415c
Merge pull request #798 from cliffhall/bump-ts-sdk-to-1.18.0
Bump TS SDK to 1.18.0
2025-09-12 07:24:11 -07:00
cliffhall
ca26a4f7a9 Bumped TS SDK in all the packages to ^1.18.0 2025-09-11 16:41:03 -04:00
Jeetul Samaiya
743bb52d92
Merge branch 'main' into main 2025-09-11 12:12:33 +05:30
David Soria Parra
f1c78fdde7
fix prettier 2025-09-10 20:40:49 +01:00
jeetul.samaiya
90ab419d12 fix: enhance error handling for custom headers and improve test coverage for header management 2025-09-10 21:01:24 +05:30
Ola Hungerford
2f2dd4c083
Merge pull request #789 from wei/fix-copy-toast
fix: toast message when copying server entry for a Streamable HTTP transport URL
2025-09-10 08:20:24 -07:00
jeetul.samaiya
fde55efc2f fix: standardize formatting in bug report issue template 2025-09-10 18:50:15 +05:30
jeetul.samaiya
6f727b6662 fix: update error handling in JSON parsing and add ESLint rule for unused variables 2025-09-09 13:44:57 +05:30
jeetul.samaiya
cb8c45456b refactor: improve code formatting and readability across multiple files 2025-09-09 13:44:57 +05:30
jeetul.samaiya
c5acc63129 Add support for custom headers and migrate from legacy auth
- Introduced CustomHeaders component for managing custom headers.
- Updated Sidebar to include CustomHeaders component.
- Enhanced useConnection hook to handle custom headers and legacy auth migration.
- Added tests for custom headers functionality.
- Updated package.json and package-lock.json for new dependencies.
2025-09-09 13:44:57 +05:30
David Soria Parra
b476ece67e
Update issue templates 2025-09-08 11:50:36 +01:00
Ola Hungerford
9e4bbab776
Merge pull request #787 from cliffhall/dynamic-headers
Implement dynamic header injection for proxy transports.
2025-09-07 22:03:34 -07:00
Wei He
1207834b7e
docs: add streamable transport examples 2025-09-07 00:27:56 -04:00