The MCP 服务器:Mermaid 验证器 MCP server is a publicly available project. Review the upstream repository for installation instructions, supported tools, compatibility, permissions, and current maintenance status.
Configuration
Configuration, transport, authentication, and runtime requirements vary by project. Open the repository before connecting and use the smallest set of credentials and permissions required.
Context7 Platform - Up-to-date Code Docs For Any Prompt
upstash
Community
Context7 MCP server providing up-to-date, version-specific documentation and code examples for libraries, enabling coding agents to fetch accurate docs and code snippets. Requires an API key for higher rate limits, passed via CONTEXT7_API_KEY header.
57.7Kstars0forks
Playwright MCP
Microsoft Corporation
Community
A Model Context Protocol (MCP) server that provides browser automation capabilities using Playwright. Enables LLMs to interact with web pages through structured accessibility snapshots, bypassing the need for screenshots or visually-tuned models.
35.5Kstars0forks
AIHawk
feder-cr
Community
AIHawk is an anti detect browser and web browsing agent, open source, with an MCP server for coding agents: undetected, no captchas, no blocks. It requires an OpenRouter API key for the standalone web UI mode, which can be provided via the --openrouter-key flag or the OPENROUTER_API_KEY environment variable or a .env file in the running directory.
MCP Integration: The project uses the Model Context Protocol to standardize the interface for AI tools, allowing seamless integration with compatible clients.
PNG Output Format: The implementation uses PNG as the default output format to ensure better compatibility with most MCP clients, particularly Cursor, which doesn't support SVG.
Child Process Approach: The implementation uses Node.js child processes to interact with the Mermaid CLI, which provides:
Isolation between the main application and the rendering process
Ability to capture detailed error information
Proper handling of the rendering pipeline
Error Handling Strategy: The implementation uses a nested try-catch structure to:
Distinguish between validation errors (invalid diagram syntax) and system errors
Provide detailed error information to help users fix their diagrams
Ensure the service remains stable even when processing invalid input
Simple Project Structure: The project uses a straightforward TypeScript project structure for:
Easy maintenance and understanding
Direct dependency management
Simplified build process
Build and Execution
The application can be built and run using npm scripts:
# Install dependencies
npm install
# Build the application
npm run build
# Run locally (for development)
npx @modelcontextprotocol/inspector node dist/main.js
# Format code
npm run format
# Lint code
npm run lint
# Watch for changes (development)
npm run watch
The application runs as an MCP server that communicates via standard input/output, making it suitable for integration with MCP-compatible clients.
Release
To release a new version, the following steps in order:
npm run build
npm run bump
npm run changelog
npm publish --access public
Troubleshooting
WSL/Windows stdin: Earlier versions invoked Mermaid CLI with /dev/stdin, which can fail on WSL with ENXIO. This server now uses - for stdin/stdout (-i - / -o -) to be portable across Linux/macOS/WSL/Windows.
Inspector working dir: When launching via the MCP Inspector, ensure the server path resolves (e.g. npx @modelcontextprotocol/inspector npx -y @rtuin/mcp-mermaid-validator@latest or use an absolute path to dist/main.js).