Celery Tasks

Celery tasks of the MCPServer app, which keep the MCPServer’s index of the repositories and the blog up to date.

  • index_repository() brings one repository’s index up to date. The MCP server’s tools queue it for a repository that is not indexed yet.

  • index_blog() brings the blog’s index up to date with its published posts.

  • index_repositories() queues index_repository() for every repository of The Smarter Project, and index_blog(). Celery Beat runs it hourly, and manage.py initialize_platform queues it. A repository whose branch has not moved costs one request to the GitHub api, and the blog one request per 100 posts.

A repository that cannot be indexed is recorded in its index’s error. It is not an error of the task, so the tasks do not retry.

Note

Experimental. The MCPServer was designed and coded by Claude Code (Anthropic’s Claude Opus 5.5), with Lawrence McDaniel as co-author. It is experimental, and will be documented.