# mcp-remote

> 把 Piqline 的 MCP 服务器连接到 mcp-remote (any local client)（Open source）：要复制的配置块、放置位置，以及放在请求头中的 API 密钥。

Source: https://piqline.com/zh/docs/api/clients/mcp-remote

Piqline 读取公开来源，标注所见内容的日期，并连同证据交给智能体。本页把它的 MCP 服务器连接到 mcp-remote (any local client)。

## mcp-remote (any local client)

**位置：** 你的客户端的 MCP 配置文件

适用于只能与本地进程（stdio）通信的客户端：`mcp-remote` 负责中继 HTTP 服务器。请求头的值放在 `env` 中，参数里不要有空格（有些客户端会按空格拆分）。

```json
{
  "mcpServers": {
    "piqline": {
      "command": "npx",
      "args": ["mcp-remote", "https://piqline.com/api/mcp", "--transport", "http-only", "--header", "Authorization:${AUTH_HEADER}"],
      "env": { "AUTH_HEADER": "Bearer piq_live_…" }
    }
  }
}
```

来源：[github.com](https://github.com/geelen/mcp-remote)，读取于 2026 年 11 月 20 日（依据官方文档组合而成）。已于 2026-11-20 用真实密钥测试。

## 下一步

向智能体提问，例如：“谁最先发布了这个主题？”“本周法国有哪些公司付费招聘？”或“读一下这个页面，告诉我它从什么时候开始存在”。

- [Piqline 为智能体做的六件事](/assistants)
- [所有客户端](/zh/docs/api/clients) · [MCP 服务器](/zh/docs/api/mcp) · [创建密钥](/zh/docs/api/authentication)
