Add JSON API endpoint, CLI tool, and MCP server

- Add /api/finger and /api/finger/<username> JSON endpoints
- Remove hardcoded default credentials from config.py; require BASIC_AUTH_USERS env var
- Add cli/finger.py: query and plan-upload CLI using the JSON API
- Add mcp/server.py: FastMCP server exposing finger_user and upload_plan tools
- All credentials and base URL are read from environment variables
This commit is contained in:
waffle2k
2026-05-07 12:03:23 -07:00
parent 1e53363271
commit 178d3f361c
6 changed files with 227 additions and 14 deletions
+2
View File
@@ -0,0 +1,2 @@
mcp[cli]
requests>=2.31.0