Skip to content

Commit 138455a

Browse files
committed
Add vtk-mcp-client CLI and comprehensive tool tests
- src/vtk_mcp/client.py: new HTTP client covering all 24 MCP tools as Click subcommands (info, search, doc, synopsis, role, inheritance, methods, semantic-methods, method, module, module-classes, metadata, version, search-docs, search-examples, validate, validate-import, list-tools); --json flag for raw output on every command - pyproject.toml: register vtk-mcp-client entry point - tests/test_tools.py: 41 unit tests covering all docs/search/validation tool functions via an in-memory VTKAPIIndex; retriever tests use a MagicMock so vtk_index is not required
1 parent 6ddedb1 commit 138455a

3 files changed

Lines changed: 792 additions & 0 deletions

File tree

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ dependencies = [
3636

3737
[project.scripts]
3838
vtk-mcp = "vtk_mcp.__main__:main"
39+
vtk-mcp-client = "vtk_mcp.client:main"
3940

4041
[project.optional-dependencies]
4142
retrieval = [

0 commit comments

Comments
 (0)