Skip to content

application-create returns response with additional properties not in output schema #15

@nevilhulspas

Description

@nevilhulspas

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

  1. Configure Dokploy MCP server in Cursor IDE
  2. Call application-create with valid parameters:
    {
      "name": "TestApp",
      "environmentId": "<valid-environment-id>"
    }
  3. 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.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions