Skip to content

Commit 25a4cd7

Browse files
committed
Example: Make examples/mcptools.sh use the current version
Otherwise, validating the example gives a skewed impression of the outcome, because validation happens against the _previous_ release instead of the current working tree.
1 parent 0af9b21 commit 25a4cd7

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

examples/mcptools.sh

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,17 +24,17 @@ fi
2424
alias mcpt=mcptools
2525

2626
# Display available MCP tools.
27-
mcpt tools uvx cratedb-mcp serve
27+
mcpt tools cratedb-mcp serve
2828

2929
# Explore the Text-to-SQL tools.
30-
mcpt call query_sql --params '{"query":"SELECT * FROM sys.summits LIMIT 3"}' uvx cratedb-mcp serve
31-
mcpt call get_table_metadata uvx cratedb-mcp serve
32-
mcpt call get_cluster_health uvx cratedb-mcp serve
30+
mcpt call query_sql --params '{"query":"SELECT * FROM sys.summits LIMIT 3"}' cratedb-mcp serve
31+
mcpt call get_table_metadata cratedb-mcp serve
32+
mcpt call get_cluster_health cratedb-mcp serve
3333

3434
# Exercise the documentation server tools.
35-
mcpt call get_cratedb_documentation_index uvx cratedb-mcp serve
35+
mcpt call get_cratedb_documentation_index cratedb-mcp serve
3636
mcpt call \
3737
fetch_cratedb_docs --params '{"link":"https://cratedb.com/docs/cloud/en/latest/_sources/cluster/integrations/mongo-cdc.md.txt"}' \
38-
uvx cratedb-mcp serve
38+
cratedb-mcp serve
3939

4040
echo "Ready."

0 commit comments

Comments
 (0)