Wokwi MCP Server
The Wokwi CLI includes an experimental MCP server that allows AI agents to interact with Wokwi’s simulation and testing capabilities. This enables AI agents to:Simulate Complex Systems
Run simulations of embedded systems with multiple components
Run Automated Tests
Execute automated tests on embedded projects
Monitor Serial Output
Monitor the serial console output and logs in real-time
Interact with Hardware
Interact with virtual hardware components during simulation
Configuration
To configure your AI agent to use the Wokwi MCP server, add the following to your agent’s MCP configuration:Authentication
You will need a valid Wokwi CLI token to use the MCP server. You can generate a token in the Wokwi CI Dashboard.Generate Token
Navigate to the Wokwi CI Dashboard and create a new API token.
Configure Environment
Set the
WOKWI_CLI_TOKEN environment variable to the token value in your MCP configuration.