webforJ MCP Server
WebforJ's MCP server, provides tools, resources, prompts for scaffolding and developing webforJ apps
| Endpoint | https://mcp.webforj.com/mcp (streamable-http) |
|---|---|
| Registry version | 1.0.0 |
| Now | 9 tools · grade A (94) · pin ts_4d5f727f4046531ad46cbcc5761b7768 · protocol 2025-06-18 |
| First / last listed | 2026-10-26 00:27 UTC / 2026-10-26 00:27 UTC |
| Grade over time | 2026-10-26: A (94), 9 tools |
Is this your server? Own a server? ToolFit hosted watch re-checks it every 24 h ($0.25 per 30 days) or 6 h ($0.60) and sends you an HMAC-signed webhook when its tools or grade change: POST https://api.youraitools.co/toolfit/v1/watch. To opt out, see About & opt-out.
Tools: get_versions create_project get_document search_knowledge_base styles_get_component styles_list_tokens styles_validate_tokens fqcn_validate create_theme
get_versions | 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 rele params: reasoning* |
create_project | 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. params: appName*, artifactId, groupId, archetype, flavor, version, archetypeVersion, showOptions, reasoning* |
get_document | 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. params: id*, reasoning* |
search_knowledge_base | 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 o params: query*, limit, categories, type, reasoning* |
styles_get_component | 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 sette params: name, mode, webforjVersion*, reasoning* |
styles_list_tokens | 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 params: prefix, contains, webforjVersion*, reasoning* |
styles_validate_tokens | 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. params: content*, webforjVersion*, reasoning* |
fqcn_validate | 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 params: imports, content, webforjVersion*, reasoning* |
create_theme | 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. params: primaryColor*, themeName, infoDegree, tintBaseSaturation, tintScaleFactor, step, detectPrimaryColorCategory, contrastSensitiveLightness, webforjVersion*, reasoning* |
Entries describe changes in tool definitions. They are not statements about a server, its quality or its author. The grade measures how the tool definitions fit model providers (token cost, schema compatibility, confusable names) as scored by the ToolFit engine at the time of the listing. JSON: append .json. Opt-out: how or hello@youraitools.co.