We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Arize-ai/phoenix'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
name: Generate Sitemap
on:
pull_request:
paths:
- "docs.json"
workflow_dispatch: # Allow manual trigger
permissions:
contents: write
pull-requests: write
jobs:
generate-sitemap:
runs-on: ubuntu-latest
# Don't run on PRs from forks (they don't have write access)
if: github.event.pull_request.head.repo.full_name == github.repository || github.event_name == 'workflow_dispatch'
steps:
- name: Checkout PR branch
uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
token: ${{ secrets.GITHUB_TOKEN }}
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Generate sitemap
run: python scripts/generate_sitemap.py
- name: Commit and push if changed
run: |
git config --local user.email "github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
git add sitemap.xml docs/phoenix/sitemap.xml
if git diff --staged --quiet; then
echo "No changes to commit"
else
git commit -m "chore: update sitemap.xml"
git push
fi