Joining them up
MCP connector
This is the bit that lets me talk to my own apps. It's a small server that gives an AI assistant a set of tools for all three, using the Model Context Protocol. There's no live demo because a public connector would be an open door into them.
What I use it for
Mostly from my phone. "What are we low on?" in the supermarket. "I've just primed the Sentinel Guard, twenty minutes" when I've got paint on my hands and don't want to touch the screen. "What was the name of that harbourmaster?" in the middle of a session.
When it changes something, it goes through the app's normal interface, the same one the web page uses. It never writes to a database directly, so it can't do anything I couldn't do by tapping.
Tools
| App | Tools | Access |
|---|---|---|
| In stock | Read stock, read the shopping list, set a stock level, add to the list | Read and write |
| Workbench | Overview, tasks and paints; log time, complete a task, set a model's stage, update a paint | Read and write |
| SeshHub wiki | Search, read a page, list sessions, read a recap | Read only, published pages only |
| SeshHub tickets | List, read, create, update, merge and rename tickets; read and work through a bundle | Read and write |
| Server | Health summary: disk, service states, certificate expiry, backup age | Read only |
How it's built
- One endpoint. MCP over HTTP, written in Python with nothing outside the standard library.
- Signing in. OAuth, with the assistant's app registering itself. I approve it once with a password, and attempts are rate-limited.
- Asking first. Every tool is marked as either reading or changing. Reading just happens. Anything that changes data asks me every time.
- No special powers. It signs in to each app as an ordinary user. On the wiki it can only see pages that are already published.
- Quiet logs. Method, path and status. No queries, no request bodies, no tokens.
- Tested against the real thing. The tests start throwaway copies of all three apps and run the sign-in, the protocol and every tool against them.
What it looks like
You
We're out of coffee. Also I just primed the Sentinel Guard, took about twenty minutes.
Assistant
I'll add coffee beans to the shopping list, and log 20 minutes of priming across the three Sentinel Guard and mark that step done. Both of those change things, so OK to go ahead?
You
Yep.
Assistant
Done. Coffee beans are on the list, and the Sentinel Guard are now Primed with 20 minutes logged between them.