MCP.so
登录

Xk6 MCP Server

@dgzlopes

基本信息

分类

其他

许可证

AGPL-3.0

传输方式

stdio

作者

dgzlopes

关于 Xk6 MCP Server

Test MCP servers with k6

#xk6

Xk6 MCP Server 配置

暂无标准配置

该服务器的 README 中没有可解析的 MCP 配置块,请前往代码仓库查看安装说明。

代码仓库

Xk6 MCP Server 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is xk6-mcp?

xk6-mcp is a k6 extension for testing Model Context Protocol (MCP) servers. It lets developers load-test MCP servers using k6, providing client support for stdio, SSE, and Streamable HTTP transports, built-in pagination, and automatic RED-style metrics.

How to use xk6-mcp?

Install xk6, then build a k6 binary with the extension: xk6 build --with github.com/dgzlopes/xk6-mcp. Import the module in your script with import mcp from 'k6/x/mcp'; and run the built binary: ./k6 run script.js.

Key features of xk6-mcp

  • Supports stdio, SSE, and Streamable HTTP transports
  • Automatic pagination via *All methods (e.g., listAllTools())
  • Manual pagination for fine-grained control
  • Built-in RED metrics (request duration, count, errors)
  • Tagged metrics per MCP method (e.g., GetPrompt, ListTools)
  • Enables connection, tool, resource, and prompt operations

Use cases of xk6-mcp

  • Load testing MCP server responsiveness and reliability
  • Validating tool, resource, and prompt availability under load
  • Monitoring MCP server error rates and latency in k6 tests

常见问题

1

What about non-stdio transports?

Both SSE and Streamable HTTP are supported — use `mcp.SSEClient` or `mcp.StreamableHTTPClient` respectively.

2

What about pagination?

The extension offers two ways: `listAllTools()` (and similar) automatically handle pagination, while `listTools()` requires a cursor argument for manual pagination.

3

What about metrics?

xk6-mcp automatically tracks RED-style metrics: `mcp_request_duration` (trend), `mcp_request_count` (counter), and `mcp_request_errors` (counter), each tagged with the MCP method name.

4

Is this officially supported by Grafana Labs?

No, this extension is experimental and not officially supported by Grafana Labs.

评论

其他 分类下的更多 MCP 服务器