Skip to main content
Glama
test.yml1.1 kB
name: Test on: push: branches: [ main, dev ] pull_request: branches: [ main, dev ] jobs: test: runs-on: ubuntu-latest strategy: matrix: python-version: ["3.12"] steps: - uses: actions/checkout@v4 - name: Install uv uses: astral-sh/setup-uv@v5 with: enable-cache: true cache-dependency-glob: "uv.lock" - name: Set up Python ${{ matrix.python-version }} run: uv python install ${{ matrix.python-version }} - name: Install dependencies run: uv sync --all-extras --dev - name: Lint with ruff run: | uv run ruff check . uv run ruff format --check . - name: Type check with pyright run: uv run pyright - name: Run tests run: uv run pytest tests/ -v env: OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }} - name: Test MCP server startup run: | timeout 5s uv run docs-mcp || [ $? -eq 124 ] env: OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }} DOCS_BASE_DIR: ${{ github.workspace }}

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/herring101/docs-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server