Resolve human project names in MCP project_id args
Auto-resolve project_id values that look like human names to canonical project identifiers when there is a clear match. Return actionable guidance with candidate slugs when ambiguous, and cover the behavior with structure tests and docs updates.
This commit is contained in:
@@ -104,6 +104,12 @@ MCP clients that do not know the exact Redmine project identifier should call
|
||||
`redmine_find_project` first. Redmine identifiers are often slug-like strings
|
||||
and are not always the same as the display name.
|
||||
|
||||
If a tool receives a `project_id` that looks like a human project name (for
|
||||
example it contains spaces or uppercase text), redMCP now attempts a safe
|
||||
lookup first. When one clear match exists it uses that identifier
|
||||
automatically; when matches are ambiguous it returns a guidance error that
|
||||
points to `redmine_find_project` and candidate slugs.
|
||||
|
||||
```json
|
||||
{
|
||||
"name": "redmine_find_project",
|
||||
|
||||
Reference in New Issue
Block a user