AI agents · MCP · OpenID CIBA

Connect your AI agent to e-signatures via MCP. It prepares, you sign.

Your AI app drafts the contract, places the signature fields and invites the signers. Connecting takes one minute: paste one address into the app and choose Allow – no password, no key, nothing technical. Every signature is still made by you and your signers in CodeB Wallet.

CodeB’s MCP server lets an AI app or agent create, send and track PDF signing requests for you. It cannot sign: every signature is an advanced or qualified electronic signature (PAdES) made by a person in the EUDI wallet. With your permission it can also check a customer’s age (18+) with an EUDI wallet, set up video meetings and – for administrators – offer cards to members.

Model Context Protocol · OAuth 2.1 + PKCE · OpenID CIBA Core 1.0 · RFC 9728 · PAdES · EUDI wallet

Connect in three steps, then let it prepare

Copy the address

Copy https://phone.codeb.io/mcp. You also find it, with a Copy button, on Your agents.

Add it to your AI app

In your AI app open the settings and look for Connectors, Integrations or MCP servers. Choose Add (sometimes “Add custom connector” or “remote server”), paste the address and save.

Sign in and allow

The app opens CodeB. Sign in if asked, check the app’s name, tick what it may do (signing requests, age checks, meetings, cards) and choose Allow. That is all – the app stays connected until you remove it.

Ask it to prepare

For example: “Send the attached agreement to client@example.com for signature, me first.” The app uploads the PDF, places the signature fields, invites the signers and follows the status.

You and your signers sign

Signing happens only in CodeB Wallet: advanced, or qualified when a qualified signature card is used. The app shows you the wallet link when it is your turn.

The approvals page: an agent asks to work for you, shows the code 4711, and you approve for one hour or deny
Your agents: connected apps, agents and their requests – remove any of them at any time.

More than signatures

Age checks (18+)

Before a sale or a booking: the app sends your customer a link, the customer confirms with an EUDI wallet. You get only “18 or older: yes or no” – data minimisation built in.

Meetings

The app sets up a video meeting in the browser and e-mails the invitations with a calendar entry. Your guests need no account and no app.

Cards (administrators)

Staff badges, membership cards and other cards from your templates: the app offers them to members or new guests, they collect them in a wallet, you can revoke them.

The four questions to ask before an agent acts for you

Who decides how far an AI agent may go? Every business that lets an agent work for it needs clear answers. This is how CodeB answers them today.

Whose authority does it act under?

Each agent belongs to one account and gets only the rights that person ticked. Its token names the agent and the person behind it. No password, no signing key.

Which actions need a human yes?

Payments, orders, contracts, bookings, sharing data. CodeB Wallet shows exactly what the agent wants: amount, recipient, reference. You confirm with fingerprint or PIN, or you deny. A stolen password cannot say yes.

Who can step in and stop it?

You. Remove an agent and it stops within a minute. Every request expires after 15 minutes and can be answered once, with limits per agent and per day.

Who stays accountable?

Every request records which agent prepared it. The agent gets a receipt signed by CodeB: who approved what, and when, kept in a tamper-evident log.

CodeB Wallet asks you to confirm a payment an AI agent wants to make: amount, recipient, reference and the code the agent shows

The agent asks. You decide.

Built so that agents cannot overreach

No password, no key

A connected app gets one-hour access that it renews itself – never your password, never a signing key.

Only for you, only what you ticked

A connection works only for your account and only for the permissions you ticked: signing requests, age checks, meetings and, for administrators, cards. Signing and changing your settings stay with you.

You see who asks

Before you allow, CodeB shows the app’s name, its website and where it returns to; apps on your own computer get an extra warning. Agents using CIBA show a code to compare.

Revocable

Remove an app or agent on Your agents and it stops working within a minute. Unused connections end after 30 days.

Accountable

Every request an app creates records which app prepared it; the sign-in log records each approval.

Open standards

MCP authorization (OAuth 2.1 + PKCE, Client ID Metadata Documents, RFC 7591), RFC 9728, RFC 8414, RFC 8707, RFC 9207, OpenID CIBA Core 1.0, RFC 8693.

Not another password vault

Giving agents stored passwords gets them past a login. CodeB goes the other way: the app never needs a password, it receives a narrow permission from you, and anything legally binding – a signature – is done by a person with the EUDI wallet or a qualified signature card.

Payments, orders, contracts: the agent asks, you confirm

An agent can ask you to approve one concrete action – a payment, an order, a contract, a booking or sharing data. CodeB Wallet shows exactly what it wants to do, with amount, recipient and reference. You confirm with your fingerprint or PIN, or you deny.

You see every detail

The wallet shows the agent, the action and its details exactly as the agent sent them, together with the short code the agent shows. Nothing happens without your answer.

Confirmed on your phone

Your approval is signed by a key in the secure hardware of your phone that works only with your fingerprint or PIN. A copied password or a taken-over session cannot approve.

A signed receipt

The agent receives a receipt signed by CodeB: who approved what, and when. Every answer is kept in a tamper-evident log.

Narrow and short

Each request is valid for at most 15 minutes and is answered once; there are limits per agent and per day. CodeB gives the agent no password and no payment details – only your yes or no.

For developers

Open standards, no proprietary SDK. Apps connect with the MCP sign-in (MCP authorization: OAuth 2.1 with PKCE, Client ID Metadata Documents or dynamic client registration, RFC 9728 and RFC 8414 discovery – most MCP clients do this by themselves). Agents without a screen use OpenID CIBA (poll mode): the person approves on Your agents. The tools use the documented signing requests API, so every check and limit applies unchanged.

# Apps that are set up with a configuration file: add the server by its address.
# The app opens CodeB by itself when it connects (MCP sign-in) - no token to paste.
{
  "mcpServers": {
    "codeb-signing": { "url": "https://phone.codeb.io/mcp" }
  }
}
# Call a tool with the access token (what every connected app does)
POST https://phone.codeb.io/mcp
Authorization: Bearer <access_token>
Content-Type: application/json

{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"create_signing_request",
 "arguments":{"documents":[{"name":"Service agreement","pdf_base64":"JVBERi0x..."}],
  "sign_myself":true,"invite":["client@example.com"],
  "signature_fields":[{"document":0,"signer":1,"page":-1,"position":"bottom-left"},
                      {"document":0,"signer":2,"page":-1,"position":"bottom-right"}]}}}
# Agents without a screen (OpenID CIBA, poll mode): 1. ask the person
curl -u "agent-<id>:<secret>" \
  -d "scope=openid sign_requests" -d "login_hint=<your user name>" \
  -d "binding_message=4711" \
  https://phone.codeb.io/oidc.ashx?action=bc-authorize
# -> {"auth_req_id":"...","expires_in":300,"interval":5}

# 2. The person approves on agent-approvals.html; the agent polls every 5 s
curl -u "agent-<id>:<secret>" \
  -d "grant_type=urn:openid:params:grant-type:ciba" -d "auth_req_id=..." \
  https://phone.codeb.io/oauth2/v1/token
# -> 400 {"error":"authorization_pending"} ... then
# -> {"access_token":"...","expires_in":3600,"scope":"openid sign_requests","id_token":"..."}
# Ask the person to approve one action (RFC 9396 authorization_details)
curl -u "agent-<id>:<secret>" -H "Content-Type: application/json" \
  -d '{"authorization_details":[{"type":"codeb_action","action":"payment","title":"Invoice 2026-118",
       "amount":{"value":"1240.00","currency":"EUR"},
       "recipient":{"name":"Example GmbH","iban":"DE89 3704 0044 0532 0130 00"},"reference":"2026-118"}],
       "expires_in":300}' \
  https://phone.codeb.io/oidc.ashx?action=agent-action
# -> {"id":"...","status":"pending","binding_message":"4711","expires_in":300,"interval":5,"details_sha256":"..."}

# The person confirms in CodeB Wallet; the agent polls every 5 s
curl -u "agent-<id>:<secret>" "https://phone.codeb.io/oidc.ashx?action=agent-action-status&id=..."
# -> {"status":"approved","decided_by":"person","method":"device-key","receipt":"eyJ...","details_sha256":"..."}

MCP tools

inspect_pdfPages, sizes and rotation of a PDF – to place fields
create_signing_requestPDFs, signers in order, signature fields (rect or bottom-left / center / right), advanced or qualified
get_signing_requestStatus, signers and – on your turn – the CodeB Wallet link
list_signing_requestsAll your requests
invite_signersAdd signers at the end
resend_invitationThe e-mail again
withdraw_signing_requestStop an open request
get_documentThe original or signed PDF
verify_documentThe signature report
create_age_checkAge checks: a link for one customer to confirm 18+ with an EUDI wallet
get_age_checkStatus and, once answered, only age_over_18 true or false
list_age_checksYour age checks of the last 30 days
cancel_age_checkWithdraw an open link
create_meetingMeetings: a video meeting in the browser, optional e-mail invitations with a calendar file
list_meetingsUpcoming meetings
get_meetingTime, join link, invited people
invite_to_meetingInvite more people
cancel_meetingCancel and tell the invited people
list_card_templatesCards (administrators): the card templates of this site
issue_cardOffer a card to a member or a new guest; they collect it in a wallet
list_card_offersOffers and whether they were collected
revoke_card_offerRevoke an offer and its cards

Frequently asked questions

Can the AI app sign for me?

No. It can prepare and follow signing requests. Every signature is made by a person in CodeB Wallet – an advanced electronic signature, or a qualified one when a qualified signature card is used.

Can an agent pay or order for me?

Only with your approval of each single action. The agent asks for one concrete payment, order or contract; CodeB Wallet shows you the details, and you confirm with your fingerprint or PIN or deny. The agent then gets a signed receipt. CodeB gives it no password and no payment details.

Which AI apps work?

Any AI app or agent that can add a remote MCP server with sign-in – most current AI desktop and web apps and developer tools can. Agents without a screen use OpenID CIBA instead (see For developers).

My app does not open the sign-in

Check the address: https://phone.codeb.io/mcp, without a space at the end. Choose the server type “remote”, “HTTP” or “URL”, not a local command. If your app only accepts a fixed token, it cannot connect this way; a developer can connect it with OpenID CIBA (see For developers above); that token lasts one hour.

How long does a connection last?

Until you remove it. The app renews its one-hour access by itself; if it is not used for 30 days, allow it again.

How do I disconnect an app?

On Your agents, under Connected apps, choose Remove. The app stops working within a minute.

What is OpenID CIBA?

Client-Initiated Backchannel Authentication is an OpenID Foundation standard for agents without a screen: the agent asks, the person approves on another device (on Your agents; you also get an e-mail, at most one every five minutes per agent), and the agent then receives a one-hour token. The approval shows a code that must match the code your agent shows.

Does the app see my documents?

Only the signing requests it works with: the PDFs it uploads and their signed results. Documents are deleted 30 days after a request closes.

Can the app check a customer’s age?

Yes, with the permission Age checks. The app gets a link for the customer, who confirms with an EUDI wallet that they are 18 or older. The app learns only yes or no – never a name, a birth date or document data – and the customer is not signed in anywhere.

Can the app set up meetings?

Yes, with the permission Meetings: a video meeting in the browser with a join link, and e-mail invitations with a calendar file (invite.ics) in your name. Anyone with the link can join, so it only goes to the people you name.

Can the app issue cards to our members?

Only for administrators, with the permission Cards, and only from the card templates of your site. Each member collects the card in an EUDI wallet; you can revoke an offer and its cards at any time.