Skip to main content
Glama
README.md
# Virtuoso Schematic MCP

This is a focused MCP server for interacting with Cadence Virtuoso schematics.
It provides tools to inspect hierarchies, nets, instances, and verify schematic integrity.

## Installation

1.  **Install the package**:
    ```bash
    pip install -r requirements.txt
    ```

2.  **Start the SkillBridge Server in Virtuoso**:
    In your Virtuoso CIW window:
    ```lisp
    load("/path/to/your/python/site-packages/skillbridge/resources/server.il")
    pyStartServer(?port 5000)
    ```

## Tools Available

*   **`connect(host, port)`**: Connects to the Virtuoso session.
*   **`get_instances(lib, cell)`**: Lists all instances (components) in the schematic.
*   **`get_nets(lib, cell)`**: Lists all nets and their connections (pins and instance terminals).
*   **`inspect_instance(lib, cell, instance_name)`**: Get properties and parameters of a specific component.
*   **`check_and_save(lib, cell)`**: Runs `schCheck` and `dbSave` to validate the schematic.

## Configuration

Add to your `claude_desktop_config.json`:

```json
"virtuoso-schematic": {
  "command": "python",
  "args": ["/path/to/virtuoso-schematic-mcp/src/server.py"]
}
```