Tallied

com.withtallied由 withtallied.com 发布官方发布者v0.1.0更新于 Oct 24, 2026

Log hours and invoice clients from your AI chat. Time tracking and invoicing for freelancers.

已验证Streamable HTTP可网页运行效率与工作流金融

概览

AI 生成的概览

Tallied 是一个远程计时与开票服务器,让 AI 助手记录工时、查看未开票时间并起草客户发票。

可以做什么
通过告诉助手你做了什么来记录工时,按工作区设置和费率解析时长并计算金额。查看未开票的工作并起草客户发票,发票 PDF 在服务进程内生成。运行补记、月末结算类流程,以及周报和客户开票,这些以随附技能和 MCP 提示的形式提供。账户设置、从 Toggl、Harvest 或 Clockify 导入 CSV 以及计费,通过小型网页应用而非对话完成。
适用场景
适合希望以对话方式记录可计费工时并生成发票的自由职业者和小型服务型业务,无需切换到单独的计时应用。当助手是主要界面、只在设置、导入或计费时偶尔使用网页应用时最合适。
运行要求
远程 MCP 端点,使用 Streamable HTTP 传输,OAuth 2.1 认证为必需。登录方式为 Google OIDC 或邮件魔法链接,无密码;首次使用者需在授权页面创建工作区。自托管需要 Node.js、Postgres,可选 SMTP 或 Resend 用于邮件,以及 Stripe 用于计费和支付链接。
安装前请注意
助手可以创建工时记录和起草发票,这些是对业务数据的写入操作。发票通过 Stripe 支付链接收款,因此计费和支付数据会发送给 Stripe。自托管需要 SESSION_SECRET 等密钥,以及可选的 STRIPE_SECRET_KEY、STRIPE_WEBHOOK_SECRET、GOOGLE_CLIENT_SECRET、SMTP_URL 和 RESEND_API_KEY。README 提到审核者访问码登录(REVIEWER_EMAIL、REVIEWER_ACCESS_CODE),审核后应移除。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Tallied,将其添加到工作区。
  2. 连接 所需的 凭据。它们会被私密存储,绝不会在公开页面上展示。
  3. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/com.withtallied%2Ftallied/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。 客户端会在首次连接时完成 OAuth 登录。

{
  "mcpServers": {
    "tallied": {
      "type": "http",
      "url": "https://withtallied.com/mcp"
    }
  }
}

README

Tallied

Tallied is a time-tracking and invoicing MCP server. It's connector-first: Claude and ChatGPT (or any MCP client) are the primary UI — you tell an assistant what you worked on and it logs the hours, ask what's unbilled and it drafts the invoice. A minimal web app handles the things chat is bad at: account settings, CSV import, and billing. Clients pay invoices through a Stripe payment link on a public, tokenized page.

Claude / ChatGPT / MCP client        │  MCP over Streamable HTTP (OAuth 2.1 bearer token)        ▼┌───────────────────────────────────────────────┐│  one origin (BASE_URL)                         ││  /mcp            MCP endpoint                  ││  /authorize /token /register /revoke           ││                   OAuth 2.1 authorization server││  /app/*          web app (settings, import,     ││                   billing)                      ││  /i/<token>      public invoice page + PDF      │└───────────────────────────────────────────────┘        │                    │                │        ▼                    ▼                ▼    Postgres              Stripe        SMTP / Resend (workspaces, entries,  (subscriptions,  (magic links,  invoices, tokens,      payment links)   invoice emails)  audit log)                                          pdfkit (invoice PDFs, in-process)

Quick start

bash
cp .env.example .envnpm installnpm run db:up          # postgres via docker compose, localhost:5433npm run db:migrate     # applies src/db/schema.sql idempotentlynpm run db:seed        # seeds a demo workspace; prints the login email# In production (compiled image, no tsx): node dist/scripts/seed.js [email protected]npm run build:app      # builds the MCP App UI bundle into app/dist/app.htmlnpm run dev            # tsx watch src/index.ts

Then connect with the MCP Inspector:

bash
npm run inspector

Choose Streamable HTTP, point it at http://localhost:3000/mcp, and connect. The inspector will hit the OAuth flow and open the login page in your browser. Without SMTP_URL or RESEND_API_KEY set, magic-link sign-in doesn't send an email — the link is printed to the server log and also shown directly on the "check your email" page, so local dev never needs a real mailbox.

Project layout

src/  index.ts       entry point  config.ts      env vars, plans, scopes  db/            schema.sql, migration runner, query helpers  lib/           dates, duration parsing, rates, ids, errors, money  services/      workspace, time entries, invoices, propose (catch-up), audit  mcp/           McpServer setup: tools, resources, prompts (src/mcp/server.ts)  auth/          OAuth provider, login/consent routes, sessions, Google OIDC  http/          express app, docs/marketing routes, web app routes, invoice pages  import/        CSV import (Toggl/Harvest/Clockify)  stripe/        billing checkout, Connect onboarding, webhook handling  email/         email sending via SMTP (nodemailer) or Resend (magic links, invoice emails)  pdf/           invoice PDF rendering (pdfkit)app/             MCP App UI source; scripts/build-app.ts bundles it into app/dist/app.html,                 which src/mcp/app-resource.ts embeds as an MCP UI resource and                 src/http/routes/invoice-public.ts reuses for the public invoice pageskills/          bundled Claude skills (log-day, catch-up, weekly-report,                 invoice-client, month-close) — also exposed as MCP prompts.claude-plugin/  Claude plugin/connector manifest.codex-plugin/   ChatGPT/Codex plugin manifestdocs/            privacy.md, terms.md, docs.md, landing.md, llms.txt — served live                 at /privacy, /terms, /docs, /, and /llms.txt by src/http/routes/docs.tstest/            unit tests (vitest) and the golden prompt set

Environment variables

VariableRequiredPurpose
NODE_ENVno (default development)production enables prod-only behavior (rate limiting, no dev magic-link shortcut)
PORTno (default 3000)HTTP port
BASE_URLno (default http://localhost:3000)Public origin. Everything — MCP, OAuth, web app, invoice pages — is served from here by default
MCP_URLno (default ${BASE_URL}/mcp)Override to put the MCP endpoint on its own subdomain
AUTH_ISSUER_URLno (default BASE_URL)Override to put the OAuth authorization server on its own subdomain
APP_URLno (default ${BASE_URL}/app)Override to put the web app on its own subdomain
DATABASE_URLno (default local docker-compose Postgres)Postgres connection string
SESSION_SECRETyes in productionSigns session cookies and magic links; openssl rand -hex 32
GOOGLE_CLIENT_ID / GOOGLE_CLIENT_SECRETnoEnables "Continue with Google"; omit to offer only magic links
REVIEWER_EMAIL / REVIEWER_ACCESS_CODEnoEnables an access-code sign-in for directory reviewers into one seeded account. Remove after review
SMTP_URLnoAny SMTP provider, e.g. smtps://LOGIN:[email protected]:465; takes precedence over Resend
RESEND_API_KEYnoAlternative to SMTP_URL. With neither set, emails are printed to the log (dev only)
EMAIL_FROMnoFrom address for outbound email
STRIPE_SECRET_KEYnoEnables billing checkout and invoice payment links
STRIPE_WEBHOOK_SECRETno (required if STRIPE_SECRET_KEY is set)Verifies /webhooks/stripe payloads
STRIPE_PRICE_PRO / STRIPE_PRICE_TEAMnoPrice IDs for the paid plans
STRIPE_CONNECT_FEE_BPSno (default 0)Optional platform fee, in basis points, on Connect payment links
PRODUCT_NAMEno (default Tallied)Used in emails, docs pages, and MCP server metadata
SUPPORT_EMAILno (default support@localhost)Shown in docs and consent screens

See .env.example for the same list with inline comments.

OAuth notes

  • The @modelcontextprotocol/sdk router (mcpAuthRouter) provides the protocol surface: dynamic client registration, PKCE (S256), a form-encoded token endpoint, and RFC 8414 + RFC 9728 discovery metadata. src/http/app.ts mounts it at AUTH_ISSUER_URL and wires it to TallyOAuthProvider (src/auth/provider.ts), which persists clients, codes, and tokens in Postgres.
  • Identity is Google OIDC or an emailed magic link — no passwords. See src/auth/routes.ts.
  • The OAuth consent screen is signup. A user with no workspace yet gets an onboarding card (business name, default rate, currency, timezone) inline on the consent page; clicking Allow creates the workspace and completes the authorization in one step.
  • Tokens are opaque and hashed at rest (never stored in plain text). Access tokens last 1 hour; refresh tokens last 30 days and rotate on every use, with reuse detection (a reused, already-rotated refresh token revokes the whole token family).
  • To swap in a hosted identity/OAuth provider (Clerk, WorkOS, Stytch) instead of TallyOAuthProvider, replace it with the SDK's ProxyOAuthServerProvider, which delegates the same protocol surface to an upstream authorization server.

Deployment

Tallied runs on any host that gives you a stable HTTPS origin — Fly.io, Railway, Render, or similar.

  1. Set BASE_URL to your public origin. Set MCP_URL, AUTH_ISSUER_URL, and/or APP_URL only if you're splitting those surfaces across subdomains.
  2. npm run build (runs build:app then tsc), then npm start.
  3. Point your Postgres at DATABASE_URL and run npm run db:migrate.
  4. If using Stripe, register a webhook endpoint at ${BASE_URL}/webhooks/stripe subscribed to checkout.session.completed, payment_intent.succeeded, customer.subscription.updated, and customer.subscription.deleted.
  5. If using Google sign-in, add ${BASE_URL}/oauth/google/callback as an authorized redirect URI in the Google OAuth client.

Testing

  • npm test — unit tests (vitest).
  • test/golden-prompts.json — a hand-curated set of prompts and expected tool-call behavior. It's run manually, in both Claude and ChatGPT, before any change to tool names, descriptions, or input schemas — those are effectively a public API for the model and regressions there don't show up in unit tests.

Submission checklists

Before submitting to a connector directory, see docs/listing.md for store-listing copy and screenshots, and the product spec's submission checklist for the full requirements. Note that Claude's connector directory requires the submitting organization to be on a Team (or Enterprise) plan.

来源:README.md,提交 8ecfec8

工具

0
该服务器需要登录,因此 SourceWeft 无法在没有账号的情况下读取其工具,也未收录。已连接账号所能看到的内容可能因账号及其权限而异。

版本历史

1
  1. v0.1.0最新Sep 16, 2026

评分

已满足适用检查项的 75%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分

    请在仓库或注册中心条目中声明许可证。