
Locus
com.paywithlocus由 paywithlocus.com 发布官方发布者v0.3.40更新于 Nov 8, 2026
Pay-per-use APIs for agents: web research, data lookups, and metered endpoints billed to credits.
概览
Locus 为助手提供按次付费的网页研究、数据查询和计量式供应商 API,费用计入预付的工作区额度余额。
- 可以做什么
- 通过计量式供应商端点执行带引用的网页研究和付费数据或 API 查询
- 免费发现目录、获取费用报价并查看工作区额度余额
- 编写并运行托管 Workflow,支持固定数据、试点、版本化、取消与恢复
- 在仅支持 MCP 的主机上通过 get_locus_guide 获取带版本的操作用指南
- 可选地设置由代理持有的账户,包含收件箱与签名审批
- 适用场景
- 适合需要可溯源网页研究或付费第三方数据与 API 调用、又不想分别管理各家供应商密钥的助手;也适合希望用一份预付余额并按工作区设置支出上限的场景。适用于支持远程 MCP 与 OAuth 的编码代理和聊天客户端。
- 运行要求
- 远程 streamable HTTP 端点 api.paywithlocus.com;无需本地包、API 密钥或环境变量。需通过 OAuth 2.1 浏览器授权登录并动态注册客户端,并在 OAuth 页面创建账户。工具启用与额度充值需在仪表盘完成。部分客户端需安装插件或技能才能获得完整指引。
安装
在 SourceWeft 中
- 打开 控制台中的 Locus,将其添加到工作区。
- 连接 所需的 凭据。它们会被私密存储,绝不会在公开页面上展示。
- 为需要使用其工具的对话启用该服务。
Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。
交给智能体安装
把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。
阅读 https://sourceweft.com/mcp/com.paywithlocus%2Flocus/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。其他 MCP 客户端
把它添加到你客户端的 mcpServers 配置中。 客户端会在首次连接时完成 OAuth 登录。
{
"mcpServers": {
"locus": {
"type": "http",
"url": "https://api.paywithlocus.com/api/credits/mcp"
}
}
}README
Locus plugin
Pay-per-use APIs for coding agents. This plugin connects the Locus MCP server and teaches your agent how to use it well: cited web research, paid data and API lookups, and thousands of metered provider endpoints billed to one prepaid workspace credit balance.
One repo, many agents. Claude Code, Codex, and Grok can install the plugin directly today. Other clients can use the same repository's MCP configuration, three Agent Skills, or the one-URL bootstrap below.
What you get
- MCP server connection to
https://api.paywithlocus.com/api/credits/mcp(streamable HTTP). Sign-in is OAuth with browser consent; no keys are stored in configuration. - The
locusskill: operating instructions for the agent covering tool routing, cost quotes, idempotent billing, error recovery, and spend safety. - The
locus-setupskill: onboarding when the user asks the agent to do it. Human sign-up through the OAuth page is the default. Agent-owned accounts via AgentID exist for headless runtimes, and only they get agent-driven capability selection and a user-requested Stripe funding handoff; human-owned accounts manage both in the dashboard. - The
locus-workflowsskill: safe hosted Workflow authoring, fixtures, bounded pilots, immutable versions, and durable run recovery through the same authorized connection.
No account yet? Authenticate the server and create the account on the OAuth sign-in page that opens; that is the whole flow for a person with a browser. Tools are enabled and credits added in the dashboard at platform.paywithlocus.com.
Install
Claude Code CLI
Then run /mcp, select locus, and authenticate.
Already added the server manually as
locus-proviaclaude mcp add? Remove it first (claude mcp remove locus-pro) so you don't carry two connections to the same server.
Claude Code app
In Code, open Customize → Plugins → Add plugin → Add marketplace → Add from
a repository. Choose locus-technologies/locus-pro-plugin, select Sync,
then Add Locus. Authenticate the plugin from Terminal:
Complete browser consent, then start a new Code session. The plugin loads all three skills and the Locus MCP connection together.
If the login command says plugin:locus:locus is missing and
claude mcp get locus reports a legacy Local config, remove the shadowing
project entry with claude mcp remove locus -s local, restart Code, and retry.
Claude Cowork and claude.ai
Open Customize → Connectors → Yours → Add connector → Add custom connector.
Name it Locus, use
https://api.paywithlocus.com/api/credits/mcp, then connect through browser
OAuth. Under Customize → Skills → Yours → Add skill, upload all three:
ChatGPT.com
Enable Developer mode under Settings → Apps → Advanced settings, then open
Plugins → Create app. Use the production MCP URL above and OAuth. Start a
Work task and select Locus Pro from Plugins. This custom-app path
provides MCP tools. If the current Skills picker leaves the production
archives ineligible, keep the MCP app and use get_locus_guide for the same
versioned operating guides.
Codex CLI and app
Start a new CLI or desktop session after installation. The plugin loads all three Locus skills with the MCP connection.
Hermes
Send this prompt to Hermes:
The bootstrap installs a supported adapter and all three released skill trees,
then guides browser or device authentication. The official Hermes plugin
listing is still pending; hermes plugins install locus is not live yet.
Cline
Keep Remote (HTTP), choose OAuth, leave the client ID blank for dynamic registration, and complete sign-in in the browser. No clone, build, API key, or environment variable is required. Then install all three skills:
Select locus, locus-setup, and locus-workflows, then start a new session.
Cursor
Add the MCP server directly in ~/.cursor/mcp.json:
Cursor's OAuth flow completes in the browser on first use. Once the Locus
listing clears Cursor Marketplace review, you will also be able to install
it from Customize → Plugins (search "Locus") or with /add-plugin locus
in chat. Until then, install the three skills separately with
npx skills add locus-technologies/locus-pro-plugin and select all three.
Devin
In Devin, open Customize → Plugins → Add plugin → From repository and use
locus-technologies/locus-pro-plugin with subdirectory agents/devin. From the
Devin CLI:
Cloud sessions connect the server from the plugin's MCP under Customize → MCPs → Connect, which runs the same browser OAuth.
Grok
Grok requires explicit trust to install plugins (they can run MCP servers
and skills); review the repo, then pass --trust. Grok discovers the
server's OAuth automatically and opens the browser flow on first use.
OpenClaw
Send this prompt to OpenClaw:
The bootstrap installs a supported adapter and all three released skill trees. Current OpenClaw can unpack the marketplace bundle but does not import its MCP server, so do not use the marketplace route until that host behavior changes.
Muse and Instinct
Send either agent the same tested prompt:
Skill only (77+ agents)
Discovers the Locus usage, setup, and Workflow skills and installs your selection into whichever agents you have. The skills include the connection instructions; add the MCP server in your client's settings to make the tools available.
Any Agent Plugins client
Plain MCP (no plugin)
On file-capable clients, pair this with the Skill only install above. On an
MCP-only host, call get_locus_guide after connecting.
One-URL bootstrap and remote guides
Ask a capable agent to read https://paywithlocus.com/SKILL.md and set up
Locus. The bootstrap probes the actual host, preserves a healthy existing
connection, selects a supported adapter, and reports any browser consent,
restart, or runtime limitation still outstanding.
An MCP-only host does not need persistent files. After connecting, it can call
get_locus_guide to retrieve the same versioned skill and reference content
published in this repository. The public guide manifest is served from the
Locus API; customer-owned Workflow source and invocation guides remain private
account artifacts and never enter that public bundle.
Hosted Workflow tools are advertised only when the backend capability is live and the current connection can execute. A Workflow run is a constrained child of that existing connection, not a second registered agent. The first runtime supports approved TypeScript and every live catalog binding Locus has reviewed, including native Tools, maintained Recipes, and explicitly verified external buyer-rail listings. Tenant-imported and unverified external bindings require an exceptional platform approval; a server deny override can halt any binding. Connection scope, enablement, contract, availability, and run budgets still apply. The runtime also provides bounded concurrency, fixtures, pilots, durable inspection, cancellation, and resume; arbitrary npm dependencies, external connector credentials, scheduling, and publication are not implied.
Data handling
The plugin-managed MCP configs send one static request header,
X-Source-Name (for example cursor-plugin). It identifies the
configuration format a host selected and may be used solely for anonymous
adoption telemetry; multi-format hosts can prefer a different bundled
definition than their own overlay — OpenClaw's bundle loader, for example,
honors the root .mcp.json and therefore reports grok-plugin. The header
is cosmetic: plain MCP clients that cannot configure static headers still
work without it.
The repository contains no credential values, and its MCP configurations
store none. Tool calls send the arguments the agent provides to
https://api.paywithlocus.com and are billed to the authenticated workspace.
If the user explicitly chooses the optional agent-owned setup path, the setup
skill also calls https://api.agentmail.to to create and verify an inbox and
register a public signing key, https://api.auth.agentid.com to submit a
signed approval, and https://auth.agentid.com to continue that
authorization transaction. AgentMail receives only the user-approved email
address and inbox name, the user-provided one-time code, and the public key;
AgentID receives the inbox identity and a one-time signed assertion. The
private signing key is generated locally and is never sent. Funding calls
https://api.paywithlocus.com and returns a server-provided Stripe Checkout
URL that the user opens in a browser; neither the plugin nor the agent
handles card details.
Authentication and credentials
Human-owned MCP connections use OAuth 2.1 with dynamic client registration: your client discovers it from the URL, opens a browser sign-in, and a consent screen in the Locus dashboard scopes the connection. Access and refresh tokens stay in the client's native OAuth store, never in this repo's files.
The optional agent-owned setup path may create an AGENTMAIL_API_KEY, a
locally generated P-256 signing key, and an lcac_ value stored as
LOCUS_AGENT_CREDENTIAL. Keep them only in the runtime's approved secret
store; never put them in MCP configuration, chat, project files, source
control, logs, or command arguments. LOCUS_SECRET_KEY is referenced only as
a credential class to protect; the skills never read or set it, and neither
lcr_ nor lcac_ values belong in MCP configuration.
Costs and safety
Paid provider calls are live and billed to your workspace credit balance;
catalog discovery, quotes, and balance checks are free. The skill instructs
agents to pass idempotency keys so a retry reusing its key never
double-charges, to quote
significant calls with estimate_cost first, and to confirm with you before
unusually large spends. Spend limits and approvals are configured per workspace
in the dashboard.
Repository layout
Development and releases
Changes merge into stage. Before promotion, a maintainer explicitly chooses
one semantic version for every host manifest and writes its changelog entry;
CI checks that coordinated version but never updates it. A validated stage
to main promotion creates the immutable GitHub release, checksummed plugin
and skill archives, the Agent Skills discovery payload, and the matching MCP
Registry version. Public directories that require vendor review (OpenAI and
Cursor) are submitted through their review portals after that release.
See AGENTS.md for the branch policy, required checks, release prerequisites, and isolated local testing instructions for production and the stage MCP environment across Claude Code, Codex, Cursor, Grok, OpenClaw, Agent Plugins, Agent Skills, and ChatGPT.
Links
- Docs: https://docs.paywithlocus.com
- Dashboard: https://platform.paywithlocus.com
- MCP reference: https://paywithlocus.com/agent/mcp.md
License
来源:README.md,提交 17bf15f
工具
0版本历史
5- v0.3.40最新Nov 7, 2026
- v0.3.37Sep 23, 2026
- v0.3.20Sep 19, 2026
- v0.3.13Sep 17, 2026
- v0.2.1Sep 16, 2026
评分
已满足适用检查项的 85%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通必需25 分
- 已声明认证方式必需10 分
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分