diff --git a/.codex-plugin/plugin.json b/.codex-plugin/plugin.json new file mode 100644 index 0000000..0cd2250 --- /dev/null +++ b/.codex-plugin/plugin.json @@ -0,0 +1,25 @@ +{ + "name": "fastapi-mcp", + "version": "0.1.0", + "description": "Expose FastAPI endpoints as MCP tools for Codex", + "author": { + "name": "tadata-org", + "url": "https://github.com/tadata-org/fastapi_mcp" + }, + "homepage": "https://github.com/tadata-org/fastapi_mcp", + "repository": "https://github.com/tadata-org/fastapi_mcp", + "keywords": [ + "mcp", + "fastapi", + "codex" + ], + "mcpServers": "./.mcp.json", + "interface": { + "displayName": "FastAPI MCP", + "shortDescription": "Expose FastAPI endpoints as MCP tools", + "longDescription": "Expose your FastAPI endpoints as Model Context Protocol (MCP) tools, with auth support.", + "category": "Development", + "websiteURL": "https://github.com/tadata-org/fastapi_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..c382fc0 --- /dev/null +++ b/.mcp.json @@ -0,0 +1,10 @@ +{ + "mcpServers": { + "fastapi-mcp": { + "command": "uvx", + "args": [ + "fastapi-mcp" + ] + } + } +} \ No newline at end of file diff --git a/skills/fastapi-mcp/SKILL.md b/skills/fastapi-mcp/SKILL.md new file mode 100644 index 0000000..c67f2fe --- /dev/null +++ b/skills/fastapi-mcp/SKILL.md @@ -0,0 +1,8 @@ +--- +name: fastapi-mcp +description: Expose FastAPI endpoints as MCP tools for Codex +--- + +# FastAPI MCP for Codex + +Expose FastAPI endpoints as MCP tools. See https://github.com/tadata-org/fastapi_mcp for setup.