The OpenROAD MCP server
Project description
OpenROAD MCP Server
A Model Context Protocol (MCP) server that provides tools for interacting with OpenROAD and ORFS (OpenROAD Flow Scripts).
Demo
Features
- Interactive OpenROAD sessions - Execute commands in persistent OpenROAD sessions with PTY support
- Session management - Create, list, inspect, and terminate multiple sessions
- Command history - Access full command history for any session
- Performance metrics - Get comprehensive metrics across all sessions
- Report visualization - List and read report images from ORFS runs
Requirements
- OpenROAD installed and available in your PATH
- OpenROAD-flow-scripts (ORFS) for complete RTL-to-GDS flows (optional but recommended)
- Python 3.13+ or higher
- uv package manager
- Install:
curl -LsSf https://astral.sh/uv/install.sh | sh
- Install:
Support Matrix
| MCP Client | Supported | Transport Mode(s) | Notes |
|---|---|---|---|
| Claude Code | ✅ | STDIO | Full support for all features |
| Gemini CLI | ✅ | STDIO | Full support for all features |
| Other MCP clients | ⚠️ | STDIO | Should work with standard STDIO transport |
Getting Started
New to OpenROAD MCP? Check out our Quick Start guide.
For platform-specific setup instructions, see the Cross-Platform Guide.
Standard Configuration
The basic configuration for all MCP clients:
{
"mcpServers": {
"openroad-mcp": {
"command": "uvx",
"args": [
"--from",
"git+https://github.com/luarss/openroad-mcp",
"openroad-mcp"
]
}
}
}
For local development, use:
{
"mcpServers": {
"openroad-mcp": {
"command": "uv",
"args": [
"--directory",
"/path/to/openroad-mcp",
"run",
"openroad-mcp"
]
}
}
}
Installation
Claude Code
Use the Claude Code CLI to add the OpenROAD MCP server:
claude mcp add --transport stdio openroad-mcp -- uvx --from git+https://github.com/luarss/openroad-mcp openroad-mcp
Gemini CLI
Follow the Gemini MCP install guide, using the standard configuration above.
Docker
🚧 Work in Progress: Docker deployment via GitHub Container Registry (GHCR) is coming soon.
MCP Registry
Once published to the MCP Registry, clients can discover and install directly:
uvx openroad-mcp
Verification
After configuration, restart your MCP client and verify the MCP server is running:
- The server should automatically start when your MCP client launches
- You can use OpenROAD tools through the MCP interface
- Check logs for any startup errors if tools are not available
Available Tools
Once configured, the following tools are available:
interactive_openroad- Execute commands in an interactive OpenROAD sessioncreate_interactive_session- Create a new OpenROAD sessionlist_interactive_sessions- List all active sessionsterminate_interactive_session- Terminate a sessioninspect_interactive_session- Get detailed session informationget_session_history- View command historyget_session_metrics- Get performance metricslist_report_images- List ORFS report directory imagesread_report_image- Read a ORFS report image
Troubleshooting
If the MCP server fails to start:
- Ensure
uvis installed and available in your PATH - Verify the path to openroad-mcp is correct
- Check that all dependencies are installed:
make sync - Review your MCP client logs for specific error messages
Development
Setup
# Install environment
uv venv
make sync
Testing
# Run core tests (recommended - excludes PTY tests that may fail in some environments)
make test
# Run interactive PTY tests separately (may have file descriptor issues in CI)
make test-interactive
# Run all tests including potentially problematic PTY tests
make test-all
# Format and check code
make format
make check
Note: Interactive PTY tests are separated because they may experience file descriptor issues in certain environments (containers, CI systems). The core functionality tests (make test) provide comprehensive coverage of the MCP integration without these environment-specific issues.
MCP Inspector
# Launch MCP inspector for debugging
# For STDIO transport: Set Command as "uv", Arguments as "run openroad-mcp"
make inspect
Contributing
We welcome contributions to OpenROAD MCP! Please see CONTRIBUTING.md for detailed instructions on how to get started, our development workflow, and code standards.
Support
If you encounter any issues or have questions, please open an issue on our GitHub issue tracker.
License
BSD 3-Clause License. See LICENSE file.
Built with ❤️ by Precision Innovations
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file openroad_mcp-0.4.2.tar.gz.
File metadata
- Download URL: openroad_mcp-0.4.2.tar.gz
- Upload date:
- Size: 18.4 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c7dc1ba696353ad006a5451d6b9575113e0a6d3708af521075b8a3a85b1df867
|
|
| MD5 |
4652a74b5df31adb1cf9732a6a1fc700
|
|
| BLAKE2b-256 |
385ad1f6825af416b3a5fe29e791485d8199e60d33dddb33dbabc2433505a357
|
Provenance
The following attestation bundles were made for openroad_mcp-0.4.2.tar.gz:
Publisher:
release.yml on luarss/openroad-mcp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
openroad_mcp-0.4.2.tar.gz -
Subject digest:
c7dc1ba696353ad006a5451d6b9575113e0a6d3708af521075b8a3a85b1df867 - Sigstore transparency entry: 1193366840
- Sigstore integration time:
-
Permalink:
luarss/openroad-mcp@aa65282c5979b34451ac7a36e483c55a5fbcf505 -
Branch / Tag:
refs/tags/v0.4.2 - Owner: https://github.com/luarss
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@aa65282c5979b34451ac7a36e483c55a5fbcf505 -
Trigger Event:
push
-
Statement type:
File details
Details for the file openroad_mcp-0.4.2-py3-none-any.whl.
File metadata
- Download URL: openroad_mcp-0.4.2-py3-none-any.whl
- Upload date:
- Size: 54.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
50b4a14c2f899ece41035ca8f72ebb28e8a34a924f60656f10084025367ef98b
|
|
| MD5 |
62a4b0e0c7f2761b29ba5a6e886ef8b6
|
|
| BLAKE2b-256 |
4d83c2c5fb89126473448b424942650a00395802cd270e04a34b8534840902c8
|
Provenance
The following attestation bundles were made for openroad_mcp-0.4.2-py3-none-any.whl:
Publisher:
release.yml on luarss/openroad-mcp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
openroad_mcp-0.4.2-py3-none-any.whl -
Subject digest:
50b4a14c2f899ece41035ca8f72ebb28e8a34a924f60656f10084025367ef98b - Sigstore transparency entry: 1193366844
- Sigstore integration time:
-
Permalink:
luarss/openroad-mcp@aa65282c5979b34451ac7a36e483c55a5fbcf505 -
Branch / Tag:
refs/tags/v0.4.2 - Owner: https://github.com/luarss
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@aa65282c5979b34451ac7a36e483c55a5fbcf505 -
Trigger Event:
push
-
Statement type: