You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "adityamparikh (via GitHub)" <gi...@apache.org> on 2026/02/04 01:39:49 UTC
[PR] fix: standardize MCP tool names to kebab-case [solr-mcp]
adityamparikh opened a new pull request, #43:
URL: https://github.com/apache/solr-mcp/pull/43
## Summary
- Standardize all `@McpTool` `name` attributes to use kebab-case for consistency across the project
- Add explicit `name` attributes to tools that were relying on the Java method name default (camelCase)
- Lowercase the `Search` tool name to `search`
| Tool | Before | After |
|------|--------|-------|
| search | `Search` | `search` |
| list collections | `listCollections` (default) | `list-collections` |
| get collection stats | `getCollectionStats` (default) | `get-collection-stats` |
| check health | `checkHealth` (default) | `check-health` |
| get schema | `getSchema` (default) | `get-schema` |
| index JSON | `index_json_documents` | `index-json-documents` |
| index CSV | `index_csv_documents` | `index-csv-documents` |
| index XML | `index_xml_documents` | `index-xml-documents` |
## Test plan
- [x] `./gradlew build` passes with all tests green
- [x] Updated `McpToolRegistrationTest` to assert new names
- [x] Updated `SampleClient` expected tool names and switch cases
🤖 Generated with [Claude Code](https://claude.com/claude-code)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org
Re: [PR] fix: standardize MCP tool names to kebab-case [solr-mcp]
Posted by "epugh (via GitHub)" <gi...@apache.org>.
epugh merged PR #43:
URL: https://github.com/apache/solr-mcp/pull/43
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org