Skip to content

[Feature]: MCP Server Mode (Headless + Tool Exposure) #274

@258044aamm-Dev

Description

@258044aamm-Dev

Enable Open CoDesign to run as a Model Context Protocol (MCP) server, so it can be used by external MCP clients.


🎯 Motivation
It would be highly valuable to support server mode, enabling:

  • Integration with external MCP clients (Claude, custom agents)
  • Automated design workflows
  • Headless usage in pipelines

🧠 Proposed Solution

Add a CLI flag to run as MCP server:

open-codesign --mcp-server

Expose tools like:

  • generate_design
  • update_component
  • export_html
  • export_react

💡 Use Cases

  • AI agents generating UI automatically
  • CI/CD pipelines generating pages
  • Integration with MCP ecosystem

🙋 Willing to contribute

Happy to help design or test this feature.

Proposed solution

🧠 Proposed Solution
Add a CLI flag to run as MCP server:
open-codesign --mcp-server
Expose tools like:
generate_design
update_component
export_html
export_react
🔌 Example MCP Config
{
"mcpServers": {
"open-codesign": {
"command": "uvx",
"args": [Here Argument]
}
}
}

Alternatives considered

No response

Scope

Provider / model

Hard-constraints check

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesttriageAwaiting maintainer review

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions