
Oakallow
io.github.oakallow由 GitHub 账号 oakallow 发布v1.1.0更新于 Oct 24, 2026
Runtime permission, approval, and audit layer for AI agent tool execution.
概览
托管式 MCP 服务器,在 AI 代理执行工具调用前提供权限校验、人工审批与审计检查点。
- 可以做什么
- 列出已登录用户在指定组织内可用的工具,并判断某次工具调用会被允许、需要审批还是被阻止
- 列出仍在等待人工决定的审批请求,并按参考编号轮询审批状态
- 调用组织自定义的受管工具,从而创建审批请求并返回可轮询的参考编号,或得到允许、需审批、已禁用三种结论之一
- 读取每次结论的签名决策回执,以及连接器状态和受管调用是否有资金支持的预检资源
- 对通过 OakGuard 网关注册的 MCP 服务器,在获批后转发调用,且每次审批仅转发一次
- 适用场景
- 当不希望代理无人监督地执行操作时使用:希望高风险工具操作由通过多因素认证的人工审批者把关,每个决定都写入审计日志,并有签名回执证明被允许或被阻止。它是与其他连接器并行的治理层,而非替代品。
- 运行要求
- 远程 Streamable HTTP 端点,不允许匿名访问。需要 Oakallow 账户:可通过交互式 OAuth 2.1(PKCE)并授予 mcp:read 与 mcp:write 权限范围,或使用由所有者/管理员预先签发的 oak_agent_ 持有者令牌供自主代理使用。多组织账户必须传入 org 参数,通常取自从仪表板下载的组织专属技能。
安装
在 SourceWeft 中
- 打开 控制台中的 Oakallow,将其添加到工作区。
- 连接 所需的 凭据。它们会被私密存储,绝不会在公开页面上展示。
- 为需要使用其工具的对话启用该服务。
Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。
交给智能体安装
把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。
阅读 https://sourceweft.com/mcp/io.github.oakallow%2Foakallow/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。其他 MCP 客户端
把它添加到你客户端的 mcpServers 配置中。 客户端会在首次连接时完成 OAuth 登录。
{
"mcpServers": {
"oakallow": {
"type": "http",
"url": "https://api.oakallow.io/mcp"
}
}
}README
Oakallow MCP Server
Runtime permission, approval, and audit governance for AI agent tool execution.
Oakallow is a hosted remote MCP server. It sits between an agent and the actions it wants to take, so that a specific action can be checked, gated behind human approval when it is risky, authorized with a single-use signed token, and recorded in an immutable audit log, at the moment of execution.
- Website: https://oakallow.com
- MCP endpoint:
https://api.oakallow.io/mcp(Streamable HTTP) - OAuth 2.1 compliance: https://oakallow.com/docs/oauth
- MCP protocol details: https://oakallow.com/docs/mcp
What this connector is for
Oakallow injects a governance checkpoint into a workflow that may also use other connectors. An agent does its investigative work (for example, looking up an account through another connector), forms a recommendation, and calls Oakallow to request approval for the action. A human approver then decides in the Oakallow dashboard or mobile app, under enforced multi-factor authentication.
The connector is a requester and pass-through, not a decider:
- It can list your tools, check permissions, request approvals, return a signed receipt for every decision, and, for servers connected through the OakGuard gateway, forward a call once it is approved.
- It cannot approve or deny on a human's behalf. Decisions happen on a separate, MFA-bound surface (the dashboard), never over the connector.
Standard tools
* check_permission returns a read-only verdict only. It does NOT create an approval or
a reference. (The approval and its REF-… are created when you call the gated tool itself
through oakallow.) It does have one side effect by design: checking an unregistered tool
makes Oakallow auto-create a gated draft entry for it (with conservative, fail-closed
defaults) so the eventual call is governed and the owner can triage it from the dashboard.
This is intentional: an unknown tool is never silently trusted.
Choosing an organization
An Oakallow account can have more than one organization, and each org sets its own tools, permission rules, approvers, and alert paths. So an action must be checked against the right org, because that is what determines who gets asked to approve and under which rules.
check_permission and list_my_tools accept an optional org argument: the org's
external id (e.g. org_oak_…). The rule:
- One org on your account: omit
org. The connector uses your only org. - More than one org: pass
orgnaming the org the action targets. If you omit it, the call is refused with guidance rather than guessing the wrong org.
You don't ask the connector to list your orgs; there is no org-enumeration tool. Instead,
download the org-specific skill from that org's dashboard. Each org's skill carries its
own org id and tells the agent to pass it. Install one skill per org you operate in; the
agent reads the matching skill and passes the right org on every call.
The connector authorizes the org you pass against your signed-in identity: you can only
target an org you can actually act in (you are its team owner/admin, or you are in that
org's approver group). Passing an org you don't have access to is refused. The skill is a
convenience, not a grant of access.
Calling a governed tool
Alongside the four standard tools, tools/list returns the customer-defined tools your
org has approved. Calling one of those through oakallow is how an approval gets created:
there is no separate "request approval" tool. A direct tool accepts two optional
arguments, plus org as above:
The response is one of allowed (run the action on its own connector), requires_approval
(an approval request was created and a REF-… is returned for polling with
check_approval_status), or disabled (stop; the action is blocked by policy).
Signed decision receipts
Every permission decision on an approved tool returns a signed decision receipt,
whatever the verdict: allowed, requires_approval, and disabled are all signed the
same way. The receipt is an HMAC-SHA256 signature over the decision, the tool, a hash of
the call's parameters, the tenant, resource, method, and org, and it is stored so the
decision can be re-verified later. A disabled receipt is the proof that oakallow blocked
the action.
If a decision cannot be signed or recorded, the check fails closed: oakallow returns no verdict rather than one it cannot prove.
OakGuard gateway
By default oakallow is a checkpoint beside your tools: it decides, and you execute. OakGuard lets an org register its own MCP servers with oakallow so that oakallow becomes the transport to them instead:
- OAuth 2.1 is mandatory downstream. Registration is refused unless the server advertises the OAuth 2.1 essentials (authorization code with S256 PKCE, RFC 9728 and RFC 8414 discovery, no password grant). oakallow registers itself as the server's OAuth client and keeps the downstream tokens encrypted.
- Tools appear under their real names and schemas in
tools/list. Newly discovered tools land as drafts that require approval until an admin enables them. - A call is forwarded only after it is allowed by the permission rules or approved by a human. Each approval rides downstream exactly once.
- Payloads pass through but are not kept. oakallow carries the request and response over TLS on both legs and does not store or log them. Receipts and the audit log record the decision, not the data.
Servers are registered, paused, and revoked from the OakGuard tab in the dashboard.
Resources
oakallow exposes two read-only MCP resources. They are preflight signals an agent (or a
client UI) can read before committing to route an action through oakallow. Both require
the mcp:read scope, neither is a tool call, and neither is billed.
oakallow://credits is scoped to the caller's own billing org and resolves it the same
way a real tool call does, so a can_fund: true result genuinely means the eventual
approval will be funded (including team-pool fallback). It returns only a can_fund
boolean and the org's name and external id. It deliberately discloses no balance figures:
dollar amounts are surfaced only to the team owner in the dashboard, never over the
connector. If the session resolves to no org, or to more than one, it returns
can_fund: false with a reason rather than guessing which org would be billed.
Connecting
There is no anonymous access. An oakallow account is the prerequisite for connecting,
and the endpoint accepts two credential types: interactive OAuth 2.1 (PKCE) for a
human-driven client, or an oak_agent_ bearer token for an autonomous agent (see
Autonomous agents below).
For the human-driven OAuth path, add https://api.oakallow.io/mcp as a custom connector
in your MCP client (Claude, Claude Desktop, Cowork, ChatGPT, or any Streamable HTTP MCP
host). You will be redirected to sign in to Oakallow and approve the requested scopes:
mcp:read: list tools, view pending approvals, check permissions, read activity.mcp:write: create approval requests and mint run tokens.
You don't configure any of this by hand: an unauthenticated request returns 401 with a
WWW-Authenticate header pointing to the endpoint's RFC 9728 protected-resource metadata
(/.well-known/oauth-protected-resource), so a spec-compliant MCP client discovers the
authorization server and runs the OAuth flow automatically.
See examples/ for a Claude Desktop config, an OAuth flow walkthrough, and an
oak_agent_ token walkthrough. tools.json has the exact schemas of the
standard tools.
Autonomous agents (oak_agent_ token)
OAuth assumes a human can complete the interactive sign-in. An autonomous agent that runs
on its own authenticates to the same https://api.oakallow.io/mcp endpoint with a
pre-issued bearer token instead: Authorization: Bearer oak_agent_.... The endpoint
checks for an oak_agent_ bearer before the OAuth provider, so no consent screen or
interactive login is involved.
An agent identity is scoped to one organization, can submit and check permission requests but never approve, is rate-limited per identity, and is stored only as a SHA-256 hash (the raw token is shown once at creation). Provision one from the dashboard's Account → Agents page (owner/admin only). See oakallow.io/info/agents for the full model.
Skill
SKILL.md is an agent skill that documents when and how to use the
oakallow tools: the request, approve, poll, and act workflow, how to phrase
approval reasons, and what to do on allowed, requires_approval, or disabled
verdicts. Point your agent at it to govern tool actions correctly.
Trigger prompts
PROMPT.md has short, copy-paste one-liners to drop into your
agent's system prompt so it actually consults the skill. The skill is the
procedure; a trigger prompt is what makes the agent look. Three options, from
"gate every tool call" to "gate a customer-named set," plus an inline example
pattern for a real request.
How a governed call works
- The agent calls the tool through Oakallow with its credential, a
reason, and itsagentid. - Oakallow resolves the permission rule for the specific tool, tenant, and resource, and signs a decision receipt for the verdict.
- If the action is allowed, the agent performs it: on its own connector for a direct tool, or Oakallow forwards it for an OakGuard gateway tool.
- If approval is required, an approval request is created, a human is notified, and the
agent receives a
REF-…to poll. Once a human approves under MFA, the action runs exactly once. - Oakallow writes an immutable audit row capturing the outcome.
For direct tools, Oakallow lives outside the execution path: it governs and records what was reported, and it does not run your tools or receive your tool parameters beyond a PII-scrubbed reason. For OakGuard gateway tools, it is the transport for approved calls but still keeps none of the payloads.
Outside MCP, the REST API (POST /v1/tokens/mint) can also mint a single-use,
HMAC-signed run token that binds the tool and its parameters, for your backend to verify
before executing.
License
See LICENSE.
Changelog
See CHANGELOG.md.
© Islemonics Studios LLC. Patent pending.
来源:README.md,提交 a2c3605
工具
0版本历史
2- v1.1.0最新Oct 23, 2026
- v1.0.0Sep 16, 2026
评分
已满足适用检查项的 85%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通必需25 分
- 已声明认证方式必需10 分
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分