Files
ARUNAVO RAY 1b60a0334a feat: read only API keys and an MCP endpoint over the REST API (#478)
- Read only API keys: an Access choice when creating a key, stored in
  the key metadata; the middleware refuses writes and most auth calls
  for them with 403 API_KEY_READ_ONLY.
- POST /api/mcp: stateless MCP endpoint with 8 tools that call the REST
  API over loopback with the caller's key. Needs x-api-key, a cookie
  alone gets 401. MCP_INTERNAL_URL overrides the loopback address.
- mcp/: gitea-mirror-mcp, a zero dependency stdio bridge to /api/mcp for
  Claude Desktop and Cursor, with a CI workflow that publishes it on an
  mcp-v* tag.
- e2e spec for keys, the endpoint and the bridge; docs for the endpoint,
  the bridge and read only keys.
2026-10-26 16:07:18 +05:30

67 lines
617 B
Plaintext

# Version control
.git
.gitignore
.github
# Node.js
node_modules
# We don't exclude bun.lock* as it's needed for the build
npm-debug.log
yarn-debug.log
yarn-error.log
# Build outputs
dist
build
.next
out
www
mcp
# Environment variables
.env
.env.local
.env.development
.env.test
.env.production
# IDE and editor files
.idea
.vscode
*.swp
*.swo
*~
# OS files
.DS_Store
Thumbs.db
# Test coverage
coverage
.nyc_output
# Docker
Dockerfile
.dockerignore
docker-compose.yml
docker-compose.*.yml
# Documentation
README.md
LICENSE
docs
# Temporary files
tmp
temp
*.tmp
*.temp
# Logs
logs
*.log
# Cache
.cache
.npm