mcpField
W
Wathba

Wathba

Remote
platform.wathba.saBusiness & Marketing0Updated today

About Wathba

Wathba is an official plugin for AI coding agents that connects them to Wathba services through a hosted MCP server. It supports OAuth sign-in and supplies a skill for using payments, OTP/SMS, KYC, ZATCA e-invoicing and shipping.

Key features

  1. 01Hosted Wathba MCP connection
  2. 02OAuth browser sign-in
  3. 03Payments, OTP/SMS and KYC
  4. 04ZATCA e-invoicing and shipping
  5. 05Shared agent skill

Use cases

  1. 01Add payment flows to an app
  2. 02Handle OTP/SMS and KYC tasks
  3. 03Work with ZATCA e-invoicing
  4. 04Connect shipping services to an app

MCP support

Connects MCP clients through the plugin or directly to Wathba's hosted MCP server using Streamable HTTP. The server handles authorization through OAuth.

Configuration

Remote servers need no local install. Pick your client, then copy the config or install in one click.

Endpointhttps://api.wathba.sa/mcp
Copy install command
Claude CodeTerminal
Cursor.cursor/mcp.json
VS Code.vscode/mcp.json
Claude Desktopclaude_desktop_config.json
Windsurf~/.codeium/windsurf/mcp_config.json

Run commands in a terminal; paste JSON into the client’s MCP config and restart. Servers that need sign-in will prompt on first connect.

Tools

Details

From the project README

Wathba agent plugin

The official Wathba (وثبة) plugin for AI coding agents. It connects Codex, the ChatGPT desktop app, Claude Code and other Agent Plugins clients to Wathba's hosted MCP server, and adds one short skill that tells the agent how to use it. Payments, OTP/SMS, KYC, ZATCA e-invoicing and shipping reach your app through Wathba; the plugin never handles API keys, and members sign in through the browser (OAuth).

EnvironmentBranchInstall idMCP server
Productionmainwathba@wathbahttps://api.wathba.sa/mcp
Developmentdev-marketplace (built from dev)wathba-dev@wathba-developmenthttps://apidev.wathba.sa/mcp

Install

Claude Code
/plugin marketplace add wathba-org/wathba-plugin
/plugin install wathba@wathba

For the development environment, add wathba-org/wathba-plugin#dev-marketplace and install wathba-dev@wathba-development. Then run /mcp, choose the Wathba server and sign in. To get updates automatically, open /plugin, go to Marketplaces, select the marketplace and choose Enable auto-update.

Codex and the ChatGPT desktop app
codex plugin marketplace add wathba-org/wathba-plugin
codex plugin add wathba@wathba

For the development environment, add --ref dev-marketplace and install wathba-dev@wathba-development. Installing from the app's Plugins page starts sign-in; in a terminal, run codex mcp login wathba (or wathba-dev). Codex checks the marketplace for updates when it starts.

Any other MCP client

Add the remote MCP server URL from the table above with the Streamable HTTP transport; the client discovers Wathba's OAuth settings on its own. Claude (web, Desktop and Cowork) and ChatGPT take it as a custom connector. Use either the plugin or a direct connection, not both, or every Wathba tool appears twice.

How this repository works

Nothing under plugins/, .claude-plugin/, .agents/ or contract.json is edited by hand. They are generated from two sources:

  • plugin.config.json: identities, origins, version, branding and listing text.
  • src/: the shared skill (src/skills/wathba/SKILL.md), the icon, and the README for the dev branch.

scripts/sync.mjs builds one marketplace per environment and enforces the packaging rules: identities, paths, one MCP server per package with no headers or scopes, environment isolation, no credentials, the skill's tool list, and the icon hash.

WorkflowWhenWhat it does
validateEvery PR, push to main or dev, weeklyGenerator rules, version rule, then installs both builds into throwaway Claude Code and Codex homes, then checks the live OAuth metadata
publish-devPush to devBuilds the development marketplace, verifies it, and publishes it to the dev-marketplace branch
driftDailyChecks both environments' live OAuth metadata and opens an issue when it stops matching
releasev* tag on mainGitHub release with the plugin ZIP, then the MCP Registry entry

The packages carry no scopes. The Wathba server decides the grant: every connection gets full agent access, and the consent page shows exactly what that allows.

Change the plugin

Changes reach DEV first and production later, like the platform.

  1. Branch from dev and edit plugin.config.json or src/.
  2. Run node scripts/sync.mjs check.
  3. Open a pull request into dev. When it merges, publish-dev publishes it to DEV agents as <version>-dev.<run>. No version bump is needed here. The owner's review is required: it reaches DEV members' agents.

contract.json lists the Wathba tools the skill names. The platform's CI reads it and fails a backend change that would remove or rename one of them.

Release production

Promote once the matching Wathba platform release is in production, so the skill never names tools the production server doesn't serve yet.

  1. Open a pull request from dev into main that raises version in plugin.config.json. CI refuses a changed package with the same version, because Claude Code updates only when the version changes. Merge it: production installs pick it up from main.
  2. Tag the merge commit v<version> and push the tag. release.yml checks that the tag, config and package agree, attaches the plugin ZIP, server.json and checksums to a GitHub release, then publishes server.json to the official MCP Registry after the owner approves the registry environment.

A production hotfix goes into main by its own pull request (with a higher version); merge main back into dev right after.

listing/ holds the material for the Anthropic and OpenAI directories.

Acceptance

docs/acceptance/ records the real host journeys (sign-in, reads, project creation, replay, recovery, update, rollback). A host is listed as supported only after a recorded run.

License

Apache-2.0

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.