Skip to main content
Model Context Protocol allows AI assistants to access external tools and data sources. Use MCP servers to give Claude and other AI assistants access to Voltaire documentation and generate custom Skills for your contracts.

Generating Custom Skills

The primary use case for the Voltaire MCP server is generating custom Skills tailored to your specific contracts and requirements. Instead of using generic provider/contract abstractions, you can ask Claude to:
Claude will use the Voltaire documentation to generate a custom implementation based on our Skills patterns.
See Skills Philosophy to understand why Voltaire uses copyable implementations instead of rigid library abstractions.

Live Documentation Viewer

The Playwright MCP server enables Claude to view your local documentation in real-time by:
  • Navigating to your local Mintlify dev server
  • Taking screenshots of documentation pages
  • Inspecting page content and structure
  • Verifying visual rendering and layout
This is especially useful for:
  • Reviewing documentation changes as you write
  • Validating component rendering (tabs, accordions, code blocks)
  • Checking visual hierarchy and layout
  • Ensuring examples display correctly

Setup

1

Add MCP Server

Add the Playwright MCP server using the Claude Code CLI:
Verify it’s connected:
You should see playwright: npx @playwright/mcp@latest - ✓ Connected.
2

Install Playwright Browsers

Install the Chromium browser:
This downloads the browser that Playwright uses to render pages.
3

Start Local Docs Server

Start the Mintlify dev server:
Server typically runs at http://localhost:3002 (or 3000 if available).
4

Use in Claude Code

In Claude Code, ask Claude to view your documentation:
Claude can now view, screenshot, and interact with your local docs.

Usage

Ask Claude to view your documentation pages. Examples: View a specific page:
Review page structure:
Check navigation:
Validate component rendering:
Claude can:
  • Navigate to any documentation page
  • Take screenshots to visualize layout
  • Inspect page content and DOM structure
  • Click elements and interact with the page
  • Verify links and navigation
  • Check responsive design at different viewport sizes
As your codebase accumulates more Voltaire examples, you’ll need the MCP server less frequently. The AI can learn from existing patterns in your code. At that point, we recommend excluding the MCP server from your context since everything the AI needs will already be in your codebase.

Available MCP Tools

The Playwright MCP server provides these tools: Navigation:
  • browser_navigate - Navigate to URL
  • browser_navigate_back - Go back to previous page
Screenshots:
  • browser_take_screenshot - Capture full page or specific elements
  • browser_snapshot - Get accessibility tree snapshot
Interaction:
  • browser_click - Click elements
  • browser_type - Type into input fields
  • browser_fill_form - Fill multiple form fields
  • browser_hover - Hover over elements
Inspection:
  • browser_evaluate - Run JavaScript on page
  • browser_console_messages - Get console output
  • browser_network_requests - View network activity
See the Playwright MCP documentation for complete tool reference.

Workflow Example

Typical workflow for reviewing documentation changes:
1

Start docs server

Server runs at http://localhost:3000.
2

Make documentation changes

Edit MDX files in docs/ directory. Mintlify hot-reloads automatically.
3

Ask Claude to review

Claude navigates to the page, captures a screenshot, and provides visual feedback.
4

Iterate based on feedback

Make adjustments based on Claude’s observations and repeat.

Troubleshooting

Check config file location:
  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
  • Linux: ~/.config/Claude/claude_desktop_config.json
Verify JSON syntax:
Restart Claude Desktop after config changes.Check logs (if available in Claude Desktop developer tools).
Verify Mintlify server is running:
Restart the dev server:
Check browser manually: Visit http://localhost:3000 in your browser to confirm it’s accessible.
Install Playwright browsers:
Check installation:
Try running Playwright directly:
Adjust viewport size: Ask Claude to resize the browser:
Capture specific elements:
Use full page screenshots:

Technical Details

MCP Protocol: Model Context Protocol 1.0 Transport: stdio (standard input/output) Browser Engine: Chromium (via Playwright) Viewport: Default 1280x720 (configurable) Permissions: Local network access required for localhost The Playwright MCP server runs locally and connects to your local documentation server. No external network access required except for initial package installation.