Skip to content

Bug: Tool name contains spaces violating MCP specification(MCP调用时提示工具名报错的问题) #4

@rainbar

Description

@rainbar

Description

The MCP server defines a tool with name "Query all components under the project" which contains spaces. This violates the MCP specification that requires tool names to match the pattern ^[a-zA-Z0-9_-]{1,64}$.

Location

File: out/bundle.js:12369

server.tool("Query all components under the project", { projectPath: zod_1.z.string() }, async ({ projectPath }) => {

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