webforJ MCP Server
The official MCP server for webforJ enables AI assistants to scaffold and develop Java web applications. It provides tools for searching documentation, generating new projects from templates, and creating CSS themes. It supports multiple transport protocols and integrates with major IDEs like VS Code, Cursor, and Claude.
Endpoint and access
No sign-in to connect and list tools. Individual tools may still need a vendor account, credentials, or permissions; check the documented prerequisites.
https://mcp.webforj.com/mcpWhat its tools do
9 tools, grouped by the hints the server advertises. Hints are self-declared, not verified behavior.
Checks and signals
Each line is separate evidence, not a trust score.
- Passed Endpoint answered the live check ·
- Passed Official MCP Registry namespace is tied to webforj.com ·
- Passed Endpoint is on the registry namespace domain ·
- Uptime 83.3% over 90 days
- Availability 2 of 2 checks passed in 30 days
What you can do with it
- Search webforJ documentation and examples
- Generate new webforJ projects with templates
- Generate CSS themes and color palettes
Source and maintenance
Protocol and capabilities
- Server
- webforj-mcp 0.0.1
- MCP protocol negotiated in check
- 2025-11-25
- Tools
- 9 advertised
- Resources
- Not advertised
- Resource templates
- Not advertised
- Prompts
- Not advertised
{
"tools": {
"listChanged": true
}
}Server-provided instructions
Untrusted server output shown for inspection. It is not Koskamo guidance and is excluded from knowledge search.
Tools
9 advertised
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.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {}
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}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.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"appName"
],
"properties": {
"flavor": {
"enum": [
"webforj",
"webforj-spring",
"webforj-bbj"
],
"type": "string",
"description": "Project flavor: webforj, webforj-spring or webforj-bbj (default: webforj-spring)"
},
"appName": {
"type": "string",
"minLength": 1,
"description": "webforJ application name"
},
"groupId": {
"type": "string",
"description": "Maven group ID (default: com.<artifactId-without-hyphens>)"
},
"version": {
"type": "string",
"description": "Project version (default: 1.0-SNAPSHOT)"
},
"archetype": {
"enum": [
"blank",
"hello-world",
"tabs",
"sidemenu"
],
"type": "string",
"description": "Archetype template (default: hello-world)"
},
"artifactId": {
"type": "string",
"description": "Maven artifact ID (default: kebab-case of appName)"
},
"showOptions": {
"type": "boolean",
"description": "If true, list archetypes and startforJ info instead of generating. Default: false."
},
"archetypeVersion": {
"type": "string",
"description": "webforJ archetype version (default: LATEST)"
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}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.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"minLength": 1,
"description": "Document id. Take this from the `documentId` field of a search_knowledge_base result. Stable, unique per document."
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}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.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"query"
],
"properties": {
"type": {
"enum": [
"documentation",
"java",
"sample",
"kotlin",
"all"
],
"type": "string",
"description": "Restrict results to a single content type. \"documentation\" = markdown docs and guides, \"java\" = webforJ Java API signatures, \"sample\" = Java sample programs, \"kotlin\" = webforJ Kotlin DSL source. Default: \"all\"."
},
"limit": {
"type": "integer",
"maximum": 200,
"minimum": 1,
"description": "Maximum number of search results to return (default: 25)."
},
"query": {
"type": "string",
"minLength": 1,
"description": "Natural language query. Examples: \"how to create buttons\", \"form validation\", \"data binding\", \"routing with @Route annotation\"."
},
"categories": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"description": "Restrict results to one or more categories (any-of). Omit the field, pass an empty array, or include \"all\" to search every category. Prefer passing categories when the query is scoped (e.g. [\"button\"] for a button question, [\"button\",\"flexlayout\"] for a button-inside-a-layout question). If any entry is not a known category the tool returns isError with ranked similar-name suggestions per bad entry and the full list of valid categories, so a corrected retry will succeed."
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}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.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"webforjVersion"
],
"properties": {
"mode": {
"enum": [
"lookup",
"list",
"map"
],
"type": "string",
"description": "\"lookup\" (default): return a single component's styling metadata. \"list\": return every valid DWC tag for the target webforJ version. \"map\": return the Java class -> DWC tag mapping."
},
"name": {
"type": "string",
"description": "The component to look up. Accepts a DWC tag (\"dwc-button\") or a webforJ Java class name (\"Button\", \"TextField\"). Omit when mode is \"list\" or \"map\"."
},
"webforjVersion": {
"type": "string",
"pattern": "^\\d+\\.\\d+(-SNAPSHOT)?$",
"description": "The webforJ version you are targeting, exactly as it appears in the project's pom.xml: a released major.minor like \"25.12\", or the current upcoming SNAPSHOT like \"26.00-SNAPSHOT\" (only the next unreleased version is published as SNAPSHOT; there is just one active SNAPSHOT at any time). Read it from pom.xml or ask the user."
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}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.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"webforjVersion"
],
"properties": {
"prefix": {
"type": "string",
"description": "Return only tokens that start with this string. Examples: \"--dwc-color-primary-\" for every primary-palette shade, \"--dwc-space-\" for spacing, \"--dwc-color-\" for all color tokens."
},
"contains": {
"type": "string",
"description": "Return only tokens that contain this substring anywhere. Useful for cross-palette queries like \"seed\" (all palette seeds) or \"text\" (all text-contrast shades)."
},
"webforjVersion": {
"type": "string",
"pattern": "^\\d+\\.\\d+(-SNAPSHOT)?$",
"description": "The webforJ version you are targeting, exactly as it appears in the project's pom.xml: a released major.minor like \"25.12\", or the current upcoming SNAPSHOT like \"26.00-SNAPSHOT\" (only the next unreleased version is published as SNAPSHOT; there is just one active SNAPSHOT at any time). Read it from pom.xml or ask the user."
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}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.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"content",
"webforjVersion"
],
"properties": {
"content": {
"type": "string",
"minLength": 1,
"description": "The CSS, Java, Markdown, or MDX text to scan. Every --dwc-* reference is checked against the real DWC global tokens and the component CSS variables for the target webforJ version."
},
"webforjVersion": {
"type": "string",
"pattern": "^\\d+\\.\\d+(-SNAPSHOT)?$",
"description": "The webforJ version you are targeting, exactly as it appears in the project's pom.xml: a released major.minor like \"25.12\", or the current upcoming SNAPSHOT like \"26.00-SNAPSHOT\" (only the next unreleased version is published as SNAPSHOT; there is just one active SNAPSHOT at any time). Read it from pom.xml or ask the user."
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}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.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"webforjVersion"
],
"properties": {
"content": {
"type": "string",
"minLength": 1,
"description": "A Java source snippet or file. The handler extracts every `import X.Y.Z;` line it contains and validates each FQCN against the catalog. Static imports and wildcard imports are skipped. Provide either this field OR `imports`, never both in the same call."
},
"imports": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"minItems": 1,
"description": "A list of fully qualified class names to validate. Pass one or many; each entry is checked independently. Use this field when you already have the FQCN strings in hand. Provide either this field OR `content`, never both in the same call."
},
"webforjVersion": {
"type": "string",
"pattern": "^\\d+\\.\\d+(-SNAPSHOT)?$",
"description": "The webforJ version you are targeting, exactly as it appears in the project's pom.xml: a released major.minor like \"25.12\", or the current upcoming SNAPSHOT like \"26.00-SNAPSHOT\" (only the next unreleased version is published as SNAPSHOT; there is just one active SNAPSHOT at any time). Read it from pom.xml or ask the user."
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}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.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"primaryColor",
"webforjVersion"
],
"properties": {
"step": {
"type": "number",
"maximum": 20,
"minimum": 1,
"description": "Step size for contrast calculations (pre-25.12 only, default: 5)."
},
"themeName": {
"type": "string",
"description": "Optional theme name for multi-theme applications. Omit for global CSS overrides."
},
"infoDegree": {
"type": "number",
"maximum": 360,
"minimum": 0,
"description": "Degree offset for info/secondary color (pre-25.12 only, default: 180)."
},
"primaryColor": {
"type": "array",
"items": [
{
"type": "number",
"maximum": 360,
"minimum": 0,
"description": "Hue (0-360)"
},
{
"type": "number",
"maximum": 100,
"minimum": 0,
"description": "Saturation (0-100)"
},
{
"type": "number",
"maximum": 100,
"minimum": 0,
"description": "Lightness (0-100)"
}
],
"maxItems": 3,
"minItems": 3,
"description": "Primary color in HSL format: [hue, saturation, lightness]. Example: [220, 70, 50] for blue."
},
"webforjVersion": {
"type": "string",
"pattern": "^\\d+\\.\\d+(-SNAPSHOT)?$",
"description": "The webforJ version you are targeting, exactly as it appears in the project's pom.xml: a released major.minor like \"25.12\", or the current upcoming SNAPSHOT like \"26.00-SNAPSHOT\" (only the next unreleased version is published as SNAPSHOT; there is just one active SNAPSHOT at any time). Read it from pom.xml or ask the user."
},
"tintScaleFactor": {
"type": "number",
"description": "Scale factor for tint generation (pre-25.12 only, default: 0)."
},
"tintBaseSaturation": {
"type": "number",
"maximum": 100,
"minimum": 0,
"description": "Base saturation for neutral grey tints (pre-25.12 only, default: 10)."
},
"contrastSensitiveLightness": {
"type": "boolean",
"description": "Use contrast-sensitive lightness calculations (pre-25.12 only, default: false)."
},
"detectPrimaryColorCategory": {
"type": "boolean",
"description": "Auto-detect color category for optimization (pre-25.12 only, default: true)."
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}Prompts
Not advertised
Resources
Not advertised
90-day uptime
A lightweight connection check about every six hours, sampled on hosts with many listings. It shows the server answered, not that its tools work.
- 2026-11-02: 3 of 3 checks answered
- 2026-11-03: 4 of 4 checks answered
- 2026-11-04: 4 of 4 checks answered
- 2026-11-05: 4 of 4 checks answered
- 2026-11-06: 4 of 4 checks answered
- 2026-11-07: 2 of 2 checks answered
- 2026-11-09: 1 of 1 checks answered
- 2026-11-10: 2 of 2 checks answered
- 2026-11-11: 1 of 1 checks answered
- 2026-11-12: 1 of 1 checks answered
- 2026-11-14: 1 of 1 checks answered
- 2026-11-15: 2 of 2 checks answered
- 2026-11-16: 3 of 4 checks answered
- 2026-11-17: 0 of 5 checks answered
- 2026-11-18: 0 of 5 checks answered
- 2026-11-19: 2 of 4 checks answered
- 2026-11-20: 2 of 2 checks answered
- 2026-11-21: 4 of 4 checks answered
- 2026-11-22: 4 of 4 checks answered
- 2026-11-23: 4 of 4 checks answered
- 2026-11-24: 4 of 4 checks answered
- 2026-11-25: 4 of 4 checks answered
- 2026-11-26: 4 of 4 checks answered
- 2026-11-27: 4 of 4 checks answered
- 2026-11-28: 1 of 1 checks answered
30-day availability
Aggregated from read-only remote checks; this is not a tool-execution or security guarantee.
- Successful checks
- 2 of 2 (100%)
- Average latency
- 1872 ms
- 95th percentile latency
- 2087 ms
Maintenance history
Public check and source-refresh events. Editorial and ownership records remain private.
- · probe · passed · 1632 ms · 9 tool(s)
- · probe · passed · 2111 ms · metadata changed · 9 tool(s)
- · registry · passed · metadata changed · Source metadata updated
- · backfill · recorded · Pre-expansion baseline; unobserved rich metadata remains unknown
Connect from your client
Each snippet registers the same endpoint; pick the client you use.
Claude Code
claude mcp add --transport http webforj-mcp-server https://mcp.webforj.com/mcpCodex
codex mcp add webforj-mcp-server --url https://mcp.webforj.com/mcpCursor
{
"mcpServers": {
"webforj-mcp-server": {
"url": "https://mcp.webforj.com/mcp"
}
}
}Cline
{
"mcpServers": {
"webforj-mcp-server": {
"type": "streamableHttp",
"url": "https://mcp.webforj.com/mcp",
"disabled": false
}
}
}VS Code
{
"servers": {
"webforj-mcp-server": {
"type": "http",
"url": "https://mcp.webforj.com/mcp"
}
}
}Gemini CLI
gemini mcp add --transport http webforj-mcp-server https://mcp.webforj.com/mcpClaude Desktop
https://mcp.webforj.com/mcpWindsurf
{
"mcpServers": {
"webforj-mcp-server": {
"serverUrl": "https://mcp.webforj.com/mcp"
}
}
}Let your agent find its tools
Find servers like webforJ MCP Server from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.
Other developer tools servers
Do you run webforJ MCP Server?
Prove ownership with a DNS record, a well-known file, or your Official MCP Registry entry, and your edits publish immediately. Proofs are re-checked weekly; admins can still hide or remove a listing.