Skip to main content
Glama

Agents Library MCP Server

Taskfile.yml2.59 kB
--- version: '3' vars: VER: '2.5' SOURCE: 'source venv/bin/activate' DOCKER_REPO: 'nicholaswilde/mcp-server' IMAGE: 'nicholaswilde/mkdocs-material' PORT: 8000 tasks: export: desc: "Export task list" cmds: - task -l > task-list.txt serve: desc: >- Start development server on http://0.0.0.0:{{ .PORT }} using Docker and mkdocs-material cmds: - >- docker run --rm -it -p {{ .PORT }}:{{ .PORT}} -v ${PWD}:/docs --platform linux/amd64 {{ .IMAGE }} serve --dev-addr 0.0.0.0:{{ .PORT }} -f ./mkdocs.yml build: desc: "Build and push the Docker image for multiple architectures (amd64, arm64)." cmds: - docker buildx build --platform linux/amd64,linux/arm64 -t {{ .DOCKER_REPO }}:latest --push . compile: desc: "Compile requirements.in to update requirements.txt." cmds: - ./venv/bin/pip-compile requirements.in default: desc: "List all available tasks." cmds: - task -l silent: true docker-run: desc: "Run the Docker container." cmds: - docker run -p 8080:8080 {{ .DOCKER_REPO }} gflash: desc: "Run Gemini with the gemini-{{ .VER }}-flash model." cmds: - gemini -m gemini-{{ .VER }}-flash glite: desc: "Run Gemini with the gemini-{{ .VER }}-flash-lite model." cmds: - gemini -m gemini-{{ .VER }}-flash-lite gpro: desc: "Run Gemini with the gemini-{{ .VER }}-pro model." cmds: - gemini -m gemini-{{ .VER }}-pro install: desc: "Install Python dependencies using pip-sync." cmds: - ./venv/bin/pip-sync install-pre-commit: desc: "Install pre-commit hooks for the repository." cmds: - pre-commit install lint: desc: "Run linting and formatting checks using ruff." cmds: - ./venv/bin/ruff check . - ./venv/bin/ruff format . --check # Use --check in CI to only verify formatting pre-commit-run: desc: "Run all pre-commit hooks on all files." cmds: - ./venv/bin/pre-commit run --all-files ruff: desc: "Run ruff checks and formatting." cmds: - ./venv/bin/ruff check . --fix - ./venv/bin/ruff format . run: desc: "Run the FastAPI server locally." env: AGENTS_LIBRARY_PATH: "{{ .TASKFILE_DIR }}/agents-library" cmds: - | {{ .TASKFILE_DIR }}/venv/bin/python -m uvicorn app.server:app --host 0.0.0.0 --port 8080 --reload ignore_error: true test: desc: "Run Python unit tests using pytest." cmds: - | PYTHONPATH=. ./venv/bin/pytest tests/test_server.py -s

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/nicholaswilde/mcp-server'

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