Developers
Make your application agent‑ready.
Expose the capabilities of your web application to AI agents with WebMCP.
Define what an agent can read and do using the authentication, permissions and application logic you already have. XataWorks discovers those capabilities and uses them alongside other applications to get work done. Because WebMCP is an open standard, you’re not locked into XataWorks.
How it works
Your application already knows how to do the work
It already searches records, creates orders, updates tickets and generates reports. WebMCP lets you expose those capabilities as tools an AI agent can use. The agent doesn’t click through your interface; it calls the operations your application deliberately makes available.
Your application stays in control. The agent gets tools.
Articles
The idea
What WebMCP is, how it relates to MCP, and how an agent uses the tools your application exposes.
-
What WebMCP is
A page that declares its operations, what the agent sees, and what the person sees.
-
WebMCP and MCP
The same idea in a different place — and when each is the better choice.
-
How agents use your application’s tools
From a registered tool to an answer, across several applications, with the person deciding what it may do.
Articles
Hands on
Examples hosted with this guide, so you can open each one in XataWorks in seconds.
Try it now
Paste this into the browser’s address bar in XataWorks, then ask the agent to greet someone:
https://xataworks.ca/developers/examples/hello/
Hello, WebMCP explains what you just ran.
-
Hello, WebMCP START HERE
One page, one tool, tested end to end — with the question you are asked and the answer.
-
A tool that changes things
Reading, adding and deleting, and the confirmation a deletion gets.
-
Two apps, one agent
Two applications that know nothing of each other, and one question an agent answers with both.
-
Designing tools agents use well
Naming, granularity, descriptions, inputs, results, errors and hints.
-
Testing and debugging in XataWorks
Confirm your tools are seen and classed as you meant, watch a call, and read the call log.
-
Add the XataWorks Assistant to your web app
One script tag puts a chat panel on your page that uses your WebMCP tools, with no install for the person using it.
New examples and techniques appear on the developer blog.
Articles
Permissions
Every question the person using your application can be asked, and every answer, photographed.
-
Safety classes
Read-only, mutating and consequential: the hints that decide them and the defaults when you declare nothing.
-
Answering a permission request
Both questions, every answer, and exactly what each one does.
-
How long an answer lasts
Once, this chat, a group, every chat, an agent — and where to withdraw an answer.
-
Permission scopes
Giving each tenant, workspace or project under one host its own answers.
Articles
Agents and skills
Tools are what your application can do; skills are knowledge about how and when to use it.
-
Agents and your application
Instructions that orchestrate applications, and sites an agent may use without asking.
-
Publishing a skill
Hand a visiting agent the procedure for using your application.
Building AI into your own product?
WebMCP makes your application’s capabilities available to agents. XataWorks Platform can provide the rest of the assistant experience — agents, chat, skills, permissions, model integration, browser capabilities and optional XataWorks modules. You build what makes your application unique, not the whole AI platform around it.