修正了mcp服务在claude中的配置
This commit is contained in:
@@ -15,7 +15,7 @@ A comprehensive MCP (Model Context Protocol) server plugin for Cocos Creator 3.8
|
|||||||
**Claude cli configuration:**
|
**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:**
|
**Claude client configuration:**
|
||||||
@@ -29,7 +29,7 @@ claude mcp add --transport http http://localhost:3000/mcp (use the port number y
|
|||||||
|
|
||||||
"type": "http",
|
"type": "http",
|
||||||
|
|
||||||
"url": "http://localhost:3000/mcp"
|
"url": "http://127.0.0.1:3000/mcp"
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -16,7 +16,7 @@
|
|||||||
**Claude cli配置:**
|
**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客户端配置:**
|
**Claude客户端配置:**
|
||||||
@@ -30,7 +30,7 @@ claude mcp add --transport http http://localhost:3000/mcp(使用你自己配
|
|||||||
|
|
||||||
"type": "http",
|
"type": "http",
|
||||||
|
|
||||||
"url": "http://localhost:3000/mcp"
|
"url": "http://127.0.0.1:3000/mcp"
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user