Commit 138455a
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 required1 parent 6ddedb1 commit 138455a
3 files changed
Lines changed: 792 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| 39 | + | |
39 | 40 | | |
40 | 41 | | |
41 | 42 | | |
| |||
0 commit comments