# 安装 glim.sh

- 类型: MCP 工具
- 说明: 为智能体接入 Twitter、Reddit、网页与 GitHub 的实时数据源，无需 API 密钥或爬虫。
- 仓库: https://github.com/glim-sh/glim-mcp
- ⚠ 安全: 该 MCP 工具来自官方 Registry 且开源、近期有维护，整体来源相对可信。基于现有材料，主要风险点是会本机运行代码并将查询发送到 glim.sh 获取外部数据，未见需要敏感密钥或明显过度授权的红旗。

## 方式一 · 一键代装（复制提示词让 AI 代劳）

### Claude Code
```
请帮我安装 askskill 上的 "glim.sh" MCP 服务：
执行：claude mcp add --transport http 'sh-glim-glim' 'https://glim.sh/mcp'
```

### Codex
```
请帮我安装 askskill 上的 "glim.sh" MCP 服务：
在 ~/.codex/config.toml 中添加：
[mcp_servers.sh-glim-glim]
url = "https://glim.sh/mcp"
然后重启 Codex 生效
```

### Cursor
```
请帮我安装 askskill 上的 "glim.sh" MCP 服务：
在 .cursor/mcp.json 的 "mcpServers" 中添加：
"sh-glim-glim": { "url": "https://glim.sh/mcp" }
然后在 Cursor 设置 > MCP 中启用
```

## 方式二 · 命令行安装（原生命令与配置）

### Claude Code
```bash
claude mcp add --transport http 'sh-glim-glim' 'https://glim.sh/mcp'
```

### Codex
```bash
codex mcp add 'sh-glim-glim' --url 'https://glim.sh/mcp'
```
配置文件 ~/.codex/config.toml：
```toml
[mcp_servers.sh-glim-glim]
url = "https://glim.sh/mcp"
```

### Cursor
配置文件 .cursor/mcp.json：
```json
{
  "mcpServers": {
    "sh-glim-glim": {
      "url": "https://glim.sh/mcp"
    }
  }
}
```
一键安装：cursor://anysphere.cursor-deeplink/mcp/install?name=sh-glim-glim&config=eyJ1cmwiOiJodHRwczovL2dsaW0uc2gvbWNwIn0
