Configuration
Location: gestura.toml
in your project root.
Schema
[mcp]
: Server configuration and capabilities[gestures]
: Map spoken gestures to MCP commands
Configure your MCP server and gestures in gestura.toml.
[mcp]
server_url = "http://localhost:8080"
capabilities = ["commands","events","files"]
[gestures]
"create-file" = { command = "create file {filename}" }
"list-files" = { command = "list files" }
"run" = { command = "run {command}" }
Tips
- Keep gesture names short and easy to say.
- Use parameters in braces to capture values from speech (e.g., {filename}).
Troubleshooting
- Gesture runs the wrong action → Check for overlapping phrases or ambiguity.
- Server connection fails → Confirm the URL and retry with the server logs open.
FAQ
Can I have multiple configs? Yes, keep different folders with their own gestura.toml files.