Skip to content

fix: MCP apps_create aceita nome do servidor (#21) - #27

Merged
puppe1990 merged 2 commits into
mainfrom
fix/mcp-server-name
Oct 1, 2026
Merged

puppe1990 merged 2 commits into
mainfrom
fix/mcp-server-name

Conversation

@puppe1990

Copy link
Copy Markdown
Collaborator

Fecha #21

apps_create e o drop que registra app estático resolvem server por id numérico, nome ou slug via GET /api/v1/servers. Id numérico continua curto-circuito (sem GET). Nome desconhecido devolve a lista id (name).

Commits:

  • test: MCP apps_create resolves server by name (#21)
  • fix: resolve MCP server by id, name or slug (#21)

Agents pass servers_list names like gestaobem-cx33; the panel only
accepts numeric server_id. Cover name lookup, unknown-name listing,
and the same resolution on drop register.
Numeric ids still short-circuit so existing create tests keep a single
POST. Names and slugs list /api/v1/servers and post the matching id.
Unknown values list the known id (name) pairs.
@puppe1990
puppe1990 merged commit 0fd1c26 into main Oct 1, 2026
1 check passed
@puppe1990
puppe1990 deleted the fix/mcp-server-name branch October 1, 2026 17:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant