diff --git a/.codex-plugin/plugin.json b/.codex-plugin/plugin.json new file mode 100644 index 0000000..bf7da58 --- /dev/null +++ b/.codex-plugin/plugin.json @@ -0,0 +1,24 @@ +{ + "name": "magic-mcp", + "version": "0.1.0", + "description": "Frontend development assistant from Codex via 21st dev Magic", + "author": { + "name": "21st-dev", + "url": "https://github.com/21st-dev/magic-mcp" + }, + "homepage": "https://github.com/21st-dev/magic-mcp", + "repository": "https://github.com/21st-dev/magic-mcp", + "keywords": [ + "mcp", + "codex" + ], + "mcpServers": "./.mcp.json", + "interface": { + "displayName": "Magic MCP", + "shortDescription": "Frontend development assistant from Codex via 21st dev Magic", + "longDescription": "It is like v0 but in your Cursor/WindSurf/Cline. 21st dev Magic MCP server for working with your frontend.", + "category": "Development", + "websiteURL": "https://github.com/21st-dev/magic-mcp" + }, + "skills": "./skills/" +} \ No newline at end of file diff --git a/.github/workflows/plugin-quality-gate.yml b/.github/workflows/plugin-quality-gate.yml new file mode 100644 index 0000000..c60a724 --- /dev/null +++ b/.github/workflows/plugin-quality-gate.yml @@ -0,0 +1,20 @@ +name: Plugin Quality Gate + +on: + pull_request: + paths: + - ".codex-plugin/**" + - "skills/**" + - ".mcp.json" + +jobs: + scan: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Codex plugin quality gate + uses: hashgraph-online/hol-codex-plugin-scanner-action@v1 + with: + plugin_dir: "." + min_score: 80 + fail_on_severity: high diff --git a/.mcp.json b/.mcp.json new file mode 100644 index 0000000..6c148f5 --- /dev/null +++ b/.mcp.json @@ -0,0 +1,11 @@ +{ + "mcpServers": { + "magic-mcp": { + "command": "npx", + "args": [ + "-y", + "@21st-dev/magic@latest" + ] + } + } +} \ No newline at end of file diff --git a/skills/magic-mcp/SKILL.md b/skills/magic-mcp/SKILL.md new file mode 100644 index 0000000..9eacb7f --- /dev/null +++ b/skills/magic-mcp/SKILL.md @@ -0,0 +1,12 @@ +--- +name: magic-mcp +description: Frontend development assistant from Codex via 21st dev Magic +--- + +# Magic MCP for Codex + +Use Magic MCP from Codex via MCP. + +## When to use +- When you need magic-mcp capabilities in your Codex workflow +- See https://github.com/21st-dev/magic-mcp for full setup instructions