mirror of
https://github.com/RayLabsHQ/gitea-mirror.git
synced 2026-10-30 22:21:58 +01:00
- 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.
67 lines
617 B
Plaintext
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
|