Skip to content

Commit ead9c3a

Browse files
committed
feat: initial MCP server implementation
1 parent 517b6d8 commit ead9c3a

File tree

10 files changed

+1504
-56
lines changed

10 files changed

+1504
-56
lines changed

README.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,28 @@ This will ask you a few questions and will create the necessary files in the cur
5050
wokwi-cli init my-project
5151
```
5252

53+
## MCP Server
54+
55+
The MCP server is an experimental feature that allows you to use the Wokwi CLI as a MCP server. You can use it to integrate the Wokwi CLI with AI agents.
56+
57+
To configure your AI agent to use the MCP server, add the following to your agent's configuration:
58+
59+
```json
60+
{
61+
"servers": {
62+
"Wokwi": {
63+
"type": "stdio",
64+
"command": "wokwi-cli",
65+
"args": ["mcp"],
66+
"env": {
67+
"WOKWI_CLI_TOKEN": "${input:wokwi-cli-token}"
68+
}
69+
}
70+
}
71+
}
72+
```
73+
74+
5375
## Development
5476

5577
Clone the repository, install the npm depenedencies, and then run the CLI:

0 commit comments

Comments
 (0)