JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 30
  • Score
    100M100P100Q55131F
  • License MIT

MCP server for Vaadin documentation with document-based search and full document retrieval

Package Exports

  • vaadin-docs-mcp-server
  • vaadin-docs-mcp-server/dist/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (vaadin-docs-mcp-server) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Vaadin Documentation MCP Server

This package provides a Model Context Protocol (MCP) server for accessing Vaadin documentation. It allows IDE assistants and developers to search for relevant Vaadin documentation using semantic search.

Installation

You don't need to install this package directly. It's designed to be used with IDE assistants that support the Model Context Protocol.

Usage with IDE Assistants

To use with IDE assistants that support the Model Context Protocol, add the following configuration to your IDE assistant's MCP settings:

{
  "mcpServers": {
    "vaadin": {
      "command": "npx",
      "args": [
        "-y",
        "vaadin-docs-mcp-server"
      ]
    }
  }
}

This will automatically download and run the latest version of the package without requiring a global installation.

Optional Configuration

You can optionally override the REST server URL for local development:

{
  "mcpServers": {
    "vaadin": {
      "command": "npx",
      "args": [
        "-y",
        "vaadin-docs-mcp-server"
      ],
      "env": {
        "REST_SERVER_URL": "http://localhost:3001"
      }
    }
  }
}

The default REST server URL points to the production server, so you typically don't need to override it unless you're running a local development server.

Available Tools

The MCP server provides the following tool:

  • search_vaadin_docs: Search Vaadin documentation for relevant information

    • Parameters:
      • question (required): The search query or question about Vaadin
      • max_results (optional): Maximum number of results to return (default: 5)
      • max_tokens (optional): Maximum number of tokens to return (default: 1500)
      • framework (optional): The Vaadin framework to focus on: "flow" for Java-based views, "hilla" for React-based views, or empty string for both (default: "")
  • get_vaadin_version: Get the latest stable version of Vaadin Core from GitHub releases

    • Parameters: None
    • Returns: Simple JSON object with version and release timestamp

Development

To contribute to this package:

  1. Clone the repository
  2. Install dependencies: bun install
  3. Make your changes
  4. Build the package: bun run build
  5. Test your changes: bun run start

License

MIT