We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/tylerburleigh/foundry-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
name: Lint
on:
push:
branches: [main, beta]
pull_request:
branches: [main, beta]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.11"
cache: pip
- name: Install dependencies
run: pip install -e '.[dev]'
- name: Ruff format check
run: ruff format --check src/ tests/
- name: Ruff lint check
run: ruff check src/ tests/ --statistics
- name: Pyright ratchet
continue-on-error: true
run: |
pyright --outputjson > /tmp/pyright-output.json || true
python3 -c "
import json, sys
with open('/tmp/pyright-output.json') as f:
data = json.load(f)
errors = data['summary']['errorCount']
with open('.pyright-threshold') as f:
threshold = int(f.read().strip())
print(f'Pyright errors: {errors} (threshold: {threshold})')
if errors > threshold:
print(f'FAIL: error count {errors} exceeds threshold {threshold}')
sys.exit(1)
elif errors < threshold:
print(f'INFO: error count improved! Update .pyright-threshold to {errors}')
else:
print('OK: error count at threshold')
"