Skip to main content
Glama

FastMCP Todo Server

Makefile1.66 kB
# Makefile for FastMCP Todo Server # set default device name to Omnispindle DeNa ?= omnispindle .PHONY: install run test coverage clean status deploy deploy-dry-run deploy-force # Install dependencies install: uv pip install -r requirements.txt uv pip install -r requirements-dev.txt # uv pip install -r requirements-prod.txt # Run the FastMCP server (HTTP - recommended for remote) run: fastmcp run src/Omnispindle/http_server.py COMMIT_HASH=$(git rev-parse --short HEAD) mosquitto_pub -h localhost -p 4140 -t "status/$(DeNa)/commit" -m "{\"commit_hash\": \"$(COMMIT_HASH)\"}" # Run the old SSE server (legacy) run-sse: python3.11 -m src.Omnispindle COMMIT_HASH=$(git rev-parse --short HEAD) mosquitto_pub -h localhost -p 4140 -t "status/$(DeNa)/commit" -m "{\"commit_hash\": \"$(COMMIT_HASH)\"}" # Run stdio server locally run-stdio: python3.11 -m src.Omnispindle.stdio_server # deploy deploy: cd Todomill_projectorium && make deploy # deploy-dry-run deploy-dry-run: cd Todomill_projectorium && make deploy-dry-run # deploy-force deploy-force: cd Todomill_projectorium && make deploy-force # Run tests test: python -m pytest tests/ # Run tests with coverage coverage: python -m pytest --cov=src tests/ # Clean up __pycache__ directories clean: find . -name "__pycache__" -exec rm -r {} + # Check status of submodules and remote PM2 processes status: git submodule foreach "git status" ssh eaws "pm2 ls" ssh saws "pm2 ls" sync: git submodule foreach "git pull || echo No changes" ssh eaws "cd ~/Omnispindle && git pull" ssh eaws "pm2 restart Omnispindle" sleep 2 && ssh eaws "pm2 logs Omnispindle --lines 10 && exit"

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/MadnessEngineering/fastmcp-todo-server'

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