All-In-One Automation Platform for AI Agents: Browser, API Testing, and More
[](https://smithery.ai/server/@samuelvinay91/autospectra-mcp-server)AutoSpectra is a comprehensive MCP (Model Context Protocol) server that provides complete automation and testing capabilities for any AI agent. From browser automation and API testing to debugging tools and mock services, AutoSpectra offers a full suite of tools that integrate seamlessly with any MCP-compatible system, including but not limited to Claude, ChatGPT, Gemini, and Perplexity.
# 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
Create a .env
file in the root directory with the following variables:
# 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
AutoSpectra provides a wide range of automation tools that can be used through the MCP protocol:
// 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"
}
});
// 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
}
});
For complete documentation of all available tools and their parameters, see:
AutoSpectra provides comprehensive documentation of its tooling capabilities:
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
AutoSpectra seamlessly integrates with any AI agent supporting the MCP protocol:
See the AI Integration Guide for more information.
AutoSpectra works with various AI platforms and development environments:
See the Platform Integration Guide for more information.
# 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
Contributions are welcome! Please see CONTRIBUTING.md for more information.
This project is licensed under the MIT License - see the LICENSE file for details.