moxie-mcp
A remote MCP server for the Moxie Public API, deployable to Cloudflare Workers. Exposes all 29 documented Moxie endpoints as MCP tools for managing clients, contacts, projects, tasks, invoices, payments, and more.
README
Moxie MCP server
A remote MCP server for the Moxie Public API, deployable to Cloudflare Workers (per the Cloudflare remote MCP guide). Exposes all 29 documented Moxie endpoints as MCP tools — clients, contacts, projects, tasks, invoices, payments, expenses, time entries, opportunities, tickets, calendar, and attachments.
How it works
src/index.ts defines a McpAgent (Durable Object) running an McpServer. Tools are
data-driven from a single TOOLS table; each call proxies to Moxie with the X-API-KEY
header. Two transports are mounted:
POST /mcp— streamable HTTP (use this for new clients)GET /sse— SSE (legacy clients)
Configure
Get MOXIE_API_KEY + MOXIE_BASE_URL from Moxie:
Workspace settings → Connected Apps → Integrations → Enable Custom Integration.
npm install
# Secrets (encrypted, per Cloudflare):
npx wrangler secret put MOXIE_API_KEY # your Moxie workspace API key
npx wrangler secret put MCP_LOGIN_PASSWORD # password you'll type when connecting
# One-time: KV namespace for OAuth tokens (already created if id is in wrangler.jsonc):
npx wrangler kv namespace create OAUTH_KV # paste the id into wrangler.jsonc
MOXIE_BASE_URL is a plain var in wrangler.jsonc — change the pod to yours.
Auth
The server is an OAuth 2.1 provider (@cloudflare/workers-oauth-provider): /mcp and
/sse require a valid token, and connecting clients hit a login screen that checks
MCP_LOGIN_PASSWORD. This is what makes it usable as a Claude custom connector
(claude.ai / Desktop / mobile), which authenticate via OAuth, not static headers.
Run & deploy
cp .dev.vars.example .dev.vars # fill in, then:
npm run dev # local at http://localhost:8787/mcp
npm test # helper self-checks
npm run typecheck
npm run deploy # → https://moxie-mcp.<subdomain>.workers.dev/mcp
Connect a client
Claude custom connector (cross-platform — claude.ai, Desktop, mobile, Cowork):
Settings → Connectors → Add custom connector → paste the deployed /mcp URL
(https://moxie-mcp.<subdomain>.workers.dev/mcp). Claude runs the OAuth flow and shows
the login screen; enter your MCP_LOGIN_PASSWORD. Requires a Pro/Max/Team/Enterprise plan.
Claude Code speaks HTTP MCP natively and will do the same OAuth flow:
claude mcp add --transport http moxie https://moxie-mcp.<subdomain>.workers.dev/mcp
Clients that only support stdio (e.g. older Claude Desktop) need the mcp-remote bridge, which handles the OAuth login:
{
"mcpServers": {
"moxie": { "command": "npx", "args": ["-y", "mcp-remote", "https://moxie-mcp.<subdomain>.workers.dev/mcp"] }
}
}
Notes
- Exact-name rule: write tools reference other records by exact name. Call a
*_list/*_searchtool first and copy the value verbatim — the #1 cause of failures. - Rate limit: 100 requests / 5 min → tools surface a clear 429 message.
- Auth: OAuth 2.1 via
@cloudflare/workers-oauth-provider, gated by a singleMCP_LOGIN_PASSWORDlogin (one user). For real multi-user access, swap the password screen inauthHandlerfor an upstream IdP (GitHub/Google) per the Cloudflare guide. - Attachments:
attachments_createtakes base64 (no local FS on Workers);attachments_create_from_urlis preferred when the file is already at an HTTPS URL. Signed URLs returned expire after 15 min.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.