Team & platformGuide

MCP server

Waiso is an MCP server. An AI client that speaks the Model Context Protocol can list your projects, write and run scripts, build flows, read runs, set up schedules, endpoints, alerts and event triggers, and more — as you, and never further than the token you gave it allows. You can watch what it does live in the app while it works.

10 min readBefore this: Create a projectOpen in Waiso
What you will learn
  • Create an MCP token and choose its scope
  • Connect each supported client with the command the dialog gives you
  • Know what an agent can and cannot do, area by area
  • Follow an agent’s actions live and revoke its access

An agent with a key of its own

The server lives at /mcp on your Waiso address — https://waiso.dev/mcp in the cloud, <your Waiso address>/mcp (WAISO_PUBLIC_UI_URL) on a self-hosted instance — and speaks MCP over streamable HTTP. Every request carries an access token (the same one the Platform API takes) in the Authorization: Bearer … header. A token belongs to one person and acts as that person, so the agent can never do more than its owner may do in a project — and the token’s scope narrows that further.

Access tokens (MCP)Tokens for the Platform API and for AI agents over MCP — each limited to the projects and areas you choose.
New token
Search tokensCtrl KAll · 4Active · 3
Claude Code — laptopwaiso_at_1a2… · docs-demo: edit · 1,204 callsLast used4 min agoStatusActive
Cursorwaiso_at_7f0… · 2 projects: readLast usedYesterdayStatusActive
VS Code — CIdocs-demo · Scripts, Flows onlyLast usedNeverStatusActive
Old desktopolder token · all projects: readLast usedSep 2StatusRevoked
Settings → Access tokens: each token with its scope summary, last use and status.
Scope settingWhat it decides
ProjectsWhich projects the token reaches; every other project does not exist for it.
Read · Edit · DeletePer project — or per area with Customize areas: whether the agent may only look, also create, change and run, or also delete.
AreasOptionally each area its own level, or off: Scripts, Flows, Runs, Schedules, API, Connections, Variables, E-mail, Robots.
See and create projectsLets the token list all your projects and create new ones. Without it, it only sees the projects turned on.

Create a token and connect a client

  1. Open Access tokens

    Open Settings from your avatar menu, choose Access tokens and press New token (on an empty list, Create first token).

  2. Name it and choose its scope

    Give a name you will recognise later, such as Claude Code — laptop, and turn on the projects it may reach, each at Read, Edit or Delete — or a level per area. Choose when it expires, or never.

  3. Copy the token once

    Press Generate token. The token is shown once — Copy this token now — it will never be shown again.

  4. Paste the client’s command

    The same dialog shows the exact command or config for each client with your address and token already filled in. Pick your client’s tab and copy it.

These are the four snippets the dialog gives you, shown here with the cloud address; put your token in place of <token>.

claude mcp add --transport http waiso https://waiso.dev/mcp --header "Authorization: Bearer <token>"

What an agent can do

Each tool does what its page in the app does, with the same rules and plan limits. Ask in plain words; the agent picks the tools.

AreaTools
Projectslist_projects, create_project, navigate_project, where_is_user, update_project, delete_project
Scriptslist_scripts, get_script, create_script, update_script, run_script, get_run, publish_script, script_usages, delete_script, script_dependencies, script_versions, script_restore_version
Flowslist_flows, get_flow, create_flow, set_flow, run_flow, publish_flow, get_flow_run, get_flow_run_iterations, delete_flow, update_flow, flow_versions, flow_restore_version, flow_rename_node, flow_delete_node, flow_check
Folderscreate_folder, update_folder, delete_folder, move_item
Approvalslist_approvals, approval_decide, approval_links
Runslist_runs, cancel_run, reschedule_run, resume_now, cancel_reschedule, rerun, run_logs, answer_run_input
Scheduleslist_schedules, get_schedule, create_schedule, update_schedule, delete_schedule
APIlist_api_endpoints, publish_api_endpoint, set_api_endpoint_enabled, delete_api_endpoint, create_api_token, list_api_tokens, revoke_api_token
Share linksshare_link_list, share_link_create, share_link_update, share_link_new_address, share_link_delete
Appssite_list, site_create, site_files, site_file_read, site_file_write, site_file_delete, site_publish, site_versions, site_restore, site_settings, site_delete, site_upload, site_upload_link, site_file_move, site_calls, site_preview_link, site_download_link, site_host_check, site_domains, site_domain_add, site_domain_check, site_domain_remove, site_sessions_revoke
Event triggerslist_event_triggers, create_event_trigger, update_event_trigger, pause_event_trigger, delete_event_trigger
Alertsalerts_list, alert_channel_create, alert_rule_create, alert_rule_pause, alert_channel_test, alert_update, alert_delete
Messagesmessage_formats_list, message_format_create, message_format_update, message_format_delete, message_format_reset, message_format_test, message_send, message_destinations_list, message_destination_create, message_destination_delete
Statestate_get, state_set, state_reset
Variableslist_variables, set_variable, delete_variable
Integrationslist_integrations, get_integration, create_integration, update_integration, test_integration, delete_integration, describe_connection, query_connection
E-maillist_email_connections, list_email_templates, get_email_template, create_email_template, update_email_template, preview_email_template, publish_email_template, delete_email_template
Robots (AI Scraper)build_ai_scraper, ai_scraper_build_status, publish_ai_scraper, list_ai_scrapers, run_ai_scraper, get_ai_scraper_run, update_ai_scraper, ai_scraper_versions, ai_scraper_restore_version, delete_ai_scraper
Robots built by your assistantscraper_session_start, scraper_session_step, scraper_session_look, scraper_session_try, scraper_session_end, save_ai_scraper_program, test_ai_scraper
Gitgit_status, git_diff, git_history, git_commit_push, git_pull
Audit logread_audit_log
Workers healthworkers_health, workers_simulate, list_worker_groups
Code Mode (one program instead of many calls)code_mode_reference, code_mode_run
Help for the agentlist_knowledge_topics, describe, plan_request, submit_clarifications, approve_tasks, execute_tasks

get_run tells the agent which flow run a step belongs to, the root flow run, the step and how the run started; get_flow_run names the parent and root flow runs. Your code reads the same ids itself, from WAISO_RUN_ID and the other run variables: see What a run knows about itself.

Things to try, in plain words:

  • “Write a Python script that sums a list, run it with [1, 2, 3] and publish it.”
  • “Why did iteration 7 of last night’s import fail?”
  • “Which runs failed today?”
  • “Run the sales report every weekday at 8:00.”
  • “Start the invoice flow on every new e-mail in the billing mailbox.”
  • “Tell the ops Slack channel when a scheduled run fails.”
  • “Add a secret API_KEY to this project.”
  • “Let the finance team run the reconciliation themselves — only @loja.com.br addresses, and ask their name.”
  • “Make a robot that fetches the case status from the court site by case number.”

Two more groups help the agent itself: list_knowledge_topics / describe explain what Waiso can do, the flow file format, the SDK and the automation features, and plan_request → submit_clarifications → approve_tasks → execute_tasks turn a vague, multi-step request into a task list you approve before anything runs.

Deleting works with the same rules as the app: the person needs Delete access, and when something is in use (a script other scripts import, a connection flows use) the answer lists what uses it and the agent must ask again with force to delete anyway.

What stays with a person

These have no tool on purpose. The agent says where to do them:

  • Connecting accounts and typing credentials — e-mail sending accounts, Google, proxies, a Git repository: the Integrations, E-mail, Proxies and Git pages.
  • Revealing a secret’s value.
  • People, invitations and access: Settings → Users. Company sign-in: Settings → SSO.
  • Creating MCP tokens, plans and payment: Settings.
  • Project-wide settings (API, e-mail, AI provider, robot network), workers and language versions, copying between projects, and reviewing requests an endpoint received.

The agent knows what Waiso can do

The first knowledge topic, capabilities, is a map of every part of Waiso: what it is for, when to choose it, and which tools build it. The agent reads it before proposing a solution, so it reaches for the right pieces — a share link instead of a hand-made page, an approval step instead of a polling script. The assistants inside the app read the same map.

You askThe agent builds
“When an e-mail arrives in the orders mailbox, check it and tell the store.”A flow (AI step → condition → e-mail step) started by an e-mail event trigger.
“Before paying the supplier, the manager must say yes.”An approval step before the payment step; the manager decides in the app or by link.
“Let the sales team run this without touching code.”A share link with an allowlist of their e-mails.

Build a robot with your own model

Your assistant can build a robot without any AI key in Waiso: its own model does the thinking, Waiso lends it the browser. It opens a live session on the site, reads a map of the page (lists, forms, pagination, the site’s own data), acts like a person, checks every selector and field on the live page, writes the program with the robot runtime, saves it (problems come back with their line) and tests it against rows you expect. You pay only the browser pages it opens — 1 credit per 10 — and tries are free.

  1. Pick the prompt

    In your client, choose the Waiso prompt build_robot and give the site and what to collect. Clients without prompts: ask “read describe robot_workflow and build me a robot for …”.

  2. Tell it the rows you expect

    Two or three real rows make the test precise: the assistant iterates until every one is found.

  3. Watch it in the Studio

    The session appears in the robot’s execution history with each action and its picture; Stop ends it. The saved version is marked Written by your assistant (MCP).

How every call is checked

Each tool call passes the same check before it runs, in this order:

  1. The project must be one the token reaches.
  2. A tool that creates, changes, runs or deletes needs Read + Write there.
  3. If the token is limited to some topics, the tool’s area must be one of them.
  4. The person who owns the token must have that access in the project (see Team access).

A refusal names what is missing, for example this token's scope for project … is read-only.

Tools that need the whole project

list_runs, the alert tools and the Git tools touch every kind of item at once, so they are refused for a project the token limits to some topics. Turn on all topics for that project when the agent needs them.

Follow along and revoke

  • While a client acts on your account, a small bar at the bottom says what it is doing — Working on script, Working on flow, Running — and your lists update when it changes something. The screen stays yours: turn on Follow on screen in that bar and the app opens what the agent is working on (off by default; the choice is saved on your account). The × hides the bar; MCP active in the top bar shows it again.
  • When you have a script or flow open, the agent can ask where you are (where_is_user), so “fix this script” means the one on your screen. A script it saves reloads in your open editor.
  • Each token shows when it was last used. A token never used reads Never used.
  • Deleting a token stops it at once: any client using it loses access on its next call.