dcloudio / dcloudio/uni-app-x-ai-rules

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

Open
#4 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
30
Forks
4
PR merge metrics
No merged PRs in 30d

Description

## 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`
```javascript
server.tool("Query all components under the project", { projectPath: zod_1.z.string() }, async ({ projectPath }) => {

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.