修正了mcp服务在claude中的配置

This commit is contained in:
root
2025-07-23 19:51:02 +08:00
parent ae604480ab
commit 7c5cd5c603
2 changed files with 4 additions and 4 deletions

View File

@@ -15,7 +15,7 @@ A comprehensive MCP (Model Context Protocol) server plugin for Cocos Creator 3.8
**Claude cli configuration:**
```
claude mcp add --transport http http://localhost:3000/mcp (use the port number you configured yourself)
claude mcp add --transport http cocos-creator http://127.0.0.1:3000/mcp (use the port number you configured yourself)
```
**Claude client configuration:**
@@ -29,7 +29,7 @@ claude mcp add --transport http http://localhost:3000/mcp (use the port number y
"type": "http",
"url": "http://localhost:3000/mcp"
"url": "http://127.0.0.1:3000/mcp"
}

View File

@@ -16,7 +16,7 @@
**Claude cli配置**
```
claude mcp add --transport http http://localhost:3000/mcp使用你自己配置的端口号
claude mcp add --transport http cocos-creator http://127.0.0.1:3000/mcp使用你自己配置的端口号
```
**Claude客户端配置**
@@ -30,7 +30,7 @@ claude mcp add --transport http http://localhost:3000/mcp使用你自己配
"type": "http",
"url": "http://localhost:3000/mcp"
"url": "http://127.0.0.1:3000/mcp"
}