按客户端
LlamaIndex
把 Piqline 的 MCP 服务器连接到 LlamaIndex(LlamaIndex):要复制的配置块、放置位置,以及放在请求头中的 API 密钥。
Piqline 读取公开来源,标注所见内容的日期,并连同证据交给智能体。本页把它的 MCP 服务器连接到 LlamaIndex。
LlamaIndex#
位置: Python
LlamaIndex 连接 HTTP 服务器;其文档没有给出请求头用法。请使用 mcp-remote 中继。
参见 mcp-remote 中继。
来源:developers.llamaindex.ai,读取于 2026 年 11 月 20 日(请求头没有文档说明,建议使用中继)。尚未在此用真实密钥测试。
mcp-remote (any local client)#
位置: 你的客户端的 MCP 配置文件
适用于只能与本地进程(stdio)通信的客户端:mcp-remote 负责中继 HTTP 服务器。请求头的值放在 env 中,参数里不要有空格(有些客户端会按空格拆分)。
{
"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,读取于 2026 年 11 月 20 日(依据官方文档组合而成)。已于 2026-11-20 用真实密钥测试。
下一步#
向智能体提问,例如:“谁最先发布了这个主题?”“本周法国有哪些公司付费招聘?”或“读一下这个页面,告诉我它从什么时候开始存在”。