Developers
Build for the bus.
XataWorks is a bus for the web applications people already use.
WebMCP is how yours plugs in.
Once your application declares its operations through WebMCP, an agent in XataWorks can work it alongside every other application on the bus — in the person’s own signed-in session, with the person deciding what it may do. This guide gets your application plugged in, and shows you every question the person is asked.
Articles
The idea
XataWorks is a bus; WebMCP is how an application plugs into it.
-
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.
-
XataWorks is the bus
Every application plugs in; one agent can work them all, 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.
-
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 bus
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.
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
What drives the bus, and how your application can teach it.
-
Agents on the bus
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.
Try it now
Open an example in XataWorks
Paste this into the browser’s address bar in XataWorks, then ask the agent to greet someone:
https://xataworks.ca/developers/examples/hello/
New examples and techniques appear on the developer blog.