TenantAtlas/.codex/config.toml
Ahmed Darrazi b30ea50f8a
Some checks failed
PR Fast Feedback / fast-feedback (pull_request) Failing after 1m2s
chore: add gitea mcp server config
2026-06-06 13:52:56 +02:00

28 lines
716 B
TOML

[mcp_servers.laravel-boost]
command = "./scripts/platform-sail"
args = ["artisan", "boost:mcp"]
cwd = "/Users/ahmeddarrazi/Documents/projects/wt-plattform"
[mcp_servers.gitea]
command = "bash"
args = [
"-lc",
'''
set -euo pipefail
ROOT="/Users/ahmeddarrazi/Documents/projects/wt-plattform"
for candidate in "$ROOT/.env" "$ROOT/apps/platform/.env"; do
if [ -f "$candidate" ] && grep -q '^GITEA_ACCESS_TOKEN=' "$candidate"; then
set -a
. "$candidate"
set +a
export GITEA_HOST="https://git.cloudarix.de"
exec docker run -i --rm -e GITEA_HOST -e GITEA_ACCESS_TOKEN docker.gitea.com/gitea-mcp-server -t stdio
fi
done
echo "GITEA_ACCESS_TOKEN not found in repo .env files" >&2
exit 1
''',
]