feat: harden local stdio MCP, CI package smoke, CLAUDE.md conventions #64
Reference in New Issue
Block a user
Delete Branch "feat/local-mcp-hardening-and-ci"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Hardens the local stdio MCP transport, proves it end-to-end, records project conventions in
CLAUDE.md, and makes the Gitea workflows complete by testing the package build in CI.Local MCP (stdio) — made solid
_configure_stderr_logging()pins all logging to stderr and rewrites any stray stdout handler, so a log line can never corrupt the protocol (the classic stdio-MCP failure).build_server()from_serve().mcpin-memory transport:initialize+tools/list+tools/call, covering a successful round trip and a policy denial surfaced as an MCP error (not a crash).CLAUDE.md
build_servervs_serve).Workflows — complete & tested
packagejob intest.yml:uv build, then smoke-test both install profiles —aegis-gitea-mcpstdio entry exits 2 with an actionable message;[server]extra pulls in fastapi/uvicorn and imports the server entry.Verification