
Spikes
io.github.bierlingm由 GitHub 账号 bierlingm 发布v0.4.1更新于 Oct 24, 2026
UI feedback for AI-assisted building. Click elements, rate them, agents triage via MCP.
概览
Spikes MCP 服务器让 AI 助手读取、分诊并管理由 Spikes 小组件在网页上收集的元素级 UI 反馈。
- 可以做什么
- 列出并筛选反馈、查看单条反馈详情、找出反馈最多的元素
- 以程序方式创建反馈、标记已解决或已处理、删除反馈
- 回复评审者、设置反馈状态、管理评审版本
- 向评审者提问并读取其回答
- 上传文件生成分享链接并查看现有分享
- 查看用量、限额与花费
- 适用场景
- 适合团队用 Spikes 小组件在原型或页面上收集点击评分反馈,并希望编码助手直接分诊反馈、修复被标记的元素或回复评审者而不离开工作流的场景。
- 运行要求
- 通过 npm 包 spikes-mcp(需 Node.js)或 Spikes CLI 以 stdio 在本地运行。本地模式读取 .spikes/feedback.jsonl,无需令牌;连接托管 API 的远程模式需要 SPIKES_TOKEN,可用 SPIKES_API_URL 指向自建 worker。托管功能需要 Spikes 账号和 API 密钥。
安装
在 SourceWeft 中
- 打开 控制台中的 Spikes,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
/ Spikes
The feedback loop for AI-assisted building
[MIT License] [Widget Size] [Free + Pro]
AI can build a prototype in an hour.
Turning feedback into action is still the slow part.
Quick Start · CLI Reference · Widget Docs · Hosted Dashboard · Self-Hosting
What Is This?
Spikes is a feedback tool for AI-assisted development. It lets reviewers leave targeted feedback directly on web pages — no screenshots, no "that button over there", no lost context.
Click any element. Rate it. Comment. Spikes captures the exact CSS selector, bounding box, and page context. Your AI agent gets structured JSON it can act on immediately.
No accounts required. No build step. Works on file://, localhost, anywhere.
Quick Start
1. Install the CLI
2. Initialize your project
spikes init creates .spikes/config.toml with a [remote] section pointing at https://spikes.sh by default. Pass --self-host (or answer s at the prompt) to skip the hosted defaults.
3. Add the widget to your HTML
4. Collect and use feedback
CLI Commands
All commands support --json for scripting. See full CLI reference.
Viewing spikes for a hosted project:
The hosted dashboard at https://spikes.sh/dashboard lists every project you own and lets you drill into individual spikes (filter by page, rating, resolved, toggle resolved inline). Sign in directly in your browser: click Sign in, open the verification page, and confirm via the magic link sent to your email — no CLI required.
You can also hit the JSON API directly with your bearer token ($SPIKES_TOKEN from spikes login):
All /me/* endpoints are user-scoped: you only ever see projects and spikes you own. Cross-tenant requests return 404 PROJECT_NOT_FOUND (enumeration-proof).
Security note: API keys (
sk_spikes_*) and the adminSPIKES_TOKENare not accepted on/me/*endpoints orPOST /projects— those require a user bearer token fromspikes login. ThePOST /spikescollect endpoint enforces a per-project origin allowlist and per-project rate limits; rejected widget requests surface as a small red#spikes-error-dotindicator on the widget button (404 / 403 / 429).
AI Agent Integration
Spikes speaks agent natively. Your AI coding assistant can read, write, and manage feedback without ever leaving its workflow.
MCP Server — 16 Tools
spikes mcp serve starts a Model Context Protocol server that exposes 16 tools:
Supports stdio and HTTP transports, local and remote data modes:
API Keys
Agents get their own identity. No email, no magic link, no human step:
Keys support read/write/full scopes and optional budget caps.
Agent-Tier Billing
Consumption-based pricing for agent-scale usage. Pay per spike, not per seat:
Budget enforcement returns 429 BUDGET_EXCEEDED when caps are hit — agents can check before they burn.
Context Exports
Export structured markdown optimized for agent consumption:
Discovery
- llms.txt — All 9 MCP tools, parameters, agent quickstart
- agents.md — Machine-readable landing page for agents
- Smithery — Listed in the MCP server registry
spikes mcp install— Generates config for Claude Desktop / Cursor
Full details: llms.txt · agents.md
GitHub Action
Gate CI on feedback quality. The spikes-action fails builds when unresolved negative feedback exceeds your threshold.
See action/README.md for full documentation.
Widget Attributes
Simple setup — just add your project key and you're ready to collect feedback:
When you set data-project, feedback syncs automatically to https://spikes.sh/spikes. No need to configure an endpoint unless you're self-hosting.
Full configuration — all available attributes:
Self-hosting — point to your own backend:
See Widget Attributes Reference for complete documentation.
Architecture
Spikes has three components that work together or standalone:
CLI — Rust binary for local development, spike management, and deployment. Stores spikes in ~/.local/share/spikes/.
Widget — 14KB gzipped vanilla JS. Captures element selectors, bounding boxes, ratings, and comments. Works offline via localStorage.
Worker — Optional Cloudflare Worker + D1 backend for multi-reviewer sync, sharing, and hosted deployments. Lives in spikes-hosted/.
Development
CLI
Widget
Widget Regression Tests
CI suite that catches the silent-data-loss bug class (e.g., widget loaded on a non-allowed origin failing to sync without surfacing the error):
Also wired into local agent-ci:
Worker
The Worker backend lives in the private spikes-hosted repo. To test it:
Self-Hosting
Want your own backend? One command:
See Self-Hosting Guide for full setup with D1 database, authentication, and Stripe billing integration.
Share vs. Deploy Cloudflare: Which to Choose?
Use spikes share when you want instant sharing without any setup — files are uploaded to spikes.sh and served from our infrastructure. Great for quick reviews, client feedback, or when you don't want to manage a backend.
Use spikes deploy cloudflare when you need data isolation (feedback stays in your Cloudflare account), a custom domain, or want full control over the infrastructure. Self-hosting requires a Cloudflare account and a one-time deployment setup.
What's Changed (Recent Overhaul)
- Security: PBKDF2 password hashing, path traversal fixes, XSS protection
- Auth: Magic link authentication (no passwords to forget)
- Billing: Stripe integration with Pro tier support
- Testing: CLI test suite (Rust) + Worker test suite (in ../spikes-hosted/worker)
- Architecture: Modular worker with clean separation of concerns
- CI/CD: Automated testing and deployment pipelines
Detailed Documentation
- CLI Reference — Complete command documentation
- Widget Attributes — All configuration options
- Self-Hosting Guide — Deploy your own backend
- API Reference — REST API documentation
- Rollback Guide — Emergency procedures
Why Spikes
Pricing
Free forever. Pro if you want more.
No accounts required to start. Login when you need Pro features.
MIT licensed. Payment is appreciation, not access.
spikes upgrade when you're ready. No pressure.
来源:README.md,提交 3ad94a9
工具
0版本历史
1- v0.4.1最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分