Autorestic MCP Server

Autorestic MCP Server Used AI

7 devlogs
5h 46m
•  Ship certified
Created by ollie

An MCP server that gives your AI models access to information about your backups. It exposes information such as how much space they are taking up, how many files are included and more!

Timeline

Wrote out a full guide on how to install including setting up autorestic to allow for reviewers to efficiently review.

Update attachment

Updated the instructions in my README to fix a previously incorrect snippet on how to install in VSCode! I think I have finished the project!

Update attachment

To finish off the project, I decided to comment all of the code to make it more maintainable in the future, and to help other people understand if they need!

Update attachment

Just added some more tools to my MCP server, making it much for useful!
I added:
list-backends: Lists the configured backend names from your Autorestic configuration. Call this first to discover valid backend identifiers.
get-repository-stats: Retrieves overall repository statistics for a given backend.
get-repository-config: Returns the full configuration details for a specific backend, including paths, types, and custom settings defined in .autorestic.yml.
list-snapshots: Lists all snapshots for a backend, returning snapshot IDs, creation timestamps, and metadata.
get-latest-snapshot: Fetches metadata for the most recent snapshot, including its ID and timestamp.

Update attachment

Ship 1

1 payout of shell 25.0 shells

ollie

over 1 year ago

ollie • Covers 3 devlogs and 4h 14m

This project was constructed as an exploration into the construction of MCP servers. When I have more time later I plan to add more tools and more options!
I planned these out in the README for future implementation.

Update attachment

Published my MCP server to NPM! Check it out here:
https://www.npmjs.com/package/autorestic-mcp

Update attachment

After many pains, the first functions of my mcp server are ready! It gives your AI models access to information about your backups!
If the AI is unsure about the name of your backup repository, it calls another tool to list them, before picking on from the list!

Update attachment