8902c4f642
Add aegis_gitea_mcp.stdio_app: a single-user, local MCP server over stdio (official mcp SDK) that serves the same tools from the shared registry, resolves the PAT owner via GET /user and pins request context to it, and runs policy + WRITE_MODE + secret sanitization + audit while skipping the per-user repo probe (the operator is the trusted token owner). Audit log falls back to a per-user state path when the container default is unwritable. Packaging: split deps into core (httpx/pydantic/mcp/...) and a [server] extra (fastapi/uvicorn/PyJWT/python-multipart); add console scripts aegis-gitea-mcp (stdio) and aegis-gitea-mcp-server (guarded HTTP entry); bump to 0.2.0 and fix repo URLs. mcp added to requirements for CI. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
12 lines
207 B
Plaintext
12 lines
207 B
Plaintext
fastapi>=0.109.0
|
|
uvicorn[standard]>=0.27.0
|
|
httpx>=0.26.0
|
|
pydantic>=2.5.0
|
|
pydantic-settings>=2.1.0
|
|
PyYAML>=6.0.1
|
|
python-dotenv>=1.0.0
|
|
python-multipart>=0.0.9
|
|
structlog>=24.1.0
|
|
PyJWT[crypto]>=2.9.0
|
|
mcp>=1.2.0
|