Commit graph

1,464 commits

Author SHA1 Message Date
François Leblanc
ff2d932904 Add await to runCli call 2025-07-14 23:27:58 -04:00
François Leblanc
616ef0d04c Use the node version in root package.json 2025-07-14 23:22:47 -04:00
François Leblanc
b6a4aa40cb Install more, but stay put 2025-07-14 23:21:15 -04:00
François Leblanc
c1ab2a52d2 Stay in cli/ but ignore scripts? 2025-07-14 23:19:05 -04:00
François Leblanc
f10b76b0ae Run commands from root dir instead 2025-07-14 23:17:06 -04:00
François Leblanc
9adcc0dd77 Add logging for pwd 2025-07-14 23:10:56 -04:00
François Leblanc
718e61d492 Use simpler install method? 2025-07-14 22:36:00 -04:00
François Leblanc
ace91a81ad Use Node version defined in cli/package.json 2025-07-14 22:25:47 -04:00
François Leblanc
ea6177b552 Run in both pull requests and push events 2025-07-14 22:11:37 -04:00
François Leblanc
f49f97f585 Run prettier 2025-07-14 22:07:12 -04:00
Ola Hungerford
6d4a6644a1
Merge pull request #595 from leblancfg/cli-remote-no-required-endpoint
[cli] Don't force specific endpoints for remote servers
2025-07-14 19:03:50 -07:00
Ola Hungerford
824d5e1ec2
Merge branch 'main' into cli-remote-no-required-endpoint 2025-07-14 18:51:14 -07:00
François Leblanc
29462172f2
Merge branch 'main' into ci-test-cli 2025-07-14 14:34:17 -04:00
François Leblanc
1842063ce7 Remove unused import
This commit is mostly so that we can see whether the CI triggers a check
of the CLI tests when files are touched within the CLI folder.
2025-07-14 14:33:08 -04:00
François Leblanc
b3cb844730 Run the CLI tests in CI
Right now, the inspector has a CLI feature as well as a series of tests.
However, they're not currently run in CI. For the moment, they are only
triggered on file changes in the CLI folder, as AFAICT it is currently a
separate code base.
2025-07-14 14:33:08 -04:00
François Leblanc
714192486b Fix a failing test 2025-07-14 13:45:50 -04:00
oleina
7ce0938e27 run linter 2025-07-14 08:01:10 -07:00
oleina
d810680b93 use default logging level from useState 2025-07-14 07:58:58 -07:00
Konstantin Konstantinov
0f7546ee15
Merge branch 'main' into bugfix/authorization-url-generate-state 2025-07-14 16:15:11 +03:00
Xiao Yijun
91aacba85d
Merge branch 'main' into feat-support-enter-oauth-client-information-manually 2025-07-14 17:24:38 +08:00
Xiao Yijun
9e8042949d
refactor: update label for redirect URL 2025-07-14 17:23:02 +08:00
Eric Horacek
444c6b5704 Fix lint 2025-07-13 18:25:53 -07:00
Ola Hungerford
80aa0c68da
Merge pull request #597 from LazaUK/patch-1
Docs update: Missing mandatory parameter in the Inspector's CLI command
2025-07-13 16:19:52 -07:00
Eric Horacek
5dd661513b feat: Add _meta field support to tool UI
Shows [_meta](https://modelcontextprotocol.io/specification/2025-06-18/basic/index#meta) fields if present when listing and calling tools
2025-07-13 14:33:39 -07:00
Konstantin Konstantinov
4ef85f744c
generate random state parameter in oauth state machine 2025-07-13 08:44:57 +03:00
Konstantin Konstantinov
1c8bf36ea2
generate random state parameter in oauth state machine 2025-07-13 08:42:46 +03:00
Dennis Geurts
e2de80fd84 feat: Removes prompt argument from completion state
This commit removes the prompt argument from the completion state.
The argument is deleted from the context after the completion is handled.
This prevents unexpected behavior and ensures a cleaner state.
2025-07-12 12:45:02 +02:00
Dennis Geurts
de474e5411 feat: Add context argument to completion handlers
This commit adds a `context` argument to the completion handlers in `PromptsTab`, `ResourcesTab`, `useCompletionState`, and `useConnection`.

The context argument allows passing additional information to the completion engine, which can be used to improve the quality of the completions.  The context is passed as a dictionary of key-value pairs.

The `ResourcesTab` component was also updated to pass `templateValues` as the `context` to the completion handler.

The `useConnection` hook was updated to include the context in the completion request sent to the server.
2025-07-12 12:42:21 +02:00
Ola Hungerford
56ef795d86
Merge pull request #441 from fredericbarthelet/completion-support-default
Set completion support to false by default
2025-07-11 20:32:22 -07:00
Ola Hungerford
430d6d4712
Merge branch 'main' into completion-support-default 2025-07-11 20:23:17 -07:00
oleina
f4d9bf6d5e initalize logging for cli mode 2025-07-11 17:34:14 -07:00
Cliff Hall
5028496d6b
Merge pull request #517 from kentcdodds/patch-1
make auth token configurable via env var
2025-07-11 17:05:25 -04:00
Cliff Hall
5c15e50caa
Merge branch 'main' into patch-1 2025-07-11 14:58:06 -04:00
oleina
925d11a91d initalize logging for UI 2025-07-11 11:44:39 -07:00
bhosmer-ant
3acc6d891c
Merge pull request #602 from kentcdodds/cursor/fix-pull-request-interpretation-and-tests-7a8f
fix: interpretation of unstructured content and tests
2025-07-11 11:31:23 -04:00
Cliff Hall
a7539d05e3
Merge pull request #564 from nandsha/feat/add-resource-link-support
feat: Add resource_link content type support to ToolResults component
2025-07-10 17:54:23 -04:00
Cliff Hall
a27d714cf0
Merge pull request #605 from cliffhall/bump-version.0.16.1 0.16.1
Bump version to 0.16.1
2025-07-10 16:18:01 -04:00
cliffhall
acd166263e Bump version to 0.16.1 2025-07-10 16:08:47 -04:00
Cliff Hall
42a1bac6ed
Merge pull request #604 from cliffhall/fix-startup
fix startup of webclient through cli
2025-07-10 15:42:55 -04:00
cliffhall
0eebd01ebe Remove environment-related startup vars. Those will be captured by start.js 2025-07-10 15:17:54 -04:00
cliffhall
6a66ca5b23 fix startup of webclient through cli 2025-07-10 13:51:15 -04:00
Cursor Agent
1756b010d8 Improve content compatibility messages for structured content matching
Co-authored-by: me <me@kentcdodds.com>
2025-07-10 14:22:31 +00:00
Cursor Agent
78fd8949df Refactor content compatibility check and simplify test cases
Co-authored-by: me <me@kentcdodds.com>
2025-07-10 13:22:38 +00:00
Cursor Agent
cbb3ebcd1a Enhance content compatibility checks for tool results with multiple blocks
Co-authored-by: me <me@kentcdodds.com>
2025-07-10 12:45:47 +00:00
Inna Harper
38bead3b17
Merge pull request #593 from modelcontextprotocol/add-claude-github-actions-1752061634011
Add Claude Code GitHub Workflow
2025-07-10 11:53:42 +01:00
ihrpr
7667e56ce3
CI fix 2025-07-10 11:40:50 +01:00
Olivier Chafik
b2347dbb0e
add npm run dev:sdk to get live sdk changes w/ simple server (#533)
* add `npm run dev:sdk` to get live sdk changes w/ simple server
2025-07-10 11:26:17 +01:00
Laziz Turakulov
7d888fcfa3
Missing mandatory parameter in the Inspector's CLI command
Attempts to execute this command will fail: npx @modelcontextprotocol/inspector --cli http://127.0.0.1:8000 --transport http. The error indicates that --method is a mandatory parameter: "Method is required. Use --method to specify the method to invoke. Failed with exit code: 1". That's why the right command may look like this: npx @modelcontextprotocol/inspector --cli http://127.0.0.1:8000 --transport http --method tools/list.
2025-07-10 00:05:21 +01:00
Cliff Hall
7a069b4cbf
Merge branch 'main' into feat-support-enter-oauth-client-information-manually 2025-07-09 17:37:19 -04:00
François Leblanc
7c2b761748 [cli] Don't force specific endpoints for remote servers
At the moment, the CLI tool expects that remote MCP servers, either
using SSE or streamable HTTP transport, have certain endpoints or
fragments -- `/sse` and `/mcp`, respectively. This is not part of the
MCP spec, nor should it be expected.

I also added a check to make sure a URL is provided if STDIO isn't
picked, erroring out if not.
2025-07-09 11:51:41 -04:00