View as Markdown

Use AllowedBy as a person or a company#

For people who let an AI agent (Claude, or any MCP client) act for them on websites, and for companies that let staff use agents under company rules. It covers setting up the agent, approving with a passkey, verifying your identity, your wallet, and the organisation console. This guide is complete on its own. It describes the code in this repository and the hosted demo at https://demo.allowedby.com.


1. What it is#

AllowedBy lets an AI agent use a website for you, but only with your yes.

  • The agent never gets your password, a token or your personal data.
  • When the agent needs your approval, a page opens on your node (your home server for approvals). The page shows the website, the exact sentence you are approving and a 4-character code.
  • You approve with a passkey tap: Face ID, Touch ID, Windows Hello, your phone or a security key.
  • The website checks every request the agent makes against what you approved.
  • Your wallet lists everything you approved. You can withdraw any approval at any time.

Some actions need more than a passkey. The website chooses a level for each action:

Level What you need
L0 Nothing. The agent acts alone (for example, reading a public catalogue).
L1 A passkey tap.
L2 Your identity verified once (eIDAS substantial), plus a passkey tap.
L3 Your identity verified at eIDAS high, on a hardware passkey (a security key or the secure chip of your device; a synced passkey is not enough).

Hosted addresses.

What Address
Node: approval pages and your wallet https://demo.allowedby.com, wallet at https://demo.allowedby.com/wallet
Example sites https://NAME.demo.allowedby.com: shop, supply, beacon, globex, notes
Demo company (Initech SA) console https://demo.allowedby.com/org/initech
Presentation https://allowedby.com

The hosted node approves for its example sites and for the services onboarded on it.

2. Set up the agent#

To try the hosted demo from ChatGPT or Claude.ai with nothing to install, add one URL: see Use it from ChatGPT or Claude.ai below. To run the agent yourself, it is demo/mcp_agent.py, an MCP server over stdio. You need:

  • Python 3.10+ and the cryptography package: pip install cryptography;
  • a copy of this repository (the agent imports the allowedby package from sdks/python/src/).

Options#

Flag Env var Default Meaning
--node URL ALLOWEDBY_NODE http://localhost Your node. Use https://demo.allowedby.com for the hosted demo.
--operator-domain NAME ALLOWEDBY_OPERATOR acme.localhost with a local node, none otherwise The agent vendor's verified domain. Lets approvals survive the agent's hourly key change.
--operator-key PATH none demo/.data/operator-acme.json The vendor's signing key. Used only if the file exists.
--state PATH none demo/.data/claude-agent.json Where your approvals are saved between sessions.
--no-browser none off Do not open approval pages; the agent only gives you the link.

With the hosted node the agent runs without a vendor by default: the demo vendor acme.localhost and its key file exist only on your own machine.

Claude Code#

Run once (adjust the path):

claude mcp add allowedby -- python /path/to/Network/demo/mcp_agent.py --node https://demo.allowedby.com

For the local demo, leave out the flags:

claude mcp add allowedby -- python /path/to/Network/demo/mcp_agent.py

If you open Claude Code in the repository's Network folder, it finds the agent in .mcp.json and asks once to enable it. That file uses the local node.

Claude Desktop, or any MCP client#

Add the server under mcpServers in the client's configuration. For Claude Desktop the file is claude_desktop_config.json (Settings → Developer → Edit Config):

{
  "mcpServers": {
    "allowedby": {
      "command": "python",
      "args": ["/path/to/Network/demo/mcp_agent.py",
               "--node", "https://demo.allowedby.com"]
    }
  }
}

Restart the client.

Use it from ChatGPT or Claude.ai#

The demo's agent also runs as a hosted MCP server (streamable HTTP, no sign-in). Its URL is:

https://acme.demo.allowedby.com/mcp

It is the agent of Acme AI, the demo's agent vendor, and it uses the hosted node. Each conversation gets its own agent: a new key, held in memory only, and the approvals you give it. Nothing is installed or saved.

Limits, honestly.

  • It is a demo. The sites are fictional (shop, supply, beacon, globex, notes on demo.allowedby.com): nothing is delivered and no money moves. It cannot reach any other website.
  • There is no vendor key, so approvals end with the agent's key: at the latest after an hour, or when the session ends (an hour without use). A new conversation asks again.
  • The approval page does not open by itself. The assistant shows you a sentence with a link and a 4-character code: open the link, check the code, and tap your passkey on the node's page. The assistant never sees your passkey.
  • It is shared by every visitor, so it is rate-limited. When it is busy it says so; try again a few minutes later.

Use it from ChatGPT#

Checked on 2026-11-26 against OpenAI's help page "Developer mode and full MCP connectors in ChatGPT" and its developer guide: custom MCP servers are for ChatGPT Business and Enterprise/Edu on the web. Pro can add one with read/fetch permissions only, so allowedby_call (which acts) may not be offered there. Free and Plus are not listed. On Business, only admins and owners can add one (permission "Create plugins with MCPs").

  1. On the web, open Plugins (https://chatgpt.com/plugins). Developer mode no longer needs to be turned on.
  2. Select +, then Add custom MCP server.
  3. Name it AllowedBy demo. Under Connection, enter the server URL https://acme.demo.allowedby.com/mcp.
  4. Authentication: No authentication.
  5. Read the risk warning, check I understand and want to continue, then select Create as a plugin, and review the four tools it found.
  6. Install the plugin. In a new chat, type @, choose it, and ask, for example: "Use AllowedBy demo: on https://shop.demo.allowedby.com, put two bags of coffee and a mug in my basket."

ChatGPT asks you to confirm allowedby_call before it runs (it is the only tool that acts). That is ChatGPT's own check; the approval that counts is your passkey tap on the node's page.

Use it from Claude.ai#

Checked on 2026-11-26 against Anthropic's "Get started with custom connectors using remote MCP" and "Add a connector that isn't in the directory": custom connectors work on Free (one custom connector), Pro, Max, Team and Enterprise. Claude connects from Anthropic's cloud, not from your device.

On Free, Pro or Max:

  1. Open Customize > Connectors (https://claude.ai/customize/connectors).
  2. Select Add, then Add custom connector.
  3. Name it AllowedBy demo, enter the URL https://acme.demo.allowedby.com/mcp, then Continue.
  4. Authentication: No sign-in. Select Add.
  5. In a chat, click +, find the connector under Connectors, and turn it on. Then ask, for example: "On https://notes.demo.allowedby.com, add a note 'Buy milk', then show my notes."

On Team or Enterprise, an Owner adds it under Organization settings > Connectors (Add, Custom, Web, then the same name, URL and No sign-in); each member then finds it in Customize > Connectors and selects Connect.

These menus change often: if a label differs, look for "custom MCP server" (ChatGPT) or "custom connector" (Claude). The local demo serves the same endpoint at http://acme.localhost/mcp, which only an MCP client on your own machine can reach (for example claude mcp add --transport http allowedby-local http://acme.localhost/mcp).

What the agent can do#

It gives Claude four tools:

Tool What it does
allowedby_discover(url) Reads what a site offers: who runs it, every operation, the level each needs, the personal data it may ask for.
allowedby_call(method, url, body, spend_limit) Makes a request as your agent. When your yes is missing, opens the approval page and waits for your tap (90 s by default).
allowedby_wait(job) Keeps waiting for an approval you have not given yet.
allowedby_approvals() Lists the approvals the agent holds.

You only give the site's address. For example:

  • "On https://shop.demo.allowedby.com, buy two bags of the Ethiopian coffee and a mug, delivered to me."
  • "On https://beacon.demo.allowedby.com, monitor https://example.com, and move me to the Team plan for 4 people."
  • "Add a note 'Buy milk' on https://notes.demo.allowedby.com, then show my notes."
  • "What approvals do you hold?"

There is also a terminal agent for the local demo: python demo/agent_cli.py (flags --service, --node, --operator, --operator-domain, --no-browser). Type help for its commands.

3. Your first approval#

  1. Ask the agent to do something that needs your yes.

  2. The approval page opens in your browser. The agent also tells you, word for word: Your agent asks for your approval: "…". Check that the page shows the code XXXX, then approve with your passkey: .

  3. Check the code. The 4-character code on the page must match the one the agent gave you. If it does not, deny.

  4. Check the service. The page shows the website as "Legal name · country · verified", or only its hostname with "organisation not verified".

  5. Create a passkey (first time only). Enter a name (shown only to you) and, if you like, an email (shared only when you tick it on a request). Click Create passkey and follow your device's prompt. The passkey stays on your device.

  6. Choose how much to allow, under What may the agent do?:

    • only what was asked;
    • all of this type (for example, all notes);
    • everything of this kind (for example, read and write notes; never payments or deletions).

    Wider means fewer questions later.

  7. Choose how long: 1 hour, 1 day, 7 days or 30 days, as far as the action allows. The shortest is selected by default. Serious actions (deleting, paying) are approved for that exact request, once.

  8. If the site asks for personal data, the page lists each item, why it is needed and how long it is kept. Required items are ticked; optional ones start unticked.

  9. Tap Allow, then your passkey. The agent continues at once.

To refuse, pick a reason and tap Deny. "This was not me" or "I don't know this agent" also stops the agent asking again for 10 minutes.

If a request is "not addressed to a named person", anyone with a passkey on this node who opens the link may approve it. Do not forward approval links.

4. Verify your identity (level 2 and 3)#

When an action needs level 2 or 3, the approval page says so and offers the identity checks the node supports. You verify once; it is kept for 12 months.

On the hosted node, verification is done by Signicat:

Button What happens Level you can reach
Verify with your national eID You are sent to Signicat and sign in with your country's eID (for example itsme, BankID, FranceConnect+, depending on what the node offers). You come back to the page. L2; L3 if the eID is notified at "high" and you signed in at "high"
Scan your passport or ID card Your phone reads the chip of your passport or ID card, then takes a short selfie video (liveness). L2; L3 only if the node's liveness check is rated "high" and the chip authenticates

Steps for the passport scan:

  1. Tap Scan your passport or ID card, then your passkey.
  2. On a computer, the page shows a QR code. Scan it with your phone. Your phone opens the passport reader. If you are already on your phone, it opens directly.
  3. Hold your passport or ID card against the back of your phone and follow the steps.
  4. The computer page continues by itself when the scan is done (it waits about 10 minutes). On the phone you see "Done on this phone. If you started on a computer, go back to it".

Level 3 also needs a hardware passkey. A synced passkey (iCloud Keychain, Google Password Manager) cannot reach level 3, whatever your ID. The node must also recognise your authenticator's maker; if it does not, no passkey reaches level 3.

Demo only. The page also has a collapsed "Demo: simulated identity provider" section with Verify (substantial) and Verify (high). These are simulated: the name you type becomes your verified name. On a local demo with no Signicat setup, these are the only options.

5. Your wallet#

Open https://demo.allowedby.com/wallet (or http://localhost/wallet locally). Each change takes a passkey tap.

Section What you can do
You See your level and how it was verified (and until when), and the data the node holds. Erase my identity check: deletes your verified identity; you are level 1 again.
Your passkeys See your passkeys and their kind (software, synced, hardware). Add a passkey, optionally for one service only, so two services cannot match you by your key.
Your budgets Set a spending limit per day, week or month (EUR or USD). Every approval reserves the most it could spend. Past your budget, Allow is disabled.
Companies For each company you belong to: your role, your mandate and its end date, what it allows, which agents, your budget, what you may never share for work.
Grants Every approval: what it allows, for which site, which agent, level, until when. Revoke one, Revoke everything for a site, or Revoke everything from an agent vendor. Sites refuse revoked approvals within seconds.
What you shared Each time you shared personal data: what, to whom, when, how long they keep it, and their privacy policy.

Lost your passkey? With no passkey in this browser, the wallet offers recovery: verify your identity again and, if it matches your verified record, the new passkey replaces the lost one. Demo: this uses the simulated provider.

6. Approvals that last across sessions#

The agent saves your approvals in its state file (demo/.data/claude-agent.json by default) and reloads them when Claude starts again.

The agent's key changes every hour. An approval is tied to that key, so it must be moved to the new key:

  • With a verified agent vendor (the local demo's "Acme AI", --operator-domain acme.localhost), the vendor signs the move. Your approvals continue until they expire, across hours and new Claude sessions, with no question.
  • Without one (the hosted demo), approvals end with the agent's key, after at most one hour, and you are asked again.

In both cases, your wallet is the reference. Revoking there always wins.

7. For companies#

A company has an organisation on its node. Staff join it with their passkey and receive a mandate: signed by the company, tied to their passkey, valid 30 days, renewed while they work there. Websites then know the person approves for the company, within its rules.

Hosted demo: only the demo company Initech SA exists (https://demo.allowedby.com/org/initech). There is no self-service creation of a new organisation in this code; an organisation is configured when the node starts.

The organisation console#

Open https://<node>/org/<org-id>. Admins sign in with their own passkey. Before the first owner or admin joins, a bootstrap token opens it once.

Console roles:

Role Can
Owner Everything, including giving or taking the owner and admin roles, and keys.
Admin Members, teams, policy, revoke, secrets.
Team manager See and revoke for their own team.
Auditor Read and export.

Every change takes a fresh level 2 passkey tap. Changes to rules, budgets, authority and keys also need a second admin to approve.

Invite staff#

Three ways:

  1. From the console. Invite a person with a name, email and job role. The console gives a join link, https://<node>/org/<org-id>/join#<token>. Send it to them. They open it, create or use their passkey, and tap Join with my passkey.

  2. SCIM 2.0 directory sync. Your identity provider creates users and groups (teams) at https://<node>/org/<org-id>/scim/v2/Users and /Groups, with the SCIM token from the console:

    curl -X POST https://<node>/org/<org-id>/scim/v2/Users \
      -H "Authorization: Bearer <SCIM token>" -H "Content-Type: application/json" \
      -d '{"userName":"bob@initech.example","displayName":"Bob","title":"Finance manager"}'

    title is the job role. Each user gets a join link.

  3. Company sign-in (SSO). On the join page, Sign in with your company account (OpenID Connect), then create a passkey. Demo: the company identity provider is a mock on Initech's site.

Job roles and mandates#

Each job role lists what staff may let an agent do, with limits. For example, in the demo:

Job role Allows
Accounts payable clerk Read and comment invoices; approve invoices up to 10,000 EUR; pay up to 5,000 EUR; submit expenses
Finance manager Everything on invoices; expenses; supplies
Buyer Read supplies, get quotes, order up to 15,000 EUR

On an approval page, a member chooses As yourself or For Initech SA (role). If the mandate does not cover the request, the page says "Your mandate from … does not allow: …".

Company rules#

Rule Effect
Vendor allowlist Only agents from listed vendors (verified domains), each with a minimum custody tier. Others are blocked on the page: "… does not allow agents from …".
Services Optionally, only listed websites.
Minimum levels For example level 2 for hard-to-undo actions and level 3 for irreversible ones.
Longest approval For example 7 days.
Budgets Organisation, team, member and agent-vendor budgets. Each approval reserves its maximum; past a budget, Allow is disabled. Websites can also hold a budget for your company (403 budget_exceeded).
Never share Personal data staff may never share for work, for example birth_date.
Retention How many days after leaving a leaver's record is erased (the log keeps only commitments).

What the console shows#

  • What each role lets an agent do, and the rules in one sentence.
  • Every live approval per member. Withdraw one, or block a vendor.
  • History in sentences, exported as JSON lines for a SIEM: https://<node>/org/<org-id>/events.jsonl.
  • Reports and signed evidence packs per approval (check them with python tools/check_evidence.py).

Leavers#

Click Remove (leaver) on the member, or deactivate them from your directory by SCIM (PATCH with active: false, or DELETE). At once:

  • all their approvals for the company are revoked;
  • they can no longer approve for the company.

Their record is erased after the retention period.

8. Privacy#

What the agent never sees:

  • your passkey, password or any token for the website;
  • your personal data. You choose what to share on the approval page; it is encrypted to the website and sent directly to it;
  • your verified identity record. It stays on your node.

What the website learns:

  • a pseudonymous id for you, different on every website, so websites cannot match you with each other;
  • your level, the sentence you approved, and which agent acted;
  • for work approvals, your company and job role;
  • only the personal data you ticked, with the purpose and retention it declared.

Other protections:

  • Approval links preview as "An AI agent is asking for your approval", with no detail.
  • Your wallet, approval links and consoles are kept out of search engines.
  • You can erase your identity check from the wallet at any time.

9. Troubleshooting#

Message or symptom What it means What to do
The code on the page does not match the agent's It may not be your agent's request. Deny with "This was not me".
"organisation not verified" The node has not verified the company behind the website. Approve only if you trust the hostname.
"Unknown approval." The link is wrong or the request no longer exists. Ask the agent to try again.
"This request is approved / denied / expired." It was already answered or ran out. Ask the agent to try again if needed.
"Cannot be approved: …" A rule blocks it. The text says which: a budget ("this reserves … but only … remains"), a company rule, your mandate, or missing data ("Your identity has no …"). Change your budget, ask your company admin, or add the data.
"This needs L2 · verified identity …" The action needs a verified identity. Section 4.
"Your identity check is more than 12 months old: verify again." Your verification expired. Verify again.
"level 3 needs a hardware passkey …" Your passkey is synced or software. Add a hardware passkey in your wallet.
"Passkey creation failed" / "Passkey check cancelled or failed" The device prompt was cancelled or is unavailable. Try again; use another passkey or device.
"The scan was not finished in time." The passport scan took more than about 10 minutes. Start again.
"The provider has not answered yet." Signicat has not returned a result. Try again in a few minutes.
"This browser knows a passkey the node does not (node data was reset)." The node's data was reset (demo). Click Forget it and create a new passkey.
"This invitation is unknown, used or withdrawn." The join link was already used or revoked. Ask your admin for a new one.
"… does not allow agents from …" Your company does not allow this agent vendor. Use an allowed agent, or ask your admin.
The agent says waiting_for_approval You have not tapped yet. Open the link it gives, then tell it to continue.
The page did not open The agent was started with --no-browser, or only opens links on its own node. Open the link the agent gives you.
this demo node only approves for its own demo sites The site is not onboarded on this node yet. Use one of the example sites, or ask the site to onboard.
Asked again every hour on the hosted demo Normal without a verified agent vendor (section 6). Approve again, or use the local demo.
You approved "This was not me" by mistake The agent may not ask again for 10 minutes. Wait 10 minutes.