Command Palette

Search for a command to run...

UnylyUnyly
Весь каталог

Moxie

БесплатноНе проверен

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, con

GitHubEmbed

Описание

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

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 / *_search tool 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 single MCP_LOGIN_PASSWORD login (one user). For real multi-user access, swap the password screen in authHandler for an upstream IdP (GitHub/Google) per the Cloudflare guide.
  • Attachments: attachments_create takes base64 (no local FS on Workers); attachments_create_from_url is preferred when the file is already at an HTTPS URL. Signed URLs returned expire after 15 min.

from github.com/Joshlucpoll/moxie-mcp

Установка Moxie

У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.

▸ github.com/Joshlucpoll/moxie-mcp

FAQ

Moxie MCP бесплатный?

Да, Moxie MCP бесплатный — установка в пару кликов через Unyly без оплаты.

Нужен ли API-ключ для Moxie?

Нет, Moxie работает без API-ключей и переменных окружения.

Moxie — hosted или self-hosted?

Доступен hosted-вариант: Unyly запускает сервер в облаке, локальная установка не обязательна.

Как установить Moxie в Claude Desktop, Claude Code или Cursor?

Открой Moxie на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.

Похожие MCP

Compare Moxie with

Не уверен что выбрать?

Найди свой стек за 60 секунд

Автор?

Embed-бейдж для README

Похожее

Все в категории development