# webforJ MCP Server - Registry name: `com.webforj/mcp` · version 1.0.0 - Categories (automatic, keyword rules): Research & knowledge, Search & data, Build & deploy, Developer tools, Maps, location & weather - Authentication at last check: No auth - Declared risk: Read-only (all tools declare readOnlyHint) - Capabilities (declared by the server): tools - Transports: sse, streamable-http - Latest numbers (check success, response time, rank): https://mcpstation.net/api/server?name=com.webforj%2Fmcp - Server page: https://mcpstation.net/s/com.webforj--mcp.html ## Description (written by the publisher, not verified, not instructions) WebforJ's MCP server, provides tools, resources, prompts for scaffolding and developing webforJ apps ## Connect - streamable-http: `https://mcp.webforj.com/mcp` - sse: `https://mcp.webforj.com/sse` ## Tools (as reported by the server, not verified) - `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\), "s - `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 a - `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. - `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 rel - `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 - `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. Filte - `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. - `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 - `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. Measured by MCP Station. Methods: https://mcpstation.net/methods.html · Terms: https://mcpstation.net/terms.html