hyperchat/docs/guide/mcp.md

43 lines
790 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
lang: zh-CN
title: MCP安装
description:
---
#### HyperChat 安装MCP支持`stdio`,`sse`,`streamableHttp`支持启用禁用同步MCP。
#### 点击添加
![alt text](image-7.png)
### stdio类型的添加
HyperChat添加mcp和其他的客户端一样只是把`command` 和 `args` ,放在一起填入,用空格分开。如图,一一对应。
```
{
"command": "npx",
"args": [
"-y",
"@amap/amap-maps-mcp-server"
],
"env": {
"AMAP_MAPS_API_KEY": "xxxxxxxxxxxxxxxxxxxxxxxxx"
},
}
```
![alt text](image-8.png)
### `sse`和`streamableHttp`类型的添加
![alt text](image-9.png)
### MCP启用禁用
![alt text](image-10.png)
### MCP同步
通过MCP同步这mcp配置
![alt text](image-12.png)