name: unit tests
on:
pull_request:
branches:
- main
paths:
- 'mods/**'
- 'package.json'
- 'package-lock.json'
- '.env.example.dev'
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: "22.x"
- name: Install dependencies and build
run: |
npm install
npm run build
- name: Run unit tests
run: |
# FIXME: This is a workaround to prevent the unit tests from failing
cp .env.example.dev .env
sed -i "s|AUTOPILOT_INTEGRATIONS_FILE=.*|AUTOPILOT_INTEGRATIONS_FILE=./config/integrations.example.json|g" .env
npm run test
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/fonoster/fonoster'
If you have feedback or need assistance with the MCP directory API, please join our Discord server