webforJ MCP Server

com.webforjPublished by webforj.comOfficial publisherv1.0.0Updated Oct 24, 2026

WebforJ's MCP server, provides tools, resources, prompts for scaffolding and developing webforJ apps

VerifiedStreamable HTTPWeb executableKnowledge & MemoryDeveloper Tools

Overview

AI-generated overview

A remote MCP server for webforJ Java development: it searches docs, scaffolds projects, and validates CSS tokens, themes and class names.

What you can do
Look up webforJ versions, including stable releases and the active SNAPSHOT line, and get the Maven archetype command to scaffold a new project and start its dev server. Search webforJ documentation, JavaDoc and code samples, then fetch the full text of an indexed document or sample. Inspect the CSS styling surface of DWC web components by tag or Java class, and list the global design tokens. Validate design token references in CSS, Java, MDX or Markdown, and validate fully qualified Java class names against the source catalog for a target version. Generate a theme stylesheet from a primary HSL color, with annotations and recommended file paths.
When to use it
Useful when building or maintaining a webforJ Java web application and you want the assistant to ground answers in the official docs, scaffold a project, check styling tokens and class names before writing files, or produce a starting theme.
Requirements
A remote streamable HTTP endpoint; no authentication, environment variables or headers are declared. The assistant needs network access to reach it, and a host shell tool if the returned Maven commands are to be run.
Before you install
The server returns commands and file content for the assistant to apply; review generated stylesheets, themes and project scaffolding before writing them to disk or running them. Validation tools only check against the catalog for the target version, so results may not cover types outside it.

Installation

In SourceWeft

  1. Open webforJ MCP Server in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Web executable via Streamable HTTP. Remote servers run from the web runtime once configured in a workspace.

Use with an agent

Paste this prompt into Claude Code, Codex, Cursor or another agent — or into SourceWeft chat. The agent reads this server's install guide, shows you its publisher, endpoint and sign-in, and adds it to your client once you agree. Keys never go into a command.

Read https://sourceweft.com/mcp/com.webforj%2Fmcp/install.md and connect the MCP server it describes to my client. Before changing any config, show me its publisher, endpoint and sign-in method and wait for my OK. Never put an API key in a command or in a file I would commit; ask me where it should come from.

Read the install guide the agent follows

Other MCP clients

Add this to your client's mcpServers config.

{
  "mcpServers": {
    "webforj": {
      "type": "http",
      "url": "https://mcp.webforj.com/mcp"
    }
  }
}

Tools

9

get_versions

webforJ Version Catalog

Report the webforJ versions this server knows about. Returns the latest stable release, the current in-development SNAPSHOT (from the main-branch pom.xml), and an array of every major with its highest observed tag plus a `status` flag: "development" (the active SNAPSHOT line — actively changing), "stable" (the latest released major — may still receive minor/patch bugfixes), or "frozen" (older released majors — no new releases will be cut). Each major also carries `dataAvailable` indicating whether the DWC styling tools can answer questions about it. Call this FIRST when you do not know what version the user is on or which version to target — never guess.

Parametersreasoningrequired

create_project

webforJ Project Generator

Returns the Maven archetype command that scaffolds a new webforJ project, plus the follow-up commands to change into the generated directory and start the dev server. Relay the Maven command to the user via the host shell tool without modifying its arguments. Set showOptions=true to list available archetypes and the startforJ web generator instead of producing a command.

ParametersflavorappNamerequiredgroupIdversionarchetypereasoningrequiredartifactIdshowOptionsarchetypeVersion

get_document

webforJ Full Document Fetcher

Return the full content of an indexed webforJ documentation or sample file. Use this as a follow-up to search_knowledge_base when a search result excerpt is not enough and you need the complete page — migration guides, tutorials, long API docs. Pass the documentId from a search result.

Parametersidrequiredreasoningrequired

search_knowledge_base

webforJ Knowledge Base Search

Search webforJ documentation, JavaDoc, and code samples for any class, method, annotation, or component, and for CSS styling concepts and rules (palette semantics, seed vs h/s, :not([theme]) pattern, dark mode, ::part limits, table styling). Returns matching snippets with titles, categories, and relevance scores. Call this before claiming any webforJ API exists. For exact --dwc-* custom property or ::part() names on a specific component, use styles_get_component instead; to verify tokens in generated CSS, use styles_validate_tokens. Pass category to narrow the search; if the category is unknown the tool errors with a ranked list of similar names plus the full set of valid categories, so you can retry. In a webforJ project the deliverable is Java (or the Kotlin DSL) using webforJ classes; search for the dedicated webforJ component before falling back to React, JSX, or hand-built HTML.

Parameterstypelimitqueryrequiredreasoningrequiredcategories

styles_get_component

webforJ Component Styling Lookup

Return the real CSS styling surface of a DWC web component: CSS custom properties, shadow parts, reflected attributes, and slots. Accepts a DWC tag ("dwc-button") or a webforJ Java class name ("Button", "TextField"). Use mode="list" for every valid tag, mode="map" for Java -> tag mappings. Call this before writing CSS for a component so you never guess a var or part name. Prefer a typed Java setter on the component over CSS when both can produce the same result.

ParametersmodenamereasoningrequiredwebforjVersionrequired

styles_list_tokens

webforJ Global DWC Token Catalog

Return the authoritative list of global --dwc-* tokens (palette seeds, color shades, surfaces, spacing, typography, borders, etc.). Use this for any "which tokens are available for X" question — DO NOT ask the knowledge base to list tokens; it returns prose and the answer will be hallucinated. Filter with "prefix" (e.g. "--dwc-color-primary-") or "contains" (e.g. "seed") to narrow the result. For component-scoped CSS vars like --dwc-button-* use styles_get_component instead. The returned list is verbatim and complete for the filter you passed — do not add, rename, complete, or explain "implied" tokens, and do not reference tokens from other webforJ versions. If a token you expect is missing from the response, it does not exist for that version. Tokens that share a description are returned in a single entry where "names" is the list of every token that has that description; treat each name as a real, independently usable token. When writing CSS, use a token instead of hardcoding colors, spacing, or font sizes.

ParametersprefixcontainsreasoningrequiredwebforjVersionrequired

styles_validate_tokens

webforJ DWC Token Validator

Validate every --dwc-* reference in CSS, Java, MDX, or Markdown text against the real DWC global tokens and component CSS variables. Returns the list of invalid tokens with line numbers and ranked similar-name suggestions. Run this on any generated or edited stylesheet before writing it to disk.

ParameterscontentrequiredreasoningrequiredwebforjVersionrequired

fqcn_validate

webforJ FQCN Validator

Validate fully qualified class names against the catalog of types declared in webforJ source for the target version. Accepts either an explicit list of FQCNs or a Java snippet (the handler extracts its import statements). Returns unknown FQCNs with ranked similar-name suggestions. FQCNs outside the webforJ package family are not validated. Run this on any generated or edited Java before writing it to disk.

ParameterscontentimportsreasoningrequiredwebforjVersionrequired

create_theme

webforJ Theme Generator

Generate a webforJ theme from a primary HSL color. Returns two content blocks: a JSON summary with theme metadata, @AppTheme / @StyleSheet snippets, and recommended file paths, plus a second text block prefixed "CSS_CONTENT:" containing the full stylesheet.

ParametersstepreasoningrequiredthemeNameinfoDegreeprimaryColorrequiredwebforjVersionrequiredtintScaleFactortintBaseSaturationcontrastSensitiveLightnessdetectPrimaryColorCategory

Version history

1
  1. v1.0.0LatestSep 16, 2026

Score

83% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 daysRequired25 pts
  • Auth declaredRequired10 pts
  • Tools listedRequired15 pts
  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts

    Declare a GitHub repository with a README, or serve resource_documentation in the OAuth protected-resource metadata.

  • LicenseNot applicable

    A hosted service is used under its provider's terms, so no license is expected here. This check is left out of the percentage.