Skip to content

Add support for a smoketest operation#59

Merged
aniket-s-kulkarni merged 2 commits into
dremio:mainfrom
aniket-s-kulkarni:smoketest
Sep 5, 2025
Merged

Add support for a smoketest operation#59
aniket-s-kulkarni merged 2 commits into
dremio:mainfrom
aniket-s-kulkarni:smoketest

Conversation

@aniket-s-kulkarni
Copy link
Copy Markdown
Contributor

Add support for a cli to test remote MCP server deployments

❯ uv run python tests/stremable_http_cli.py -h
 Usage: stremable_http_cli.py [OPTIONS] COMMAND [ARGS]...

 Run simple mcp client

╭─ Options ───────────────────────────────────────────────────────────────────────╮
│ --install-completion            Install completion for the current shell.       │
│ --show-completion               Show completion for the current shell, to copy  │
│                                 it or customize the installation.               │
│ --help                -h        Show this message and exit.                     │
╰─────────────────────────────────────────────────────────────────────────────────╯
╭─ Commands ──────────────────────────────────────────────────────────────────────╮
│ test   Run a quick smoketest for a deployed MCP server                          │
│ cli    MCP client session related sub commands                                  │
│ auth   Auth related sub commands                                                │
╰─────────────────────────────────────────────────────────────────────────────────╯

A quick test can be run as -

uv run python tests/stremable_http_cli.py test \
    --client-id {oauth client id} \
    --url {mcp server url}/mcp/{project_id}

This will check oauth, tools listing and run query tool.

@aniket-s-kulkarni aniket-s-kulkarni marked this pull request as ready for review September 4, 2025 01:20
@aniket-s-kulkarni aniket-s-kulkarni merged commit 8ae378d into dremio:main Sep 5, 2025
3 checks passed
aniket-s-kulkarni added a commit to aniket-s-kulkarni/dremio-mcp that referenced this pull request Sep 5, 2025
aniket-s-kulkarni added a commit that referenced this pull request Sep 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants