About Mq MCP
Mq MCP is an MCP server in the AI category: deterministic MCP runtime for safe tool execution, policy gates, contracts, and local AI workflow governance.
The repository has 1 stars and 0 forks.
Install
git clone https://github.com/harehare/mq-mcpThis server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.
Tools (9)
extract_blockquotes`.blockquote`
Parameters not published.
extract_code_blocks`.code`
Parameters not published.
extract_done_tasks`.done`
Parameters not published.
extract_headings`.h`
Parameters not published.
extract_images`.image`
Parameters not published.
extract_links`.link`
Parameters not published.
extract_tables`.table`
Parameters not published.
extract_text`.text`
Parameters not published.
extract_todos`.todo`
Parameters not published.
Ask AI
Ask AI about Mq MCP
Powered by Claude · Grounded in docs
Security checks
- ✓README presentThe repository ships documentation.
5 checks have not been run yet.
README
Model Context Protocol (MCP) server implementation for mq. This crate provides an MCP server that allows AI assistants to process Markdown and HTML content using mq's query language.
Installation
You can install mq-mcp using the installation script:
curl -fsSL https://raw.githubusercontent.com/harehare/mq-mcp/main/bin/install.sh | bash
Or clone this repository and run the install script:
git clone https://github.com/harehare/mq-mcp.git
cd mq-mcp
./bin/install.sh
The script will:
- Install the
mqbinary to~/.local/bin - Add
~/.local/binto your PATH (if not already present) - Support macOS, Linux, and Windows
- Verify checksums for security
After installation, restart your terminal or run:
source ~/.zshrc # or ~/.bashrc for bash users
Implementation
The server implements four MCP tools:
html_to_markdown: Converts HTML to Markdown and executes mq queriesextract_markdown: Executes mq queries on Markdown contentavailable_functions: Returns available functions for mq queriesavailable_selectors: Returns available selectors for mq queries
Tool Parameters
html_to_markdown
html(string): HTML content to processquery(optional string): mq query to execute
extract_markdown
markdown(string): Markdown content to processquery(string): mq query to execute
available_functions
No parameters. Returns JSON with function names, descriptions, parameters, and example queries.
available_selectors
No parameters. Returns JSON with selector names, descriptions, and parameters.
Configuration
Claude Desktop
Using mq-mcp binary directly
Add to ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"mq-mcp": {
"command": "~/.local/bin/mq-mcp",
"args": []
}
}
}
Or simply use mq-mcp if ~/.local/bin is in your PATH:
{
"mcpServers": {
"mq-mcp": {
"command": "mq-mcp",
"args": []
}
}
}
Using mq command
Add to ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"mq-mcp": {
"command": "~/.local/bin/mq",
"args": ["mcp"]
}
}
}
Or simply use mq if ~/.local/bin is in your PATH:
{
"mcpServers": {
"mq-mcp": {
"command": "mq",
"args": ["mcp"]
}
}
}
VS Code with MCP Extension
Using mq-mcp binary directly
Add to .vscode/settings.json:
{
"mcp": {
"servers": {
"mq-mcp": {
"type": "stdio",
"command": "mq-mcp",
"args": []
}
}
}
}
Using mq command
Add to .vscode/settings.json:
{
"mcp": {
"servers": {
"mq-mcp": {
"type": "stdio",
"command": "mq",
"args": ["mcp"]
}
}
}
}
License
This project is licensed under the MIT License
README copy captured when this server was indexed; it may lag the repository. The original is authoritative.