Otis MCP
This server has a remotely hosted endpoint. Open its connector listing for connection details, authentication requirements, and setup instructions:
Otis MCP
The source code of Otisbase, a free MCP server for client billing, built for consultants and small agencies.
Otis has no app or dashboard. Your AI assistant is the interface: it records clients, work, expenses and payments in Otis, and issues the invoices you approve. Otis stores the records and enforces the rules. It numbers invoices, calculates totals, requires your exact total before it issues an invoice, and never rewrites an issued invoice. Otis runs no AI model; every result comes from the records and the rules in this repository.
This repository is the complete service that runs at mcp.otisbase.com: the MCP server, email sign-in and the storage layer. It runs on Cloudflare Workers. The otisbase.com website is maintained separately.
Use the hosted service
Add this URL as a remote MCP server in your assistant:
https://mcp.otisbase.com/mcpSign-in uses OAuth with an email code, so there is no API key. How to install has a guide for Claude, ChatGPT, Claude Code, Codex, Cursor, Muse, Grok Bot and Mistral Vibe. The hosted service is free. Records are stored in the EU.
MCP docs: the endpoint, the rules and every tool.
Otis plugins, a menu and nine workflow skills for each assistant: Claude, ChatGPT and Codex, Grok and Cursor and other agents.
Skills: what each skill does.
Related MCP server: holdings-mcp
What Otis records
Area | Records |
Business | Business details, tax settings and invoice numbering, used by its owner |
Clients | Clients and their billing details |
Work | Billable time, services, reported AI usage and expenses |
Invoices | Drafts, issued invoices with immutable contents, discounts and tax |
Payments | Full and partial payments, with references that prevent duplicates |
Export | A complete export of the business records |
How it works
Part | Implementation |
Runtime | One Cloudflare Worker ( |
MCP server |
|
Sign-in |
|
Business records | SQLite in one Durable Object per business ( |
Accounts and sign-ins | Durable Objects ( |
OAuth state | Workers KV |
Cloudflare Email Sending, for sign-in codes and security notices | |
Data location | Durable Objects in the EU jurisdiction ( |
Sign-in pages | Server-rendered HTML with its own small stylesheet ( |
Every business operation checks the caller's current membership. Amounts are integers in minor units. Writes take a request ID, so a retried call does not record the same fact twice.
Repository layout
Path | Contents |
| Worker, MCP tools, sign-in, storage, billing rules and public docs |
| Integration tests in Cloudflare's local runtime |
| Live endpoint checks and the plugin generator |
Read the MCP docs before you change behavior. The rules agents follow are in src/docs.ts, src/descriptions.ts and src/workflows.ts, and the tests in test/ show the rules the server enforces.
Develop
You need Node 24 or newer.
npm ci
npm run check
npm testTests run in Cloudflare's local runtime. Email delivery is simulated in tests.
To run the Worker locally:
npm run dev -- --local --ip 127.0.0.1 --port 8788Then open http://127.0.0.1:8788/health. The local runtime uses local storage only.
The plugins for each assistant are generated from src/workflows.ts in the private project and published as their own repositories; Skills links them.
Self-host
You can run your own copy on a Cloudflare account. Edit wrangler.jsonc before you deploy:
Set
account_idto your Cloudflare account.Create a KV namespace for OAuth state and put its ID in
kv_namespaces. For EU storage, create it in the EU jurisdiction.Replace the two
routeswith your own domains.Set the
vars:ORIGIN: the URL of the MCP host.SITE_ORIGIN: the URL of your website. Website pages opened on the MCP host redirect there, and the sign-in pages link to its Terms and Privacy Policy.EMAIL_FROM: the sender for sign-in codes. The domain must be set up for Cloudflare Email Sending.FEEDBACK_TO: the address that receives feedback sent through thefeedback_sendtool.DO_JURISDICTION:eukeeps Durable Objects in the EU. Remove it to let Cloudflare choose.SIGN_IN_ENABLED:trueto allow sign-in.
Set
ratelimits.namespace_idto an ID that is unique in your account.
Then deploy:
npx wrangler login
npm run deployThe sign-in pages and emails name Otisbase. Change them in src/html.ts, src/auth.ts and src/notify.ts, and publish your own terms and privacy policy, before you offer your copy to other people.
Contribute
Bug reports, fixes and ideas are welcome. See CONTRIBUTING.md. To report a security problem, see SECURITY.md. You can also send feedback from your assistant: ask it to send feedback to Otis.
License
The code is released under the MIT License.
These items are not covered by the MIT License:
The Otisbase and Otis names and logos.
The Geist fonts in
src/fonts/, under the SIL Open Font License.
The copy and check icons in src/html.ts come from Phosphor Icons (MIT).
This server cannot be deployed
Maintenance
Related MCP Connectors
Month-end billing for consulting, architecture and engineering firms: your AI assistant previews each invoice from approved time, retainers and progress billing, then drafts them for your review. Also reports utilization, project profitability, WIP and cash flow.
Time tracking and invoicing for AI agents and their humans: track, log and bill work by agent.
Invoicing tools for AI assistants: clients, draft invoices with computed tax, and email sending.
Run your service firm from your AI: client work to review, clients, deliverables, invoices.
Related MCP Servers
- FlicenseNot gradedqualityBmaintenanceEnables AI agents to create and manage e-invoices through natural language, supporting EU compliance formats like ZUGFeRD and XRechnung, as well as US plain PDF invoices.7-
- AlicenseNot gradedqualityCmaintenanceLet your AI send invoices and take payment — card or ACH. Free. Every write is confirm-gated, and it connects Claude, ChatGPT, or Cursor to your Holdings workspace.MIT
- FlicenseNot gradedqualityDmaintenanceHosted MCP server that enables AI assistants to manage clients, invoices, and expenses via the Invox API, supporting actions like drafting, sending, cancelling, and marking invoices as paid, as well as logging expenses and updating client information.-
- AlicenseBqualityAmaintenanceEnables AI assistants to query and manage self-hosted accounting data—invoices, balances, and books—through natural language, with read-only tools by default and optional scoped write operations.3019 PyPI1AGPL 3.0