Surveyloop

io.github.CloudCorpRecords由 GitHub 账号 CloudCorpRecords 发布v0.1.0更新于 Nov 4, 2026

AI surveys end to end: create and publish surveys, collect responses, generate analysis reports.

已验证STDIO仅桌面数据与分析商业与电商

概览

AI 生成的概览

本地 stdio 桥接服务,连接托管的 Inquira 服务,让助手创建、发布 AI 问卷、读取回答并生成分析报告。

可以做什么
  • 根据研究目标生成问卷,可指定语言并选择创建后立即发布
  • 按状态筛选并列出账号下的所有问卷
  • 获取指定问卷收到的全部回答
  • 生成 AI 分析报告,含执行摘要、关键指标、逐题洞察与行动建议
  • 发布问卷并获取其分享链接
适用场景
适合希望助手根据给定研究目标起草并投放问卷,再把回收的回答整理成摘要报告、全程不离开对话的场景。
运行要求
通过 npx 或 Docker 镜像以 stdio 本地进程运行,需要能访问托管的 Inquira 端点。可选设置 INQUIRA_API_KEY 以上游携带 bearer 令牌,设置 INQUIRA_MCP_URL 可替换端点;未设置密钥时请求不带认证。
安装前请注意
问卷内容、研究目标与回答都会转发给第三方托管服务。发布后问卷可通过分享链接被公开访问,是否把链接发给他人由调用方自行决定。可选的 API 密钥会作为 bearer 头发往上游端点,而该端点可通过 INQUIRA_MCP_URL 改写。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Surveyloop,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

surveyloop

surveyloop is a small local bridge to the hosted Inquira MCP server, which runs AI surveys end to end. Describe a research goal and it generates a professional survey for it; from there you can publish the survey, share its link, read the responses that come back, and ask for an AI analysis report with an executive summary, key metrics, per-question insights and action recommendations.

The bridge keeps no survey data of its own. It serves the upstream server's tool list locally, exactly as captured from the live endpoint, and forwards each tool call upstream, returning the result untouched. The captured surface stops at returning a survey's own share link: sending that link to anyone is the caller's own act, and there is no outreach or sending tool in it.

Tools

  • create_survey — generate a survey from a research goal. Required: goal. Optional: lang (one of "en", "zh", "ja", "es", "pt"; defaults to "en") and publish (publish immediately after creation; defaults to false). Returns the survey ID and shareable link.
  • get_surveys — list all surveys belonging to the authenticated user. Optional: status (one of "all", "published", "draft"; defaults to "all").
  • get_responses — get all responses submitted to a specific survey. Required: survey_id.
  • get_ai_report — generate an AI analysis report for a survey's responses. Required: survey_id.
  • publish_survey — publish a survey to make it accessible via its share link. Required: survey_id.
  • get_survey_link — get the shareable link for a published survey. Required: survey_id.

Configuration

  • INQUIRA_MCP_URL (optional) — override the upstream endpoint. Defaults to https://getinquira.com/api/mcp. (The override hook is this rebuild's own labelled reconstruction.)
  • INQUIRA_API_KEY (optional) — when set, every upstream request carries an Authorization: Bearer <key> header, for the caller's own Inquira key. When it is not set, no key header is sent. (The header name is pinned by the original's registry record; the Bearer scheme and this env forwarding are labelled reconstructions — the original surface was captured keyless.)

Forwarding mechanics

On the first tool call the client opens a streamable HTTP session with the upstream: a JSON-RPC initialize request (protocolVersion 2025-03-26, clientInfo name surveyloop), then a notifications/initialized notification, then the tools/call request carrying the caller's arguments unchanged. When the upstream answers initialize with an Mcp-Session-Id header, that value rides on every later request of the session, which is reused for the life of the process. Replies may arrive as plain JSON or as server-sent events; both are read.

Successful upstream results pass through verbatim, including any isError flag the upstream sets. Failures — a JSON-RPC error, a non-2xx status, an unreadable response, or a request that cannot be completed — come back as an isError result whose text starts with surveyloop error: (this rendering is this rebuild's own labelled reconstruction).

CLI

Each tool is also a subcommand taking one JSON argument string:

bash
npx @reneturcios/surveyloop create_survey '{"goal":"Customer satisfaction survey for our SaaS product after onboarding","lang":"en"}'npx @reneturcios/surveyloop get_responses '{"survey_id":"sv_123"}'npx @reneturcios/surveyloop --version

Exit codes: 0 on success, 1 on an isError result, 2 on a usage error.

MCP server

bash
npx -y @reneturcios/surveyloop mcp

MCP client config:

json
{  "mcpServers": {    "surveyloop": {      "command": "npx",      "args": ["-y", "@reneturcios/surveyloop", "mcp"]    }  }}

Docker

bash
docker run -i ghcr.io/cloudcorprecords/surveyloopdocker run --rm ghcr.io/cloudcorprecords/surveyloop --version

The container's default command is mcp, so the first form is a stdio MCP server; any other arguments reach the CLI normally.

Development

bash
npm installnpm run buildnpm testnpm run dev

The test suite runs entirely against a stubbed JSON-RPC upstream — no live network calls.

License

MIT — see LICENSE.

来源:README.md,提交 3d7fb3e

工具

6

create_survey

Generate a professional survey using AI based on a research goal. Returns the survey ID and shareable link.

输入参数goal必填langpublish

get_surveys

List all surveys belonging to the authenticated user.

输入参数status

get_responses

Get all responses submitted to a specific survey.

输入参数survey_id必填

get_ai_report

Generate an AI analysis report for a survey's responses. Returns executive summary, key metrics, per-question insights, and action recommendations.

输入参数survey_id必填

publish_survey

Publish a survey to make it accessible via its share link.

输入参数survey_id必填

版本历史

1
  1. v0.1.0最新Nov 4, 2026

评分

已满足适用检查项的 90%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分
  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具必需15 分
  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分