windows-rs-mcp

windows-rs-mcp

9

The Windows Crate Docs Search MCP is a server for Claude Desktop that enables searching of the Rust `windows` crate API documentation. It uses Playwright for web interaction and offers features like detailed documentation retrieval and related items search.

Windows Crate Docs Search MCP

This project offers a Claude Desktop MCP server enabling the search of the Rust windows crate API documentation. It leverages Playwright for interacting with the documentation website's search capabilities.

Features

  • Search Windows API: Discover functions, structs, enums, and more within the windows crate documentation.
  • Get Documentation: Retrieve detailed information about exact matches, including descriptions, signatures, and cargo features.
  • Find Related Items: Identify related API elements during searches.

Usage

Install Playwright browsers, with chromium set to install by default. You can skip this by setting MCP_SKIP_PLAYWRIGHT_INSTALL.

Running the MCP Server

Using uvx: Run the server with uvx windows-rs-mcp.

Running Locally with uv: Directly execute using uv run from your project directory.

Configurations

  • Claude Desktop: Add to settings by configuring mcpServers with uvx or uv run for local installations.

  • Cursor: Modify .cursor/mcp.json to add this MCP server using the uvx method.

Environment Variables

  • MCP_SKIP_PLAYWRIGHT_INSTALL: Skip automatic Playwright installation if set.
  • MCP_PLAYWRIGHT_BROWSER: Specify Playwright browser to install, defaults to chromium.