Skip to main content
Glama
WebCenter Content MCP Server

WebCenter Content MCP Server

by JohnRSim

WebCenter Content MCP Server

License: GPL-3.0-or-later MCP

Model Context Protocol server for Oracle WebCenter Content. Built for agent teams: deterministic, scope-gated, auditable, and shaped around the consolidated tool surface that MCP best practices call for.

v2.0 is a complete rewrite of the year-old v1 code. See docs/MIGRATING-FROM-V1.md for the upgrade walkthrough.

What you get

  • 16 consolidated tools + a workflow-tool framework (replacing the 59 endpoint-shaped tools of v1). See the generated docs/api/ENDPOINTS.md.

  • Three role-pack prompts — curator, auditor, migrator — pre-shape agents for the common workflows.

  • OAuth 2.1 everywhere: MCP-RS inbound (RFC 9728 + RFC 8707 audience binding), WCC OAuth outbound (PKCE + rotated refresh), Basic Auth fallback for on-prem WCC.

  • Streamable HTTP transport per the MCP 2025-06-18 spec, plus stdio for desktop clients.

  • Four distribution channels wired in the release pipeline — npm, Claude Desktop Extension (DXT), Electron app, signed multi-arch Docker image (published when a release is cut).

  • Audit log (stderr JSON-lines) on every tool call, token validation, consent decision, and transport rejection.

  • 531 tests across unit / integration / architecture / security / eval projects. Architecture guards forbid duplicate-dispatch growth and forbid bundling any LLM SDK.

Related MCP server: SAP BusinessObjects MCP Server

Quick start

Pre-release. v2.0.1 is tagged but not yet published to npm, the GitHub Container Registry, or the Releases page. Run it from source today; the npm / DXT / Electron / Docker channels light up once a release is published.

Run from source

git clone https://github.com/JohnRSim/webcenter-content-mcp-server.git
cd webcenter-content-mcp-server
pnpm install
pnpm build

Point Claude Desktop at the built entrypoint:

// macOS:   ~/Library/Application Support/Claude/claude_desktop_config.json
// Windows: %APPDATA%\Claude\claude_desktop_config.json
{
  "mcpServers": {
    "webcenter": {
      "command": "node",
      "args": ["/absolute/path/to/webcenter-content-mcp-server/dist/bin/wcc-mcp.js"],
      "env": {
        "WCC_BASE_URL": "https://wcc.example.com/documents/wcc/api/v1.1",
        "WCC_USER": "svc",
        "WCC_PASSWORD": "...",
      },
    },
  },
}

Or run the Streamable HTTP transport directly — node dist/bin/wcc-mcp.js --http (listens on 127.0.0.1:3999).

Once v2.0.1 is published

The release pipeline (.github/workflows/release.yml) produces four channels:

  • npm — npx -y webcenter-content-mcp-server as the Claude Desktop command.

  • DXT — install the wcc-mcp.dxt bundle (a GitHub Release asset) into Claude Desktop.

  • Electron app — signed desktop installers (Windows / macOS / Linux) on the Releases page.

  • Docker — ghcr.io/johnrsim/wcc-mcp-server for hosted deployments.

Full step-by-step for every path — configuration, auth, troubleshooting — is in docs/USAGE.md. Reference deployment manifests and operator runbooks: deploy/, docs/operators/.

Tool surface (summary)

Tool

Purpose

wcc_doc_search

Full-text + metadata search (auto-wraps plain text in <qsch>).

wcc_doc_get

Fetch metadata by dDocName or dID; concise or detailed.

wcc_doc_download

Stream a document by revision; respects PathPolicy.

wcc_doc_write

Create, replace, or update metadata (discriminated action).

wcc_doc_lifecycle

Delete, check-out, reverse check-out, expire.

wcc_doc_storage

Storage-tier updates + restore-from-archive.

wcc_doc_capabilities

Test allowed operations for the current credentials.

wcc_folder_browse

List children, list files, get capabilities.

wcc_folder_write

Create / move / delete folders.

wcc_public_links

Public-link CRUD.

wcc_application_links

Application-link CRUD.

wcc_workflow

Workflow CRUD + approve/reject.

wcc_taxonomy

Taxonomy + category management.

wcc_attachment

Attachment list / add / get / delete.

wcc_bulk_job

Start / status / cancel bulk jobs.

wcc_system

Doc types, config info, meta info, data-source queries.

wcc_workflow_bulk_reclassify

Workflow tool — apply a metadata patch across many docs with partial-failure + resumeToken.

See docs/api/ENDPOINTS.md for every input/output schema, scope, annotation, and example.

Architecture

src/
  bin/wcc-mcp.ts        CLI entry (bundled to dist/bin/wcc-mcp.js)
  transports/           stdio + Streamable HTTP — single dispatch path
  server/               build-server, dispatcher, context factory
  registry/             tool + resource + prompt registry
  tools/<domain>/       16 consolidated tool definitions
  prompts/              role-pack prompts (curator / auditor / migrator)
  wcc/                  WCC HTTP client + per-resource modules
  auth/
    basic/              Basic Auth strategy
    mcp-rs/             OAuth Resource Server (Phase 4a)
    wcc-oauth/          OAuth client against IDCS/Keycloak (Phase 4b)
  lib/
    workflow/           workflow framework (engine + resume token)
    sampling/           MCP sampling primitive + budget
    elicitation/        MCP elicitation primitive + validation
    errors/             20-code stable error taxonomy
    logger/             stderr-only logger + redaction
    audit/              structured audit log + sinks
    path-policy/        stdio / electron / hosted
    profiles/           multi-tenant profile manager
    ssrf-guard/         private-IP + DNS-rebinding defenses
    ratelimit/          token-bucket + Express middleware
    config/             Zod config schema
electron/               GUI host (rewritten in Phase 6)
deploy/hosted/          Dockerfile + compose + Caddyfile + nginx.conf

Detailed architecture write-up: docs/ARCHITECTURE.md. Decision records: docs/adr/.

Critical rules

These three rules are enforced by code + architecture guards. They are not negotiable.

  1. Never write to stdout in stdio mode. stdio is the MCP transport channel. Diagnostics go to stderr only. ADR 0001.

  2. No server-side LLM dependency. The server never bundles @anthropic-ai/sdk, openai, etc. Multi-step reasoning lives on the MCP client via sampling/createMessage. ADR 0003 + tests/architecture/no-server-llm.test.ts.

  3. Single dispatch path. The v1 stdio/HTTP duplication trap is structurally impossible — both transports route through src/server/dispatcher.ts:dispatchToolCall. AST guard at tests/architecture/no-duplicate-dispatch.test.ts.

Commands

pnpm install                  # use pnpm 9; npm is supported but lockfile is pnpm
pnpm typecheck                # tsc --noEmit
pnpm lint                     # eslint with typescript-eslint
pnpm test                     # full vitest suite (unit / integration / architecture / security / eval)
pnpm test -- --project unit   # one project at a time
pnpm test:electron            # Playwright renderer-IPC regression (needs xvfb on Linux CI)
pnpm bench                    # tinybench micro-bench (cold start, dispatcher, audit throughput)
pnpm build                    # tsup bundle → dist/
pnpm sbom                     # CycloneDX SBOM → dist/sbom.json
pnpm dxt:pack                 # DXT bundle → dist/wcc-mcp.dxt
pnpm docs:generate            # regenerate docs/api/ from the registry
pnpm docs:check               # CI gate: fail if docs/api/ is stale

Configuration

Environment variables consumed by the CLI:

Var

Required

Purpose

WCC_BASE_URL

yes

WCC REST API base URL.

WCC_USER / WCC_PASSWORD

yes (basic)

Basic Auth credentials.

WCC_MCP_PROFILE

no

Profile ID (default default).

MCP_PORT

no

HTTP port (default 3999).

MCP_BIND_HOST

no

HTTP bind (default 127.0.0.1).

MCP_RS_ENABLED

no

1 enables OAuth Resource Server gating on /mcp.

MCP_RS_ISSUER / MCP_RS_AUDIENCE / MCP_RS_JWKS_URI

when MCP-RS

See docs/operators/oauth-setup.md.

MCP_PATH_POLICY

no

stdio (default), electron, or hosted.

WCC_MCP_LEGACY_TOOL_NAMES

no

1 activates the v1-name shim (removed in v2.1.0).

WCC_MCP_RESUME_SECRET

recommended

32-byte secret used to HMAC workflow resume tokens.

License

Dual-licensed:

  • GPL-3.0-or-later for open use. See LICENSE.

  • Commercial license available from Fishbowl Solutions. See LICENSING.md.

Security

See SECURITY.md for the coordinated-disclosure runbook and the in-scope threat surface. Verification commands for every signed artefact are listed there too.

Acknowledgements

Built on the Model Context Protocol by Anthropic. Tool design follows the public MCP best-practices guide; auth follows OAuth 2.1 + RFC 7636 (PKCE) + RFC 8707 (resource indicators) + RFC 9728 (protected-resource metadata).

Available Tools

17 tools
wcc_attachmentA
Destructive

Manage WCC document attachments — secondary files attached to a primary document.

Actions:

  • add — upload a file as a named attachment rendition.

  • list — list attachments on a document.

  • download — stream an attachment to a local path.

  • delete — remove an attachment by rendition name.

Filesystem operations honour PathPolicy (rejected in hosted mode).

Returns: object

wcc_bulk_jobA
Destructive

Start, monitor, and collect WebCenter Content bulk background jobs.

Actions:

  • start-delete / start-download / start-add-category / start-remove-category — kick off a bulk job. Body is the WCC-shaped job request (free-form per kind).

  • cancel — cancel a running job.

  • status — get current job state.

  • package-download — once the job has succeeded, stream the output package to disk. PathPolicy applies.

Returns: object

wcc_doc_capabilitiesA
Read-onlyIdempotent

Probe which operations the calling user can perform on a document.

Returns a map of capability name → boolean. When testedCapabilities is supplied, only those keys appear in the result — handy for narrow permission checks before invoking a destructive action.

Inputs: ref (required), testedCapabilities (required). Returns: dID, dDocName, capabilities

wcc_doc_downloadA
Read-onlyIdempotent

Download a document binary from WebCenter Content to a local file.

Streams the response directly to disk — large documents do not buffer in memory.

Filesystem access is governed by the server's path policy. In stdio / Electron modes the path must resolve inside one of the filesystem roots the MCP client advertised (or the Electron app's user-data directory). In hosted mode this tool is disabled — call wcc_doc_get instead and consume the metadata directly.

Existing files at the target path are overwritten silently. Returns sha256 + bytesWritten so the caller can verify the download.

Inputs: ref (required), outputPath (required), rendition. Returns: dID, sha256, dDocName, outputPath, +2 more

wcc_doc_getA
Read-onlyIdempotent

Read a single document’s metadata from WebCenter Content.

Use this when you have either the public document name (dDocName) or an internal revision ID (dID) and want the metadata fields — author, title, security group, dates, document type.

For paginated search across many documents, prefer wcc_doc_search. To fetch the document content itself (the binary), use wcc_doc_download.

Inputs: ref (required), responseFormat (required). Returns: object

wcc_doc_lifecycleA
Destructive

Mutate a document's lifecycle state in WebCenter Content.

Supported actions:

  • checkout — lock the document for the caller (others see it as in-progress).

  • reverse-checkout — release an existing checkout.

  • delete — permanently remove the document (or one version of it via version). Irreversible.

  • resubmit-conversion— re-run the conversion pipeline on a previously-failed conversion.

Pass delete only after the user has explicitly confirmed. The other actions are mutating but reversible.

Returns: ok, dID, action, dDocName

wcc_doc_storageA
DestructiveIdempotent

Manage a document's storage tier or restore an archived document.

Supported actions:

  • update-tier — move the document to a different storage tier. Requires targetStorageTier.

  • restore-from-archive — pull the document back from an archive tier.

Moving to colder tiers reduces storage cost but increases retrieval latency. Confirm with the user before moving production content to archive.

Returns: ok, dID, action, dDocName, +1 more

wcc_doc_writeA
Destructive

Write to a document in WebCenter Content. Two modes:

  • new-revision — upload a new file revision. Requires filePath + a dDocName ref.

  • metadata-only — change metadata without re-uploading the binary. Accepts either ref shape.

Metadata is supplied as a string→string map; only the supplied keys are touched. Existing fields not listed remain unchanged.

The filePath is validated against the server's PathPolicy in stdio / Electron mode. In hosted (SaaS) mode this tool is disabled — filesystem uploads are not available; the caller would need a different ingest path.

Returns: ok, dID, mode, dDocName, +1 more

wcc_folder_browseA
Read-onlyIdempotent

Read folder state in WebCenter Content.

Views:

  • info — basic folder info for fFolderGUID.

  • search — paginated search within a folder. Returns mixed folder/file rows tagged with a kind discriminator.

  • file-info — info for a file inside a folder by fFileGUID.

  • capabilities — probe which folder operations the caller can perform.

Pagination on search follows the same opaque-cursor convention as wcc_doc_search.

Returns: object

wcc_folder_writeA
Destructive

Mutate folder state in WebCenter Content.

Actions:

  • create — create a folder under an optional parent.

  • delete — delete a folder by fFolderGUID. Irreversible.

  • delete-file — delete a file inside a folder by fFileGUID. Irreversible.

  • create-file-link — link an existing document into a folder under an optional display name.

Confirm with the user before invoking delete or delete-file — both are irreversible.

Returns: object

wcc_systemA
Read-onlyIdempotent

Read WebCenter Content system metadata.

Queries:

  • document-types — list all document types configured on the WCC instance.

  • config-info — full document-config bag (server version, security model, etc.).

  • meta-info — metadata field definitions (which fields exist, their types, defaults).

  • data-source — query a WCC-registered data source by name with arbitrary URL params.

Returns: object

wcc_taxonomyA
Idempotent

Manage WebCenter Content taxonomies (categorisation hierarchies).

Actions: create, get, update. Taxonomies are referenced by dTaxonomyGUID after creation.

Returns: createdBy, createdDate, dTaxonomyGUID, dTaxonomyName, +1 more

wcc_workflowA
Destructive

Manage WebCenter Content workflows.

Actions:

  • create / get / update — workflow definition CRUD by dWfName.

  • approve / reject — decide a document's current workflow step. Takes dDocName and an optional comment.

Workflow decisions affect document state; treat as destructive — confirm with the user before approving or rejecting.

Returns: object

wcc_workflow_bulk_reclassifyA
Idempotent

Apply a metadata patch to many WebCenter Content documents in one call.

Use this when you have a list of document names and a uniform metadata change to make (e.g. re-tag a folder of contracts as dSecurityGroup: "Internal"). The tool processes each document independently and returns a result contract with per-item outcome.

When items fail or the call is cancelled mid-way, the response carries a resumeToken. Pass it back as the optional cursor on a subsequent call (Phase 6) to retry only the unfinished items. Resume tokens are HMAC-bound to the input parameters — changing the metadata patch invalidates the token.

Inputs: items (required), metadata (required), _resumeSecret. Returns: total, failed, skipped, cancelled, +4 more

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.8/5.0

    Scored across 17 tools

    Disambiguation4/5

    Most tools are cleanly separated by resource (documents, folders, public links, application links, workflows, taxonomies, attachments, bulk jobs), and descriptions explicitly point to the right alternative tool. Some ambiguity remains between wcc_doc_lifecycle and wcc_doc_write, and between wcc_bulk_job and wcc_workflow_bulk_reclassify, whose name misleadingly suggests workflow management rather than bulk metadata patching.

    Naming Consistency4/5

    All tools use the same wcc_ prefix and snake_case, with predictable resource-oriented names such as wcc_doc_get, wcc_folder_browse, and wcc_public_links. The pattern is not strictly verb_noun because many tools are noun-only and expose actions via an action parameter, but it is still coherent and readable.

    Tool Count4/5

    Seventeen tools is slightly above the ideal range but reasonable for a broad enterprise CMS surface covering documents, folders, links, workflows, taxonomies, attachments, and bulk jobs. Each tool maps to a meaningful resource area, though several are large multi-action tools that concentrate many operations behind one name.

    Completeness3/5

    Core document operations are well covered: get, search, download, write, lifecycle delete/checkout, storage tiering, and capabilities. However, notable gaps exist, including public link delete/update, taxonomy delete/list, workflow list/delete, and no obvious create-new-document operation, which may cause dead ends in common admin workflows.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      C
      quality
      B
      maintenance
      Enables interaction with Oracle Fusion Cloud HCM REST APIs, providing tools for managing workers, absences, payroll, talent, and other HCM data with configurable write approvals and multiple transport modes.
      119
      MIT
    • A
      license
      B
      quality
      B
      maintenance
      Enables AI agents to administer, inspect, and troubleshoot BI Platform 4.3 SP5 through REST Web Services, including Web Intelligence documents, universes, CMS security, schedules, and repository hierarchy.
      46
      1
      Apache 2.0
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables MCP agents to inspect and edit Word, Excel, PowerPoint, PDF, and text documents locally while preserving formatting, including in-place text replacement, HTML round-tripping of whole files or individual worksheets, slides, or PDF page ranges, and filling Word form fields.
      MIT