wavekit-mcp
v0.5.0MCP server for AI-driven waveform analysis via wavekit
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
open_session Open Session
Create a new persistent Python execution session for waveform analysis. Args: description: Optional description to identify this session (shown in list_sessions) Returns a session_id used by all other tools. Pre-injected objects: wavekit — wavekit module (wavekit.VcdReader, wavekit.Waveform, etc.) Viewer — waveform visualization (call Viewer() to create instance) Available via default allowed_imports: import numpy as np Typical workflow: 1. sid = open_session() 2. run(sid, "import wavekit r = wavekit.VcdR…
| Parameter | Type | Description |
|---|---|---|
description |
close_session Close Session
Close a session and release all resources (open readers, viewer, memory). IMPORTANT: If the session has a viewer open, closing the session will also close the viewer. Do not close sessions if the user may still be viewing waveforms. Wait for explicit user confirmation before closing.
| Parameter | Type | Description |
|---|---|---|
session_id * | string | The session ID to close |
list_sessions List Sessions
List all active sessions. Returns a list with each entry containing: session_id — the session identifier description — user-provided description (may be None) created_at — creation timestamp (ISO format string)
run Run
Execute Python code in a persistent session. State persists across calls. PRE-INJECTED: wavekit, Viewer. Import numpy and wavekit.pattern symbols as needed. UNFAMILIAR WITH THE API? Call get_api_docs(topic='Waveform') first.
| Parameter | Type | Description |
|---|---|---|
code * | string | |
session_id * | string |
get_history Get History
Return the last N execution records for a session. Each record contains: code — the code that was executed error — exception traceback, or null on success duration_ms — wall-clock execution time Output and result values are not stored to keep history compact.
| Parameter | Type | Description |
|---|---|---|
session_id * | string | |
last_n | integer |
get_api_docs Get Api Docs
Get wavekit API documentation. Call with no arguments to list topics. Current topics are generated from wavekit's public Reader/Waveform classes and wavekit.pattern exports.
| Parameter | Type | Description |
|---|---|---|
topic | string |