Skip to content

Tool execution error while using MCP #226

@vinayakpatilcsod

Description

@vinayakpatilcsod

Error:

Invalid input for tool pack_codebase: [{"instancePath":"","schemaPath":"#/required","keyword":"required","params":{"missingProperty":"directory"},"message":"must have required property 'directory'"}]
    at MCPToolsProxy.items (cjs-string:https://openctx.org/npm/@openctx/provider-modelcontextprotocoltools?repomix:11737:17)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

MCP Config:

"https://openctx.org/npm/@openctx/provider-modelcontextprotocoltools?repomix": {
      "nodeCommand": "node",
      "mcp.provider.uri": "file:///Users/vinayakpatil/.nvm/versions/node/v20.13.1/bin/repomix",
      "mcp.provider.args": ["--mcp"]
    },

It seems like we are just passing static inputSchema while executing the tool without actual arguments.

Metadata

Metadata

Assignees

No one assigned

    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