Comparison
OpenVerb vs MCP (Model Context Protocol)
MCP connects AI applications to external tools and data. OpenVerb defines your app's actions and governs how they run. How they differ, where each fits, and how to expose OpenVerb verbs as MCP tools.
Last reviewed
In short: MCP is how an AI application connects to tools and data offered by a server. OpenVerb is how you define your app's actions and govern how they run. They sit at different layers, and you can publish OpenVerb verbs as MCP tools to get both.
Both come up whenever developers ask how to give AI models the ability to do things, so they often get compared. This page sets out what each one is, based on the current MCP specification (version 2026-07-28), and where they overlap.
What MCP is
The specification describes the Model Context Protocol as “an open protocol that enables seamless integration between LLM applications and external data sources and tools.” It defines three roles:
- Hosts: the AI applications that start connections.
- Clients: connectors inside the host.
- Servers: services that provide capabilities.
Servers can offer tools (actions the model can call), resources (data) and prompts (templates). Messages are JSON-RPC 2.0, carried over stdio or Streamable HTTP. A tool has a name, a JSON Schema for its input, and optionally an output schema and annotations describing its behavior. MCP is maintained as a Series of LF Projects, with changes proposed through Specification Enhancement Proposals.
// An MCP server registering a tool (TypeScript SDK v2)
import { McpServer } from '@modelcontextprotocol/server';
import { StdioServerTransport } from '@modelcontextprotocol/server/stdio';
import * as z from 'zod/v4';
const server = new McpServer({ name: 'tasks', version: '1.0.0' });
server.registerTool(
'task_create',
{ description: 'Create a new task.', inputSchema: z.object({ title: z.string() }) },
async ({ title }) => ({ content: [{ type: 'text', text: `Created: ${title}` }] })
);
await server.connect(new StdioServerTransport());What OpenVerb is
OpenVerb is an open standard for describing the actions an AI may take in an application, and for running them under rules. You describe each action as a verb in a versioned library, with typed parameters and safety flags such as destructive and requires_confirmation. An executor validates every call, and @openverb/runtime checks a policy before each action and returns a receipt after it.
The difference: transport versus execution
MCP answers: how does an AI application discover and call capabilities that live somewhere else? OpenVerb answers: what are this application's actions, and under what rules may they run?
| MCP | OpenVerb | |
|---|---|---|
| What it is | A protocol between AI apps and servers | A definition format and governed execution layer |
| Main concern | Connecting models to tools, data and prompts | Defining actions and enforcing rules on them |
| Where it runs | Between a host and a server, local or remote | Inside your application, in the action path |
| Action definition | Tool name, JSON Schema input, optional annotations | Verb with typed params, returns and safety flags |
| Safety guidance | Human in the loop SHOULD be able to deny calls | Policy decides allow or deny before every call |
| Behavior hints | Annotations are untrusted unless the server is trusted | Flags are enforced by your own executor |
| Authorization | Optional; OAuth 2.1-based for HTTP transports | Your policy, by actor, role, plan and context |
| Record of actions | Not part of the protocol | A receipt for every call |
| Also covers | Resources, prompts, elicitation | Plan tiers, versioned libraries, standard verbs |
One point deserves care. The MCP specification asks for user consent and a human able to deny tool calls, and says clients must not trust a server's descriptions of its own tools unless the server is trusted. Those are sound principles, but MCP leaves the enforcement to whoever builds the host and the server. If your server exposes a delete action, something on your side still has to decide who may delete what. That something is an execution layer.
Using them together
Because a verb library is just data, you can generate an MCP server from it, and route every tool call through the same gate your in-app agent uses. Validation, confirmations, policy and logging then apply no matter which AI application is calling:
import { McpServer } from '@modelcontextprotocol/server';
import { StdioServerTransport } from '@modelcontextprotocol/server/stdio';
import * as z from 'zod/v4';
// OpenVerb param -> Zod schema
function paramToZod(p) {
let s;
if (p.type === 'enum') s = z.enum(p.enum);
else if (p.type === 'number') s = z.number();
else if (p.type === 'boolean') s = z.boolean();
else if (p.type === 'object') s = z.record(z.string(), z.any());
else if (p.type.startsWith('array')) s = z.array(z.any());
else s = z.string();
s = s.describe(p.description);
return p.required ? s : s.optional();
}
const server = new McpServer({ name: library.namespace, version: library.version });
for (const verb of library.verbs) {
const shape = Object.fromEntries(
Object.entries(verb.params ?? {}).map(([name, p]) => [name, paramToZod(p)])
);
server.registerTool(
verb.name,
{ description: verb.description, inputSchema: z.object(shape) },
async (args) => {
// Same gate as in-app: validation, confirmation, policy, logging.
const result = await runAction({ verb: verb.name, params: args });
return {
content: [{ type: 'text', text: JSON.stringify(result) }],
isError: result.status !== 'success',
};
}
);
}
await server.connect(new StdioServerTransport());runAction is the single entry point from How to add an AI agent to your app. Because it runs on your side, a destructive verb still needs confirmation even when it is called over MCP.
When to use which
- Use MCP when you want outside AI applications, such as desktop assistants, IDEs and coding agents, to reach your capabilities or data through a standard connector.
- Use OpenVerb when you want to define what your app can do, put rules on it, and keep a record, whether the caller is your own in-app agent or anyone else.
- Use both when you want one governed set of actions, available to your own agent and, through MCP, to the wider ecosystem.
Frequently asked questions
Is OpenVerb an alternative to MCP?
Not really. MCP is a protocol for connecting AI applications to tools and data, usually across a process or network boundary. OpenVerb defines and governs the actions themselves. You can publish OpenVerb verbs as MCP tools, so they work together.
Does MCP enforce permissions or confirmations?
The MCP specification says there should always be a human in the loop able to deny tool invocations, and that clients must treat tool annotations as untrusted unless they come from a trusted server. Authorization is optional and defined for HTTP transports. Enforcing what a tool may actually do is left to the host and the server, which is where an execution layer like OpenVerb fits.
Should my app use MCP or OpenVerb?
If you want outside AI applications, such as desktop assistants and coding agents, to reach your capabilities, offer an MCP server. If you want an agent inside your own product to act safely, define the actions with OpenVerb. Many teams will do both, from the same verb library.