From 88b5dd1345791b13331d3d58b911823156f606fd Mon Sep 17 00:00:00 2001 From: internet-dot Date: Sun, 5 Apr 2026 21:54:21 +0000 Subject: [PATCH] Add Codex CLI plugin manifest and scanner CI --- .codex-plugin/plugin.json | 16 ++++++++++++++++ .github/workflows/codex-plugin-scanner.yml | 22 ++++++++++++++++++++++ .mcp.json | 10 ++++++++++ 3 files changed, 48 insertions(+) create mode 100644 .codex-plugin/plugin.json create mode 100644 .github/workflows/codex-plugin-scanner.yml create mode 100644 .mcp.json diff --git a/.codex-plugin/plugin.json b/.codex-plugin/plugin.json new file mode 100644 index 00000000..8b5eed0c --- /dev/null +++ b/.codex-plugin/plugin.json @@ -0,0 +1,16 @@ +{ + "name": "mcp-server", + "version": "0.1.0", + "description": "Mapbox Model Context Protocol (MCP) server", + "author": { + "name": "mapbox", + "url": "https://github.com/mapbox" + }, + "homepage": "https://github.com/mapbox/mcp-server", + "repository": "https://github.com/mapbox/mcp-server", + "keywords": [ + "mcp", + "codex" + ], + "mcpServers": "./.mcp.json" +} \ No newline at end of file diff --git a/.github/workflows/codex-plugin-scanner.yml b/.github/workflows/codex-plugin-scanner.yml new file mode 100644 index 00000000..ccc76049 --- /dev/null +++ b/.github/workflows/codex-plugin-scanner.yml @@ -0,0 +1,22 @@ +name: Codex Plugin Quality Gate + +on: + push: + branches: [main] + pull_request: + branches: [main] + +concurrency: + group: codex-plugin-scanner-${{ github.ref }} + cancel-in-progress: true + +jobs: + scan: + runs-on: ubuntu-latest + timeout-minutes: 10 + permissions: + contents: read + steps: + - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4 + - name: Codex plugin scanner + uses: hashgraph-online/hol-codex-plugin-scanner-action@b45d6b583afe05819b24edc8e6418c9ad2e1f1d0 # v1 diff --git a/.mcp.json b/.mcp.json new file mode 100644 index 00000000..f85f8867 --- /dev/null +++ b/.mcp.json @@ -0,0 +1,10 @@ +{ + "mcpServers": { + "mcp-server": { + "command": "node", + "args": [ + "dist/esm/index.js" + ] + } + } +} \ No newline at end of file