Skip to content

About

The website for Open MCP Portal, the self-hosted portal for a company's MCP servers

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

omp-website

The landing page for Open MCP Portal (OMP), a self-hosted, open-source (MIT) portal where a company's teams register the MCP servers they build, publish them to a reviewed catalog, and give people and agents governed access through curated gateways, with sign-in for any MCP client, tool scopes, approval of sensitive calls, signed identity to the servers, per-person credentials and audit. The site is served at https://omp.bitop.dev; the documentation lives in its own repository and site, https://docs.omp.bitop.dev.

It's one long page plus a 404 page, with no pricing, sign-up, forms, cookies, tracking or third-party requests. The text describes Open MCP Portal v0.15.3 (released 2026-11-21; the repository was called open-mcp-gateway before the rename) and is checked against the product at the v0.15.3 tag: docs/releases/v0.3.3.md to docs/releases/v0.15.3.md and CHANGELOG.md (the "New since v0.3.2" section, one card per feature naming its release), docs/status.md and docs/roadmap.md (the project status card), docs/threat-model.md, docs/mcp-protocol.md, docs/mcp-tasks.md, docs/admin-overview.md, docs/notifications.md, docs/automation-tokens.md, docs/cli.md, docs/tool-classification.md, docs/credential-scopes.md, docs/gateway-curation.md, docs/tool-approvals.md, docs/access-requests.md, docs/service-connections.md, docs/upstream-protection.md, docs/upstream-failover.md, docs/scim.md, SPEC.md, docs/decisions.md, docs/registry.md, the "As built" sections of docs/phase3-gateways.md to docs/phase7-upstream-oauth.md, docs/upstream-identity.md, docs/connect-clients.md, docs/deploy.md, examples/mail-mcp/README.md, the Makefile and the screen names in web/src. Nothing on the page describes a feature that isn't built; planned work is named as planned in the project status card. External agent platforms, relay accounts and person impersonation (shipped in v0.3.0, retired in v0.4.0 by decision 81) are not described anywhere on the page.

lib/site.ts holds the version, the release day (2026-11-21; the footer and sitemap show it), the release notes link, the release the "New since" section counts from (sinceVersion, v0.3.2), the published image (by digest, ghcr.io/bitop-dev/open-mcp-portal@sha256:bae00dfd…, tag v0.15.3, with the cosign certificate identity) and the repository links (pinned at blob/v0.15.3; move them to the next tag when the page describes a newer release, and check each path still exists there with git ls-tree -r --name-only <tag>), the docs() helper for links to pages on the docs site, the example host (mcp.example.com, the host the screenshots and the docs show) and the HTTP header names the portal sends to MCP servers (MCP-Gateway-Identity, MCP-Gateway-Provider, MCP-Gateway-Provider-Token; protocol names that the product's rename kept).

Naming. The page leads with "Open MCP Portal" (title, hero, metadata) and uses "OMP" only as a short form after it. The text names no competing products (other MCP gateways, registries, tool platforms or API management products); the MCP clients the portal connects (Claude, Claude Code, VS Code, Cursor) and the services people sign in to (GitHub, Google, Microsoft Entra ID, Atlassian, Slack, GitLab) are named because they are what it connects to. Examples use generic names (mcp.example.com, Example Corp, a support gateway). scripts/postbuild.mjs fails the build if a page uses a forbidden name or "OMP" before "Open MCP Portal".

Stack

  • Next.js 16 (App Router) with output: "export": next build writes plain static files to out/.
  • React 19, TypeScript 5.9, Tailwind CSS 4.
  • Inter Variable, self-hosted from @fontsource-variable/inter.
  • Node 22 and npm; every version is pinned in package-lock.json (the same versions as the Open Model Gateway website).
  • nginx (alpine, pinned by digest) in the container.

Brand tokens: app/brand.css

app/brand.css holds Open MCP Portal's colours (light by default, and dark), radii, shadows and font stacks, and maps them to Tailwind v4 theme variables (bg-brand-surface, text-brand-muted, bg-brand-primary, text-brand-link, rounded-card, shadow-brand-2 and so on). The docs site (omp-docs, app/brand.css) uses the same file, byte for byte, so the two sites look like one product.

The file is generated, not written by hand: scripts/brand-css.mjs derives it deterministically from the product's own UI theme, so anyone who runs it against the same product revision gets the same bytes:

npm run brand              # write app/brand.css from the product repository
npm run brand -- --check   # fail if app/brand.css differs from what the sources give
cmp app/brand.css ../omp-docs/app/brand.css
  • Sources: web/src/components/ui/themes/neutral.css (the Bitop "neutral" theme: cool slate neutrals with an indigo accent; colours and shadows) and web/src/components/ui/styles/tokens.css (radii, font stacks) in the product repository. PRODUCT_DIR names it; by default the first of ../open-mcp-portal, ../open-mcp-gateway, ../golang/open-mcp-portal and ../golang/open-mcp-gateway.
  • Rules: light values from the :root, [data-theme="light"] block, dark values from [data-theme="dark"]; var(--…) references resolved to literal values (dark falls back to light); each brand token --omp-<name> takes one semantic token (--omp-bg from --color-bg, --omp-text-muted from --color-text-muted, --omp-focus-ring from --color-focus-ring, --omp-shadow-1 from --shadow-1, … the full list is TOKENS in the script), keeping the source line's comment prefixed with the source token's name; whitespace in values collapsed to one space; radii (--radius-control, --radius-card, --radius-popover) and fonts (--font-family-sans, --font-family-mono) from tokens.css. The @theme inline block maps every token to the same Tailwind names the sister sites use.
  • The product uses the same Bitop theme as Open Model Gateway, so the values equal the OMG sites'; only the --omp- prefix and the comments differ.

Copy the script to omp-docs (or copy the generated file) and change both repositories together. Components and app/globals.css use only the Tailwind names (in CSS through --theme(--color-brand-…)), never the raw token variables, so a new brand.css drops in without other changes. The theme follows the system (prefers-color-scheme); data-theme="dark|light" or class="dark|light" can force one.

Logo, favicon and Open Graph card

The logo's source, exports and usage rules live in ../omp-assets/logo/ (the mark is in the folder named by source in lib/mark.json; currently keystone).

  • components/logo.tsx is the only place the site draws the logo (header and footer): the mark as inline SVG (mark-small.svg, 28 px, aria-hidden) beside the name as live text. omp-docs should draw it identically; change both together.
  • lib/mark.json holds the mark as inner SVG markup on its 64 grid: svg is mark-small.svg (read by components/logo.tsx), svgRegular is mark.svg (read by scripts/og-image.mjs). npm run og writes both from the logo folder; placeholder: true marks the neutral stand-in (an outlined square on the family's dark tile) the site used before the logo existed.
  • npm run og (scripts/og-image.mjs) finds the logo folder (LOGO_DIR; else ../omp-assets/logo/<source>; else the only folder under ../omp-assets/logo/ with every export: mark.svg, mark-small.svg, favicon.ico, favicon.svg, png/apple-touch-icon.png, png/icon-192.png, png/icon-512.png), copies the five icons unchanged into public/, refreshes lib/mark.json, and draws public/og.png (1200x630: the mark and name, the headline and, once that slot is filled, the my-gateways screenshot) in the brand's dark colours. Without a logo folder it draws the icons (including a PNG-in-ICO favicon.ico) from the placeholder mark. Rerun it when the logo or the screenshot changes and commit the results.

Screenshots

The page has 8 named screenshot slots in its web UI section, listed in lib/slots.json with their alt text and captions. A slot without an image shows a clearly marked placeholder with the expected file name. They are filled from the Example Corp capture in ../omp-assets/screenshots/ (MANIFEST.md there), retaken on the published Open MCP Portal v0.15.3 image. Three slots name a docs file through "file" (gateway-capabilities → gateway-capabilities-picker, call-detail → call-detail-payload) or one of the website's own (connect-confirm → connect-confirm-more-scopes); approval-review and server-governance use the docs files of the same name, new in the v0.13.1 capture (they replaced the server-sign-in and admin-usage slots).

npm run images   # copy the screenshots that exist into public/images as WebP, record their sizes
npm run og       # rebuild the Open Graph card and icons

Commit the results (public/images/, lib/screenshots.json, public/og.png, icons, lib/mark.json). Screenshots come from a fictional demo installation (Example Corp) in ../omp-assets/screenshots/; set SCREENSHOTS_DIR to read from another directory. For each slot the script looks for file (or the slot's own name) as .png, .webp or .jpg and, if that's missing, the slot's interimFile, recording "interim": true in lib/screenshots.json. After a retake, check each slot's alt text and caption against its image (they were rewritten for the v0.13.1 capture before the images were in; check them against the images). npm run images writes lib/screenshots.json from the slots only; delete the WebP files of slots that no longer exist from public/images/.

Slot Shows
my-gateways My gateways, with why each one is yours and what it offers (also used by public/og.png)
catalog Catalog: published servers with their teams, health and badges, and the search box
gateway-capabilities A team gateway's Capabilities tab (Choose capabilities), with minimum roles
oauth-consent The consent page: "pi wants to use Support as you", with the tool scope it asks for
connect-confirm Connect your Google account: the request and the scopes asked for
approval-review An approval request (Priya Shah reviewing Sam Ortiz's status__create_ticket): the redacted argument preview and approve or deny
server-governance The Status server's Overview at the Governance card: owner, on call, sensitivity, next review, lifecycle
call-detail A call page, with View contents for a recorded call

Local development

npm ci
npm run dev      # http://localhost:3000

Build

npm run typecheck
npm run build    # static export to out/, then scripts/postbuild.mjs

scripts/postbuild.mjs hashes the inline scripts Next.js writes into the HTML and puts them in the Content-Security-Policy (build/security-headers.conf), so script-src needs no 'unsafe-inline'. It fails the build if the output loads a script, style sheet, font, image or frame from another origin, if the page text uses a forbidden name, or if "OMP" appears before "Open MCP Portal".

To run the production image locally, read-only like in a cluster:

npm run docker   # builds the image and serves it on http://127.0.0.1:8080

Container image and deployment

.github/workflows/publish.yaml builds the site on every pull request and push. On main it also builds and pushes a multi-arch (linux/amd64, linux/arm64) image, with every action pinned by commit SHA:

  • ghcr.io/bitop-dev/omp-website:<full commit SHA>
  • ghcr.io/bitop-dev/omp-website:latest

Existing deployments that use ghcr.io/ncecere/omp-website need their image reference updated to ghcr.io/bitop-dev/omp-website.

The image is nginx serving out/:

  • runs as user 101, listens on port 8080, and answers GET /healthz with ok;
  • works with a read-only root filesystem: the pid file and temp paths are under /tmp, so mount an emptyDir (or tmpfs) there;
  • sends security headers (CSP, nosniff, X-Frame-Options: DENY, Referrer-Policy, Permissions-Policy, COOP);
  • caches hashed assets under /_next/static/ for a year (immutable), other assets for an hour, and revalidates pages on every request.

Deployment lives outside this repository. New GHCR packages start private; make the package public, or pull it with a registry credential.

Dependabot opens one grouped pull request a week each for npm, GitHub Actions and the Docker base images.

Licence

About

The website for Open MCP Portal, the self-hosted portal for a company's MCP servers

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages