-
-
Notifications
You must be signed in to change notification settings - Fork 252
Open
Labels
Milestone
Description
This sub-issue covers the implementation of a Model Context Protocol (MCP) server for Freerouting. Standardizing interaction through MCP will allow AI applications to connect more efficiently to Freerouting as an external tool, enabling stateful actions like "upload board," "start autorouting," and "retrieve results" without exhausting the AI's context window with raw API documentation.
Goals
- Provide a standardized gateway for AI agents to interact with Freerouting.
- Convert existing REST API endpoints into discoverable MCP tools.
- Enable stateful session management within the AI agent's toolset.
Proposed Tools to Expose
create_session: Initializes a new routing session.upload_design: Uploads a.dsnfile to a session.start_autorouting: Triggers the routing process with specific parameters.get_routing_status: Polls for progress and logs.download_result: Retrieves the final.sesor DRC report.
Task List
- Architecture Design: Decide on the implementation language (Node.js/TypeScript is officially supported for MCP, but a Java-based implementation or bridge may be preferred for the Freerouting ecosystem).
- MCP Server Setup: Initialize the MCP server with standard protocol support (stdio or SSE).
- Tool Implementation: Map current API functionality to MCP tool definitions with clear natural language descriptions.
- Testing: Verify tool discovery and execution using an MCP-compatible client (e.g., Claude Desktop, Gemini).
- Documentation: Update the
docsdirectory with instructions on how to start and use the MCP server.
References
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
To do