-
Notifications
You must be signed in to change notification settings - Fork 24
Description
Description
The application-create tool fails with a schema validation error when creating a new application. The API call appears to succeed, but the response contains additional properties that are not defined in the tool's output schema.
Error Message
MCP error -32602: Structured content does not match the tool's output schema: data should NOT have additional properties
Reproduction Steps
- Configure Dokploy MCP server in Cursor IDE
- Call
application-createwith valid parameters:{ "name": "TestApp", "environmentId": "<valid-environment-id>" } - The API call succeeds but returns an error due to schema mismatch
Environment
- MCP Client: Cursor IDE
- Dokploy: Cloud version (app.dokploy.com)
- Package:
@ahdev/dokploy-mcp(latest via npx)
Expected Behavior
The application-create tool should successfully create an application and return a valid response that matches the defined output schema.
Actual Behavior
The tool returns an MCP error indicating the response has additional properties not defined in the output schema. This suggests the Dokploy API returns more fields than the MCP tool's output schema allows.
Suggested Fix
Update the output schema for application-create to include all properties returned by the Dokploy API, or use "additionalProperties": true in the schema definition.
Workaround
Create applications manually via the Dokploy UI. Other tools like project-all, project-update, application-one, application-deploy, etc. work correctly.