AutoSpectra MCP Server
@samuelvinay91
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.
Overview
What is AutoSpectra MCP Server?
AutoSpectra MCP Server is a comprehensive MCP (Model Context Protocol) server that provides browser automation, API testing, debugging tools, and mock services for any AI agent. It integrates with AI platforms such as Claude, ChatGPT, Gemini, and Perplexity.
How to use AutoSpectra MCP Server?
Clone the repository, run npm install and npm build, create a .env file with required variables (e.g., ANTHROPIC_API_KEY), then start the server with npm start or npm run dev. Use the use_mcp_tool function in your MCP-compatible system with the server name "autospectra" and tool names like navigate, click, api_request, or debug_test.
Key features of AutoSpectra MCP Server
- Browser automation (navigate, click, type, screenshot)
- API testing tools (HTTP/GraphQL requests, schema validation, mock APIs)
- Testing framework (end-to-end, accessibility, visual validation)
- Interactive debugging with step-by-step execution
- Self-healing selectors that adapt to UI changes
- Visible browser mode for debugging or headless efficiency
- Claude Computer Use integration
Use cases of AutoSpectra MCP Server
- Automate web browsing tasks (login flows, data extraction)
- Test REST and GraphQL APIs with schema validation
- Debug test scripts interactively by setting breakpoints
- Run end-to-end, accessibility, or visual validation tests
- Create mock APIs for development or testing
FAQ from AutoSpectra MCP Server
What is AutoSpectra MCP Server and how does it compare to alternatives?
AutoSpectra is an all-in-one MCP server offering browser automation, API testing, debugging, and mock services. It is designed to work with any MCP-compatible AI agent, including Claude, ChatGPT, Gemini, and Perplexity.
What are the runtime requirements?
The server requires Node.js, npm, and Playwright. A .env file with variables like ANTHROPIC_API_KEY is needed for some integrations.
Where does data and output live?
Output files (e.g., screenshots) are saved to the directory specified by the OUTPUT_DIR environment variable, which defaults to ./output.
How do I start the server in different modes?
Use npm start for normal mode or npm run dev for development mode. Docker support is also available (npm run docker:build and npm run docker:run).
What transport and authentication does it use?
The server uses the MCP protocol for communication. Authentication is required via the ANTHROPIC_API_KEY for certain features; other configurations are set via environment variables.