Token导航 LogoToken导航TokenDH.com
AutoSpectra MCP Server logo
开发工具stdio官方级别未说明来源级核验

AutoSpectra MCP Server

MCP Server

A powerful browser automation and testing server using the Model Context Protocol (MCP). Enables AI agents to control browsers, generate tests, and perform accessibility testing with cloud integration.

工具数

26

提示词数

0

GitHub Stars

3

资源数

0
浏览器自动化调试工具TypeScriptClaudeAPI测试Claude

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

作者 / 组织

samuelvinay91

提供方

samuelvinay91

最后核验

2026/5/18 04:05

运行时

Node.js

快速接入

先看主来源和安装命令,再打开仓库或文档;下面只保留这个条目的关键接入事实。

命令预览

npm install --save-dev auto-spectra

详细介绍

AutoSpectra MCP服务器

All-In-One Automation Platform for AI Agents: Browser, API Testing, and More

](https://smithery.ai/server/@samuelvinay91/autospectra-mcp-server)

AutoSpectra是一个全面的MCP(模型上下文协议)服务器,为任何AI代理提供完整的自动化和测试功能。从浏览器自动化和API测试到调试工具和模拟服务,AutoSspectra提供了一整套工具,可与任何MCP兼容系统无缝集成,包括但不限于Claude、ChatGPT、Gemini和Perplexity。

特性

  • 🌐 浏览器自动化:导航、单击、键入、提取数据和截图
  • 🔌 API测试工具:发出HTTP/GraphQL请求,验证模式,创建模拟API
  • 🧪 测试框架:端到端测试、可访问性测试和视觉验证
  • 🐞 调试功能:交互式调试会话,逐步执行
  • 🤖 AI代理兼容性:可与支持MCP协议的任何AI代理配合使用
  • 👁️ 可见浏览器模式:使用可见浏览器进行调试或无头运行以提高效率
  • 🔄 自愈选择器:稳健的元素选择,能够适应变化
  • 💻 克劳德电脑使用:与Anthropic的Claude计算机功能集成

安装

# Clone the repository
git clone https://github.com/your-username/autospectra-mcp-server.git
cd autospectra-mcp-server

# Install dependencies
npm install

# Build the project
npm run build

环境设置

创建一个 .env 根目录中的文件,包含以下变量:

# Server configuration
PORT=3000
DEBUG=true
HTTP_SERVER=true

# API Keys
ANTHROPIC_API_KEY=your-anthropic-api-key

# Playwright configuration
HEADLESS=false
SLOW_MO=50

# Output directory
OUTPUT_DIR=./output

用法

启动服务器

# Start the server
npm start

# Or start in development mode
npm run dev

使用MCP工具

AutoSpectra提供了一系列可通过MCP协议使用的自动化工具:

浏览器自动化

// Navigate to a URL with visible browser
await use_mcp_tool({
  server_name: "autospectra",
  tool_name: "navigate",
  arguments: {
    url: "https://example.com",
    visible: true
  }
});

// Click on an element with selector
await use_mcp_tool({
  server_name: "autospectra",
  tool_name: "click",
  arguments: {
    selector: "#login-button"
  }
});

API测试

// Make an HTTP request
await use_mcp_tool({
  server_name: "autospectra",
  tool_name: "api_request",
  arguments: {
    method: "GET",
    url: "https://api.example.com/users/1",
    headers: {
      "Accept": "application/json"
    }
  }
});

// Validate an API response against a schema
await use_mcp_tool({
  server_name: "autospectra",
  tool_name: "validate_schema",
  arguments: {
    response: responseData,
    schema: {
      type: "object",
      required: ["id", "name", "email"],
      properties: {
        id: { type: "number" },
        name: { type: "string" },
        email: { type: "string", format: "email" }
      }
    }
  }
});

交互式调试

// Create a debug test session
await use_mcp_tool({
  server_name: "autospectra",
  tool_name: "debug_test",
  arguments: {
    testName: "login-flow",
    testScript: `
      step('step1', 'navigate', { url: 'https://example.com/login' });
      step('step2', 'type', { selector: '#username', text: 'testuser' });
      step('step3', 'click', { selector: '#login-button' });
    `,
    breakAt: ['step3'],
    runImmediately: true
  }
});

有关所有可用工具及其参数的完整文档,请参阅:

文档

AutoSpectra为其工具功能提供了全面的文档:

项目结构

autospectra-mcp-server/
├── docs/                # Documentation
│   ├── guides/          # User and developer guides
│   ├── api/             # API documentation
│   └── examples/        # Example usage
├── scripts/             # Utility and helper scripts
├── src/                 # Source code
│   ├── automation/      # Browser automation
│   ├── computerUse/     # Claude computer use integration
│   ├── frameworks/      # Test framework integration
│   ├── nlp/             # NLP functionality
│   ├── server/          # Server-specific code
│   └── utils/           # Utilities
├── tests/               # Test files
│   ├── integration/     # Integration tests
│   ├── unit/            # Unit tests
│   └── e2e/             # End-to-end tests

与AI代理集成

AutoSpectra与支持MCP协议的任何AI代理无缝集成:

  1. 通用兼容性:与Claude、ChatGPT、Gemini、困惑等合作
  2. 高性能:访问专门的功能,如克劳德的电脑使用
  3. 灵活的工作流程:结合本地和基于云的自动化

请参阅 AI集成指南 了解更多信息。

平台集成

AutoSpectra可与各种AI平台和开发环境配合使用:

  1. 克劳德桌面/云:通过计算机使用功能增强自动化
  2. VS代码扩展:与开发工作流程无缝集成
  3. ChatGPT和OpenAI:完全支持基于GPT的助手
  4. Gemini和其他型号:与所有主要AI平台兼容

请参阅 平台集成指南 了解更多信息。

Docker支持

# Build the Docker image
npm run docker:build

# Run with Docker
npm run docker:run

测试

# Run all tests
npm run test:all

# Run specific tests
npm run test:accessibility
npm run test:computer-use
npm run test:e2e

贡献

欢迎投稿!请看 贡献.md 了解更多信息。

许可证

此项目根据MIT许可证获得许可-有关详细信息,请参阅许可证文件。

目录标签

目录标签

浏览器自动化调试工具TypeScriptClaudeAPI测试developer-tools本地部署AI代理集成测试框架

支持客户端

Claude

接入字段

传输方式(transport,传输协议)

stdio

鉴权方式(authType,认证方式)

none

运行时(runtime,运行环境)

Node.js

工具数量(toolCount,工具数)

26

资源数量(resourceCount,资源数)

0

提示词数量(promptCount,提示词数)

0

权限和风险

stdionone部署方式未说明

接入前请确认传输方式、认证方式和部署位置,并根据实际工具能力限制访问范围。

安装前确认

不要直接授予不必要的文件、网络或账号权限;先核对安装命令和配置内容。

来源信息

继续浏览同类 MCP