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.

mcp-server.ts
// 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?

MCPOpenVerb
What it isA protocol between AI apps and serversA definition format and governed execution layer
Main concernConnecting models to tools, data and promptsDefining actions and enforcing rules on them
Where it runsBetween a host and a server, local or remoteInside your application, in the action path
Action definitionTool name, JSON Schema input, optional annotationsVerb with typed params, returns and safety flags
Safety guidanceHuman in the loop SHOULD be able to deny callsPolicy decides allow or deny before every call
Behavior hintsAnnotations are untrusted unless the server is trustedFlags are enforced by your own executor
AuthorizationOptional; OAuth 2.1-based for HTTP transportsYour policy, by actor, role, plan and context
Record of actionsNot part of the protocolA receipt for every call
Also coversResources, prompts, elicitationPlan 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:

verbs-as-mcp.mjs
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.

OpenVerb Sandbox

Paste a Verb Library JSON schema here to define what actions the AI can perform.

Ask the AI to perform a task. It will use the vocabulary defined in your library.

The AI proposes a structured action based on your library vocabulary.

Waiting for prompt...

OpenVerb Core intercepts the AI's action and validates it before execution.

Verb exists in library
Payload matches JSON Schema
Policy requirements passed
Inputs valid and sanitized

The validated action is routed to the application backend for execution.

Waiting...

OpenVerb Core generates an execution receipt for full auditability.

Waiting for execution...