grouse-tools
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@grouse-tools notify me when the deployment finishes"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
grouse-tools
One goose extension for every grouse server-side feature. Add one URL to goose and the client gets attachments, notifications, thread notes and My Day — instead of three extension blocks across two containers.
This repo is the home of that extension: the MCP front door, the tool contract, the one-click installer, and the image/quadlet that run it.
goose ──MCP──▶ grouse-tools ──┬── attachments (in-process)
│ │ ├── notify (in-process, ACP into goose)
│ │ └── state (proxy → state store)
└──── ACP (chat) ────┘Install
Three shapes, one extension. Pick by where the server should live.
1. In goose itself, from PyPI — the one-block install. Press the uvx link in install.html,
or paste this into goose Desktop's deeplink handler:
goose://extension?cmd=uvx&arg=grouse-tools&name=grouse-tools&id=grouse-tools&timeout=300Nothing has to exist on the machine first. uvx fetches the package and runs the stdio
server. Works out of the box for the file tools; push and thread notes need the env below.
Until the package is on PyPI, use the git form — same install, but the repo must be public:
make deeplink-uvx SPEC=git+https://github.com/ccgauvin94/grouse-tools2. A server you run once — recommended where many chats are live. Build and run the image (or the quadlet) somewhere the goose server can reach, then install by URL:
podman build -t localhost/grouse-tools:latest -f Containerfile .
make deeplink URL=http://grouse-tools:8770/mcp3. A checkout on this machine — type: stdio in config.yaml. run_stdio.py is the same
server from a checkout; the block shape is in its docstring.
Whichever you pick, the extension is added as one block named grouse-tools. Enable it, then
open a new chat — goose freezes a session's tool list at creation.
For route 2, the URL is the one goose dials, not your browser's: http://grouse-tools:8770/mcp
on the same podman network, or a published/LAN address across hosts. The server is stateless
and safe to expose behind a bearer-checking proxy; it parses untrusted files, so keep it off
the public internet.
Related MCP server: Instagram DM MCP Server
Two transports, and when to use which
This is a goose extension either way — goose://extension installs an MCP server, and where
that server runs is a separate decision.
|
| |
shape | one process, every session | one child per session |
install | URL deeplink, works from any goose and any client |
|
best for | a server with many live chats | a laptop, a single-user install |
The per-session cost is the reason the container exists: measured on a goose server with 37
live sessions, stdio notify children alone were ~785 MB. A server should run the HTTP server
once. Both entry points call the same handle(), so the tool surface cannot drift between
them.
Desktop will only accept a stdio deeplink whose cmd is cu, docker, jbang, npx,
uvx or goose — python3 is refused there, so a python3 install is a config.yaml edit.
Publishing the package and installing via uvx is the one-click stdio path.
Tool contract
Everything below is a tool the client (or a recipe) may call. Names are load-bearing: a rename
is a coordinated client release, and tests/test_contract.py fails if one disappears.
group | tools | what it does |
files |
| the phone uploads in chunks; the agent shares a file by path and the client pulls the bytes on demand |
notify |
| a push to the phone; one line appended into a thread's own conversation; session housekeeping |
state |
| My Day's open loops and handovers, the thread map, an area's timeline (proxied to the state store) |
docs/TOOLS.md has the per-tool shapes and the invariants behind them.
Why the state half is proxied
The state store owns a SQLite schema, migrations, salience, a matcher and a maintenance
timer. Folding it in here would mean copying thousands of lines (a fork that drifts) or moving
a live store. Proxying keeps one tool surface for the client and leaves the store where it
belongs.
ASSISTANT_STATE_URL unset ⇒ the state tools are simply not advertised; everything else still
works, which is what makes this installable on a goose host that has no assistant.
Env
See .env.example. The three groups need:
files:
ATTACHMENTS_DIR(required),ATTACHMENTS_IMPORT_ROOTS, optional vision (VISION_URL/VISION_MODEL/VISION_API_KEY) fordescribe_image.notify:
GOOSE_ACP_HOST/GOOSE_ACP_PORT/GOOSE_SERVER__SECRET_KEY(ACP to the same goose),GOOSE_SESSIONS_DB(the sessions directory),GOOSE_PUSH_ENDPOINTas a bootstrap only — the live UnifiedPush endpoint is learned over ACP and left behind for the senders.state:
ASSISTANT_STATE_URL,ASSISTANT_STATE_TOKEN.
Compatibility with the legacy blocks
goose namespaces a tool by its extension block, so this block makes every tool
grouse-tools__<tool>. Deployments that still declare the old attachments, notify and
assistant-state blocks keep working unchanged; nothing here removes them. Moving a client to
the merged name is a client change (the core currently asks for assistantstate__…,
notify__…, attachments__…), tracked in docs/TOOLS.md.
Layout
src/grouse_tools/__init__.py the front door: TOOLS, handle(), routing, state proxy
src/mcp_http.py the stdlib Streamable-HTTP transport (no SDK, no pip)
vendor/ attachments_mcp + notify_mcp (a snapshot; scripts/sync-vendor.sh)
run_http.py the entry point (one process, every session)
run_stdio.py the stdio entry point (one child per session)
install.html, scripts/deeplink.py the one-click installer
Containerfile, deploy/ image + rootless podman quadlet
tests/ the tool contract (stdlib unittest)vendor/ is a snapshot of implementations that are developed elsewhere today, because a
container there serves them. scripts/sync-vendor.sh is the only sanctioned way to refresh
it; retire it when those packages move here.
License
AGPL-3.0-or-later, matching grouse.
Available Tools
14 toolsattachment_beginA
Start receiving a file from the client. Returns an uploadId to pass to attachment_chunk. Uploads are chunked because a single message has transport ceilings; 8 MiB of raw bytes (about 10.7 MiB base64) per chunk is comfortable.
Inputs: name (required), mime, size.
attachment_chunkB
Append one base64 slice of an in-progress upload. offset must equal the number of bytes already received; the server refuses a mismatch rather than guessing.
Inputs: data (required), offset (required), uploadId (required).
attachment_commitB
Finish an upload. Returns the absolute path the file now lives at, plus its sha256 and size. Reference that path in the prompt (a resource_link with a file:// URI) and the agent can read it with its own tools.
Inputs: uploadId (required).
attachment_extractA
Extract text from an uploaded file. Handles PDF (text layer), .docx and .xlsx, and any UTF-8 text format. Returns a character window so a long document can be read in pieces: pass offset to continue where the previous call stopped. An empty PDF result means it is a scan, not that extraction failed.
Inputs: path (required), offset, maxChars.
attachment_listB
List files already uploaded to the attachments directory.
Inputs: no named parameters.
attachment_readA
Read one window of a stored file, base64-encoded. Clients use this to download a shared file in chunks; offset continues where the previous call stopped and total says when you are done. Not for the model to call on large files — use attachment_extract for text, and never for showing a picture (that is attachment_share; this returns bytes into YOUR context instead of a card). STORE ONLY: this never reads an arbitrary path.
Inputs: path (required), mime, name, length, +2 more.
compact_threadA
Compact the assistant thread: summarise its history in place so it can keep being the same thread forever instead of being replaced. Call it exactly once and report what it returns. It is a no-op if the thread was already compacted today. Takes up to a few minutes on a long thread.
Inputs: no named parameters.
describe_imageA
Look at an image and answer in TEXT, using a vision model. Use this whenever an image needs interpreting and you cannot see images yourself. Pass the user's actual question so the answer is about what they asked, not a generic caption.
Inputs: image (required), question.
notifyA
Deliver text to the user: pushes it to the user's phone and posts it into the assistant thread. Calling this IS the delivery -- there is no other path, nothing else reads your final answer, and if you do not call it the user never sees the message. When to call it is the calling job's decision, stated in its own instructions.
Inputs: text (required), target.
nowA
Current local date and time, plus the overnight cutoff to bound message searches with. Call this FIRST in any scheduled run: nothing else here has a clock, and every 'today' you reason about depends on it.
Inputs: no named parameters.
purge_sessionsA
Permanently delete finished machine-created sessions. Two sweeps: archived scheduled runs older than the cutoff, and sub_agent/hidden sessions older than the cutoff (those are never archived, so age is the only condition). Never touches a chat, a live run, or the Assistant thread. Nightly housekeeping, not something to reach for when a list looks untidy.
Inputs: older_than_days.
thread_noteA
Append one line into a THREAD's own conversation — the chat filed under 'Thread: ' — so the area reads as a log of what the assistant did about it. Use it for the assistant's own actions ('Closed: the renewal request — Sam owns it'), not for news: notify is what reaches the user, this is what reaches the thread the user opens later. Cheap and deterministic: one row, no model turn. If the thread has no conversation yet the note is declined and reported, which is not an error to retry. The client also uses this to give a thread chat its CONTEXT: one note per item it holds, carrying the title, the detail behind it and the row's id, re-offered on every open and written only when the key is new.
Inputs: text (required), thread (required), key, once.
tidy_sessionsA
Archive finished scheduled-job sessions, including this one. They are the per-run working sessions the scheduler creates; the results already live in the Assistant thread, so the runs themselves are clutter in every client. Archiving hides them without deleting anything. Call this LAST, once the real work is done.
Inputs: keep.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 14 tools
The attachment_* family is the main risk area, but the descriptions explicitly carve boundaries (attachment_share for showing files, attachment_read for client byte downloads, attachment_extract for text, describe_image for vision). tidy_sessions vs purge_sessions (archive vs permanent delete) and compact_thread vs thread_note (thread summarisation vs thread log) are clearly distinguished. Only attachment_read vs attachment_extract remain mildly confusable since both return offset/total character windows from a stored file.
All names are snake_case, and the seven attachment_* tools form a clean resource-prefixed family (begin/chunk/commit/share/read/list/extract). The rest are verb_noun (compact_thread, describe_image, tidy_sessions, purge_sessions, thread_note) with two bare verbs (notify) and one noun (now) that break the pattern slightly but stay readable and unambiguous.
14 tools is comfortably within a well-scoped range, and each tool maps to a real operation. The set is slightly heavy on attachment plumbing (begin/chunk/commit is three calls for one logical action), but that is justified by the stated transport chunking constraint rather than redundancy.
The surface covers upload, read, extract, share and list for attachments, but there is no attachment_delete/cleanup and no way to abort a failed in-progress upload (begin/chunk/commit only). Threads can be written to via thread_note but never listed or read back, and `now` advertises an overnight cutoff 'to bound message searches' when no message-search tool exists in this set, leaving a dangling dead end.
Maintenance
Related MCP Connectors
One MCP endpoint for all your connected apps, plus skills and workflows. Sign in once with OAuth.
Work with communication cases, clarification requests and prepared replies through the existing workflow. This listing retains the complete 52-tool Communications service and its existing full endpoint. For new tasks, start with Samuelz® Communications · Replies. Choose from Replies, Triage, Reply preparation, New email, Delivery checks, Assignments and duty, Repair evidence, Letter preparation, Physical mail intake at https://platform.samuelz.com/integrations?lang=en#communications. Each task view is a subset, not a replacement for the full service. Existing URLs and conversations keep working. Changing views grants no additional rights and does not migrate a running conversation. Prepared operations keep their identity and approval requirements; read their status before any recovery. Setup: In a remote MCP client that supports Streamable HTTP and OAuth, add https://platform.samuelz.com/api/v1/mcp/operator?toolset=communications. Sign in to Samuelz and select your authorized workspace. Active workspace membership and the relevant module permissions are required. Review requested permissions before authorizing. Existing human approvals and separate cost permissions continue to apply.
Search and manage your team's knowledge from MCP clients.
Manage tickets, run agents and workflows, query tables, and search workspace knowledge.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceProvides MCP tools that let an agent retrieve customer account, product usage, interaction, and support summaries, and create follow-up tasks after user approval.-
- FlicenseNot gradedqualityAmaintenanceEnables sending text, photo, and video messages, browsing and searching conversations, retrieving user details, downloading shared or uploaded media, and managing message status through MCP clients.-
- AlicenseBqualityCmaintenanceEnables MCP clients to search and manage customer support tickets, customer records, and knowledge base articles, with read-only and human-approved write workflows.81MIT
- AlicenseNot gradedqualityBmaintenanceEnables agents to list, read, mark, send, and manage notifications and preferences through MCP tools.89 npmMIT