Stresix

com.stresix由 stresix.com 发布官方发布者v1.0.0更新于 Oct 30, 2026

Load test your app on a real server from your agent. Get p95, errors and what ran out first.

已验证Streamable HTTP可网页运行云端与基础设施开发者工具数据与分析

概览

AI 生成的概览

Stresix 让 AI 助手在真实云服务器上对应用做负载测试,并返回 p95 延迟、错误率和最先耗尽的资源。

可以做什么
  • 检查测试目标:读取 GitHub 仓库的监听端口、环境变量、框架、是否需要数据库和分支,或仅校验 Docker 镜像引用,并列出已连接的 GitHub 仓库。
  • 启动、监控与停止压测:对仓库或镜像发起测试、查询状态、查看时间线,并停止等待中或运行中的测试。
  • 读取结果:获取完整报告(结论、承载用户数、p95、错误、资源瓶颈和建议服务器规格),并列出历史测试。
  • 管理账户:查看额度、免费测试是否可用与价格,生成额度包结账链接,兑换优惠码,设置现有服务器规格,并对报告提交反馈。
适用场景
适合在上线前或做容量决策时,让助手对仓库或 Docker 镜像做负载测试并总结瓶颈,无需编写 k6 脚本。也适合判断现有服务器规格是否够用。
运行要求
远程 MCP 端点,使用 Streamable HTTP,无需安装。需要 Stresix 账户(GitHub、Google 或邮箱登录)以及在 Settings 的 Keys for agents 中创建的 API 密钥,通过 Authorization bearer 请求头发送。私有仓库需连接 GitHub,公开仓库无需连接。
安装前请注意
付费测试消耗额度(Standard 1 个、Massive 3 个),免费 Lite 每人仅一次。README 称付费测试需先返回价格与余额,并在询问用户后以 confirm_spend: true 再次调用;密钥不能购买额度或更改账户。负载进行中停止不退款,删除测试会永久移除报告与测量数据。API 密钥只显示一次,应妥善保管,泄露后在 Settings 撤销。为启动应用传入的环境变量会发送给 Stresix。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Stresix,将其添加到工作区。
  2. 连接 Authorization token 凭据。它们会被私密存储,绝不会在公开页面上展示。
  3. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/com.stresix%2Fstresix/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。

{
  "mcpServers": {
    "stresix": {
      "type": "http",
      "url": "https://stresix.com/mcp",
      "headers": {
        "Authorization": "Bearer <YOUR_TOKEN>"
      }
    }
  }
}

README

Stresix MCP server

Load test your app from Claude Code, Cursor or any MCP client before you launch.

Tell your agent "load test this app before I launch". Stresix builds your GitHub repo or Docker image on a fresh cloud server, ramps simulated users at it from a second server in the same datacenter, and hands the report back to the agent: what ran out first, p95 latency, error rate and what server size to run it on. No k6 script to write.

The server is hosted at https://stresix.com/mcp (MCP over Streamable HTTP). Nothing to install.

Setup

  1. Sign in at stresix.com with GitHub, Google or email.
  2. Open Settings, then Keys for agents, and create a key. It is shown once.
  3. Add the server to your client.

Claude Code

sh
claude mcp add --transport http stresix https://stresix.com/mcp \  --header "Authorization: Bearer YOUR_STRESIX_KEY"

Cursor (~/.cursor/mcp.json, or .cursor/mcp.json in a project)

json
{  "mcpServers": {    "stresix": {      "url": "https://stresix.com/mcp",      "headers": { "Authorization": "Bearer YOUR_STRESIX_KEY" }    }  }}

Windsurf (~/.codeium/windsurf/mcp_config.json)

json
{  "mcpServers": {    "stresix": {      "serverUrl": "https://stresix.com/mcp",      "headers": { "Authorization": "Bearer YOUR_STRESIX_KEY" }    }  }}

VS Code (.vscode/mcp.json)

json
{  "servers": {    "stresix": {      "type": "http",      "url": "https://stresix.com/mcp",      "headers": { "Authorization": "Bearer YOUR_STRESIX_KEY" }    }  }}

Tools

ToolWhat it does
start_load_testBuilds and load tests a GitHub repo URL or Docker image. Takes the port, up to 10 GET paths, a branch, env vars the app needs to boot and the run size.
get_test_statusBuilding, starting servers, or running with live users, requests per second, p95 and error rate.
get_test_reportThe verdict when the run is done: users held, p95, error rate, what ran out first, what to change and the server size to pick.

Pricing

RunLoadTarget serverCost
Lite500 users, 4 minutes2 vCPU / 4 GBFree once per person
Standard2,500 users, 10 minutes4 vCPU / 8 GB1 credit
Massive10,000 users, 15 minutes8 vCPU / 16 GB3 credits

Credits come in packs: $10 for 5, $40 for 25.

Safety

  • A paid run never starts on its own. The tool answers with the price and your balance first, and the agent has to ask you before calling it again with confirm_spend: true.
  • With no credits left, the tool says to top up at stresix.com and starts nothing.
  • Each key can start 4 runs an hour, on top of the account's daily limit, so an agent stuck in a loop cannot spend a balance.
  • Load only ever goes to the app Stresix builds, on its own server in a private network. It cannot be pointed at a live site.
  • A key can start runs and read their status and reports. It cannot buy credits or change the account. Revoke it in Settings and it stops working at once. Only a hash of each key is stored.

Example

You: load test this app before I launch, I'm on a 2 vCPU box

Agent: reads the code, finds the app listens on 3000 and that /, /api/products and /search hit the database, then calls start_load_test with the repo URL

Stresix: Started a Lite run (500 users for 4 minutes against 2 vCPU / 4 GB). This is the free run, nothing was charged.

Agent: polls get_test_status, then calls get_test_report and summarizes what ran out first and what to change.

More at stresix.com/mcp.

来源:README.md,提交 8c9b880

工具

14

start_load_test

Start a load test

Load tests the user's app on a real cloud server and returns a run id. The target is a public or connected GitHub repository URL, or a Docker image. Lite is free once per person (500 users, 4 minutes). Standard (2,500 users, 10 minutes) costs 1 credit and Massive (10,000 users, 15 minutes) costs 3. A paid run is only started with confirm_spend set to true, and only after the user has agreed to the price. Without a tier it uses the free Lite run when the account still has it.

输入参数envporttierpathsbranchtarget必填requestsconfirm_spendcurrent_server

get_test_status

Check a load test

Where a run stands: building, starting servers, running (with live users, requests per second, p95 latency and error rate) or finished.

输入参数test_id

get_test_report

Read a load test report

The full report of a finished run: the verdict, users held, requests per second, p95 latency and errors at each load level, what ran out first, CPU, busiest thread and memory on the server and per service, connections to the database and other dependencies, what the responses were, and which server size to pick or whether the user's own server is enough.

输入参数test_id

get_test_timeline

Load test timeline

How a run moved over time: users, requests per second, p95 latency and error rate, averaged into a fixed number of points. Works while a run is going and after it ends.

输入参数pointstest_id

list_load_tests

List load tests

The account's runs, newest first: id, status, size, target, requests, when it ran and why it failed if it did.

输入参数limitstatus

stop_load_test

Stop a load test

Stops a run that is waiting or running and deletes its servers. A run stopped before its servers were up uses no credit. A run stopped while the load is going is not refunded, and its report covers what was measured until then. Ask the user first.

输入参数test_id必填

delete_load_test

Delete a load test

Deletes a run and its report and measurements for good. A running run has to be stopped first. Ask the user first.

输入参数test_id必填

set_current_server

Set the server to judge against

Tells a run which server the user already hosts the app on, so the report says whether that server is enough, how close to the limit it would be and what to change. Or set recommend to true to go back to a recommended size. The report is recomputed from the stored measurements, no new run needed.

输入参数vcpulabelram_gbtest_idrecommend

send_feedback

Send feedback on a report

Tells Stresix whether a finished run's report was useful, with an optional note. Only send what the user actually said. Sending again replaces the earlier answer.

输入参数helpful必填messagetest_id

inspect_target

Inspect a repository or image

Reads a repository before testing it: the port it listens on, the environment variables the code reads, the framework, whether it needs a database, and its branches. For a Docker image it only checks the reference. Use it before start_load_test.

输入参数branchtarget必填

list_github_repos

List connected GitHub repositories

The GitHub repositories the user gave Stresix access to, including private ones. Public repositories work without connecting GitHub.

无需输入参数。

get_account

Credits and account

The account's credits, whether the free Lite run is still available, whether GitHub is connected, what each run size costs and the credit packs on sale.

无需输入参数。

buy_credits

Get a checkout link for credits

Makes a checkout link for a credit pack: Starter is 5 credits for $10, Pro is 25 credits for $40. Nothing is charged by this tool. The user opens the link and pays in their browser, and the credits arrive a minute later. Only call it when the user asked to buy credits.

输入参数pack必填

redeem_code

Redeem a promo code

Adds the credits of a promo code to the account. Only use a code the user gave you.

输入参数code必填

版本历史

1
  1. v1.0.0最新Oct 15, 2026

评分

已满足适用检查项的 100%

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

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分