Crawler Summary

@neverinfamous/mysql-mcp answer-first brief

Enterprise-grade MySQL MCP Server with OAuth 2.0 authentication, connection pooling & tool filtering mysql-mcp <!-- mcp-name: io.github.neverinfamous/mysql-mcp --> **Last Updated February 18, 2026** $1 $1 $1 $1 $1 $1 **$1** • **$1** • **$1** • **$1** The Most Comprehensive MySQL MCP Server Available **mysql-mcp** is the definitive **Model Context Protocol server for MySQL** — empowering AI assistants like AntiGravity, Claude, Cursor, and other MCP clients with **unparalleled database capabilities**. Built for develo Capability contract not published. No trust telemetry is available yet. 3 GitHub stars reported by the source. Last updated 2/25/2026.

Freshness

Last checked 2/25/2026

Best For

@neverinfamous/mysql-mcp is best for mcp, mysql, database workflows where MCP compatibility matters.

Not Ideal For

Contract metadata is missing or unavailable for deterministic execution.

Evidence Sources Checked

editorial-content, GITHUB MCP, runtime-metrics, public facts pack

Claim this agent
Agent DossierGitHubSafety: 89/100

@neverinfamous/mysql-mcp

Enterprise-grade MySQL MCP Server with OAuth 2.0 authentication, connection pooling & tool filtering mysql-mcp <!-- mcp-name: io.github.neverinfamous/mysql-mcp --> **Last Updated February 18, 2026** $1 $1 $1 $1 $1 $1 **$1** • **$1** • **$1** • **$1** The Most Comprehensive MySQL MCP Server Available **mysql-mcp** is the definitive **Model Context Protocol server for MySQL** — empowering AI assistants like AntiGravity, Claude, Cursor, and other MCP clients with **unparalleled database capabilities**. Built for develo

MCPself-declared

Public facts

5

Change events

1

Artifacts

0

Freshness

Feb 25, 2026

Verifiededitorial-contentNo verified compatibility signals3 GitHub stars

Capability contract not published. No trust telemetry is available yet. 3 GitHub stars reported by the source. Last updated 2/25/2026.

3 GitHub starsTrust evidence available

Trust score

Unknown

Compatibility

MCP

Freshness

Feb 25, 2026

Vendor

Neverinfamous

Artifacts

0

Benchmarks

0

Last release

2.3.1

Executive Summary

Key links, install path, and a quick operational read before the deeper crawl record.

Verifiededitorial-content

Summary

Capability contract not published. No trust telemetry is available yet. 3 GitHub stars reported by the source. Last updated 2/25/2026.

Setup snapshot

git clone https://github.com/neverinfamous/mysql-mcp.git
  1. 1

    Setup complexity is MEDIUM. Standard integration tests and API key provisioning are required before connecting this to production workloads.

  2. 2

    Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Evidence Ledger

Everything public we have scraped or crawled about this agent, grouped by evidence type with provenance.

Verifiededitorial-content
Vendor (1)

Vendor

Neverinfamous

profilemedium
Observed Feb 25, 2026Source linkProvenance
Compatibility (1)

Protocol compatibility

MCP

contractmedium
Observed Feb 25, 2026Source linkProvenance
Adoption (1)

Adoption signal

3 GitHub stars

profilemedium
Observed Feb 25, 2026Source linkProvenance
Security (1)

Handshake status

UNKNOWN

trustmedium
Observed unknownSource linkProvenance
Integration (1)

Crawlable docs

6 indexed pages on the official domain

search_documentmedium
Observed Apr 15, 2026Source linkProvenance

Release & Crawl Timeline

Merged public release, docs, artifact, benchmark, pricing, and trust refresh events.

Self-declaredagent-index

Artifacts Archive

Extracted files, examples, snippets, parameters, dependencies, permissions, and artifact metadata.

Self-declaredGITHUB MCP

Extracted files

0

Examples

6

Snippets

0

Languages

typescript

Executable Examples

bash

npm install -g @neverinfamous/mysql-mcp

bash

mysql-mcp --transport stdio --mysql mysql://user:password@localhost:3306/database

bash

npx @neverinfamous/mysql-mcp --transport stdio --mysql mysql://user:password@localhost:3306/database

bash

docker run -i --rm writenotenow/mysql-mcp:latest \
  --transport stdio \
  --mysql mysql://user:password@host.docker.internal:3306/database

bash

git clone https://github.com/neverinfamous/mysql-mcp.git
cd mysql-mcp
npm install
npm run build
node dist/cli.js --transport stdio --mysql mysql://user:password@localhost:3306/database

bash

mysql-mcp --mysql mysql://root:pass@localhost/db

Docs & README

Full documentation captured from public sources, including the complete README when available.

Self-declaredGITHUB MCP

Docs source

GITHUB MCP

Editorial quality

ready

Enterprise-grade MySQL MCP Server with OAuth 2.0 authentication, connection pooling & tool filtering mysql-mcp <!-- mcp-name: io.github.neverinfamous/mysql-mcp --> **Last Updated February 18, 2026** $1 $1 $1 $1 $1 $1 **$1** • **$1** • **$1** • **$1** The Most Comprehensive MySQL MCP Server Available **mysql-mcp** is the definitive **Model Context Protocol server for MySQL** — empowering AI assistants like AntiGravity, Claude, Cursor, and other MCP clients with **unparalleled database capabilities**. Built for develo

Full README

mysql-mcp

<!-- mcp-name: io.github.neverinfamous/mysql-mcp -->

Last Updated February 18, 2026

GitHub License: MIT CodeQL npm version Docker Pulls Security TypeScript Tests Coverage

📚 Full Documentation (Wiki)ChangelogSecurityRelease Article

The Most Comprehensive MySQL MCP Server Available

mysql-mcp is the definitive Model Context Protocol server for MySQL — empowering AI assistants like AntiGravity, Claude, Cursor, and other MCP clients with unparalleled database capabilities. Built for developers who demand enterprise-grade features without sacrificing ease of use.

🎯 What Sets Us Apart

| Feature | Description | | ------------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | | 193 Specialized Tools | The largest MySQL tool collection for MCP — from core CRUD and native JSON functions (MySQL 5.7+) to advanced spatial/GIS, document store, and cluster management | | 18 Observability Resources | Real-time schema, performance metrics, process lists, status variables, replication status, and InnoDB diagnostics | | 19 AI-Powered Prompts | Guided workflows for query building, schema design, performance tuning, and infrastructure setup | | OAuth 2.1 + Access Control | Enterprise-ready security with RFC 9728/8414 compliance, granular scopes (read, write, admin, full, db:*, table:*:*), and Keycloak integration | | Smart Tool Filtering | 25 tool groups + 11 shortcuts let you stay within IDE limits while exposing exactly what you need | | HTTP Streaming Transport | SSE-based streaming with /sse, /messages, and /health endpoints for remote deployments | | High-Performance Pooling | Built-in connection pooling for efficient, concurrent database access | | Ecosystem Integrations | First-class support for MySQL Router, ProxySQL, and MySQL Shell utilities | | Advanced Encryption | Full TLS/SSL support for secure connections, plus tools for managing data masking, encryption monitoring, and compliance | | Production-Ready Security | SQL injection protection, parameterized queries, input validation, and audit capabilities | | Strict TypeScript | 100% type-safe codebase with 1833 tests and 86% coverage | | MCP 2025-11-25 Compliant | Full protocol support with tool safety hints, resource priorities, and progress notifications |


🚀 Quick Start

Prerequisites

  • Node.js 24+
  • MySQL 5.7+ or 8.0+ server
  • npm or yarn

Installation

NPM (Recommended)

npm install -g @neverinfamous/mysql-mcp

Run the server:

mysql-mcp --transport stdio --mysql mysql://user:password@localhost:3306/database

Or use npx without installing:

npx @neverinfamous/mysql-mcp --transport stdio --mysql mysql://user:password@localhost:3306/database

Docker

docker run -i --rm writenotenow/mysql-mcp:latest \
  --transport stdio \
  --mysql mysql://user:password@host.docker.internal:3306/database

From Source

git clone https://github.com/neverinfamous/mysql-mcp.git
cd mysql-mcp
npm install
npm run build
node dist/cli.js --transport stdio --mysql mysql://user:password@localhost:3306/database

⚡ MCP Client Configuration

HTTP/SSE Server Usage (Advanced)

When to use HTTP mode: Use HTTP mode when deploying mysql-mcp as a standalone server that multiple clients can connect to remotely. For local development with Claude Desktop or Cursor IDE, use the default stdio mode shown below instead.

Use cases for HTTP mode:

  • Running the server in a Docker container accessible over a network
  • Deploying to cloud platforms (AWS, GCP, Azure)
  • Enabling OAuth 2.1 authentication for enterprise security
  • Allowing multiple AI clients to share one database connection

OAuth 2.1 Authentication

For enterprise deployments, mysql-mcp supports OAuth 2.1 authentication with Keycloak or any RFC-compliant provider.

Quick Setup

1. Start with OAuth disabled (default)

mysql-mcp --mysql mysql://root:pass@localhost/db

2. Enable OAuth with an identity provider

mysql-mcp --mysql mysql://root:pass@localhost/db \
          --oauth-enabled \
          --oauth-issuer http://localhost:8080/realms/mysql-mcp \
          --oauth-audience mysql-mcp

Start the HTTP server:

Local installation:

node dist/cli.js --transport http --port 3000 --server-host 0.0.0.0 --mysql mysql://user:password@localhost:3306/database

Docker (expose port 3000):

docker run -p 3000:3000 writenotenow/mysql-mcp \
  --transport http \
  --port 3000 \
  --server-host 0.0.0.0 \
  --mysql mysql://user:password@host.docker.internal:3306/database

Available endpoints:

  • GET /sse - Establish MCP connection via Server-Sent Events
  • POST /messages - Send JSON-RPC messages to the server
  • GET /health - Health check endpoint
  • GET /.well-known/oauth-protected-resource - OAuth 2.1 metadata (when OAuth enabled)

💡 Tip: Most users should skip this section and use the stdio configuration below for local AI IDE integration.

Cursor IDE / Claude Desktop

{
  "mcpServers": {
    "mysql-mcp": {
      "command": "node",
      "args": [
        "C:/path/to/mysql-mcp/dist/cli.js",
        "--transport",
        "stdio",
        "--mysql",
        "mysql://user:password@localhost:3306/database"
      ]
    }
  }
}

Using Environment Variables (Recommended)

{
  "mcpServers": {
    "mysql-mcp": {
      "command": "node",
      "args": ["C:/path/to/mysql-mcp/dist/cli.js", "--transport", "stdio"],
      "env": {
        "MYSQL_HOST": "localhost",
        "MYSQL_PORT": "3306",
        "MYSQL_USER": "your_user",
        "MYSQL_PASSWORD": "your_password",
        "MYSQL_DATABASE": "your_database",
        "MYSQL_XPORT": "33060"
      }
    }
  }
}

> **Note:** `MYSQL_XPORT` (X Protocol port) defaults to `33060` if omitted. Only needed for `mysqlsh_import_json` and `docstore` tools. Set to your MySQL Router X Protocol port (e.g., `6448`) when using InnoDB Cluster.

📖 See the Configuration Wiki for more configuration options.


🔗 Database Connection Scenarios

| Scenario | Host to Use | Example Connection String | | ------------------------- | ------------------------- | ------------------------------------------------ | | MySQL on host machine | host.docker.internal | mysql://user:pass@host.docker.internal:3306/db | | MySQL in Docker | Container name or network | mysql://user:pass@mysql-container:3306/db | | Remote/Cloud MySQL | Hostname or IP | mysql://user:pass@db.example.com:3306/db |

MySQL on Host Machine

If MySQL is installed directly on your computer (via installer, Homebrew, etc.):

"--mysql", "mysql://user:password@host.docker.internal:3306/database"

MySQL in Another Docker Container

Add both containers to the same Docker network, then use the container name:

Create a network and run MySQL:

docker network create mynet
docker run -d --name mysql-db --network mynet -e MYSQL_ROOT_PASSWORD=pass mysql:8

Run MCP server on the same network:

docker run -i --rm --network mynet writenotenow/mysql-mcp:latest \
  --transport stdio --mysql mysql://root:pass@mysql-db:3306/mysql

Remote/Cloud MySQL (RDS, Cloud SQL, etc.)

Use the remote hostname directly:

"--mysql", "mysql://user:password@your-instance.region.rds.amazonaws.com:3306/database"

| Provider | Example Hostname | | ---------------- | ------------------------------------------------ | | AWS RDS | your-instance.xxxx.us-east-1.rds.amazonaws.com | | Google Cloud SQL | project:region:instance (via Cloud SQL Proxy) | | Azure MySQL | your-server.mysql.database.azure.com | | PlanetScale | aws.connect.psdb.cloud (SSL required) | | DigitalOcean | your-cluster-do-user-xxx.db.ondigitalocean.com |

Tip: For remote connections, ensure your MySQL server allows connections from Docker's IP range and that firewalls/security groups permit port 3306.


Code Mode: Maximum Efficiency

Code Mode (mysql_execute_code) dramatically reduces token usage (70–90%) and is included by default in all presets.

[!TIP] Maximize Token Savings: For the best results, instruct your AI agent to prefer Code Mode over individual tool calls. Add a rule like this to your agent's prompt or system configuration:

"When using mysql-mcp, prefer mysql_execute_code (Code Mode) for multi-step database operations to minimize token usage."

This ensures the agent batches operations into single calls instead of making many individual tool calls. See the Code Mode wiki for full API documentation.

[!NOTE] AntiGravity Users: Server instructions are automatically sent to MCP clients during initialization. However, AntiGravity does not currently support MCP server instructions. For optimal Code Mode usage in AntiGravity, manually provide the contents of src/constants/ServerInstructions.ts to the agent in your prompt or user rules.


🛠️ Tool Filtering

[!IMPORTANT] AI IDEs like Cursor have tool limits (typically 40-50 tools). With 193 tools available, you MUST use tool filtering to stay within your IDE's limits. We recommend starter (39 tools) as a starting point. Code Mode is included in all presets by default for 70-90% token savings on multi-step operations.

What Can You Filter?

The --tool-filter argument accepts shortcuts, groups, or tool names — mix and match freely:

| Filter Pattern | Example | Tools | Description | | ---------------- | --------------------------- | ----- | ------------------------- | | Shortcut only | starter | 39 | Use a predefined bundle | | Groups only | core,json,transactions | 32 | Combine individual groups | | Shortcut + Group | starter,spatial | 51 | Extend a shortcut | | Shortcut - Tool | starter,-mysql_drop_table | 38 | Remove specific tools |

Shortcuts (Predefined Bundles)

| Shortcut | Tools | Use Case | What's Included | | --------------- | ------ | ------------------ | ------------------------------------------------------------------ | | starter | 39 | 🌟 Recommended | core, json, transactions, text, codemode | | essential | 16 | Minimal footprint | core, transactions, codemode | | dev-power | 47 | Power Developer | core, schema, performance, stats, fulltext, transactions, codemode | | ai-data | 46 | AI Data Analyst | core, json, docstore, text, fulltext, codemode | | ai-spatial | 44 | AI Spatial Analyst | core, spatial, stats, performance, transactions, codemode | | dba-monitor | 36 | DBA Monitoring | core, monitoring, performance, sysschema, optimization, codemode | | dba-manage | 34 | DBA Management | core, admin, backup, replication, partitioning, events, codemode | | dba-secure | 33 | DBA Security | core, security, roles, transactions, codemode | | base-core | 49 | Base Ops | core, json, transactions, text, schema, codemode | | base-advanced | 41 | Advanced Features | docstore, spatial, stats, fulltext, events, codemode | | ecosystem | 42 | External Tools | cluster, proxysql, router, shell, codemode |

Tool Groups (25 Available)

| Group | Tools | Description | | -------------- | ----- | ---------------------------------------- | | core | 8 | Read/write queries, tables, indexes | | transactions | 7 | BEGIN, COMMIT, ROLLBACK, savepoints | | json | 17 | JSON functions, merge, diff, stats | | text | 6 | REGEXP, LIKE, SOUNDEX | | fulltext | 5 | Natural language & boolean search | | performance | 8 | EXPLAIN, query analysis, slow queries | | optimization | 4 | Index hints, recommendations | | admin | 6 | OPTIMIZE, ANALYZE, CHECK | | monitoring | 7 | PROCESSLIST, status variables | | backup | 4 | Export, import, mysqldump | | replication | 5 | Master/slave, binlog | | partitioning | 4 | Partition management | | schema | 10 | Views, procedures, triggers, constraints | | shell | 10 | MySQL Shell utilities | | events | 6 | Event Scheduler management | | sysschema | 8 | sys schema diagnostics | | stats | 8 | Statistical analysis tools | | spatial | 12 | Spatial/GIS operations | | security | 9 | Audit, SSL, encryption, masking | | roles | 8 | MySQL 8.0 role management | | docstore | 9 | Document Store collections | | cluster | 10 | Group Replication, InnoDB Cluster | | proxysql | 12 | ProxySQL management | | router | 9 | MySQL Router REST API | | codemode | 1 | Sandboxed code execution |


Quick Start: Recommended IDE Configuration

Add one of these configurations to your IDE's MCP settings file (e.g., cline_mcp_settings.json, .cursorrules, or equivalent):

Option 1: Starter (39 Essential Tools)

Best for: General MySQL database work - CRUD operations, schema management, and monitoring.

{
  "mcpServers": {
    "mysql-mcp": {
      "command": "node",
      "args": [
        "/path/to/mysql-mcp/dist/cli.js",
        "--transport",
        "stdio",
        "--tool-filter",
        "starter"
      ],
      "env": {
        "MYSQL_HOST": "localhost",
        "MYSQL_PORT": "3306",
        "MYSQL_USER": "your_username",
        "MYSQL_PASSWORD": "your_password",
        "MYSQL_DATABASE": "your_database"
      }
    }
  }
}

Option 2: Cluster (11 Tools for InnoDB Cluster Monitoring)

Best for: Monitoring InnoDB Cluster, Group Replication status, and cluster topology.

⚠️ Prerequisites:

  • InnoDB Cluster must be configured and running with Group Replication enabled
  • Connect to a cluster node directly (e.g., localhost:3307) — NOT a standalone MySQL instance
  • Use cluster_admin or root user with appropriate privileges
  • See MySQL Ecosystem Setup Guide for cluster setup instructions
{
  "mcpServers": {
    "mysql-mcp-cluster": {
      "command": "node",
      "args": [
        "/path/to/mysql-mcp/dist/cli.js",
        "--transport",
        "stdio",
        "--tool-filter",
        "cluster"
      ],
      "env": {
        "MYSQL_HOST": "localhost",
        "MYSQL_PORT": "3307",
        "MYSQL_USER": "cluster_admin",
        "MYSQL_PASSWORD": "cluster_password",
        "MYSQL_DATABASE": "mysql"
      }
    }
  }
}

Option 3: Ecosystem (42 Tools for InnoDB Cluster Deployments)

Best for: MySQL Router, ProxySQL, MySQL Shell, and InnoDB Cluster deployments.

⚠️ Prerequisites:

  • InnoDB Cluster with MySQL Router requires the cluster to be running for Router REST API authentication (uses metadata_cache backend)
  • Router REST API uses HTTPS with self-signed certificates by default — set MYSQL_ROUTER_INSECURE=true to bypass certificate verification
  • X Protocol: InnoDB Cluster includes the MySQL X Plugin by default. Set MYSQL_XPORT to the Router's X Protocol port (e.g., 6448) for mysqlsh_import_json and docstore tools
  • See MySQL Ecosystem Setup Guide for detailed instructions
{
  "mcpServers": {
    "mysql-mcp-ecosystem": {
      "command": "node",
      "args": [
        "/path/to/mysql-mcp/dist/cli.js",
        "--transport",
        "stdio",
        "--tool-filter",
        "ecosystem"
      ],
      "env": {
        "MYSQL_HOST": "localhost",
        "MYSQL_PORT": "3307",
        "MYSQL_XPORT": "6448",
        "MYSQL_USER": "cluster_admin",
        "MYSQL_PASSWORD": "cluster_password",
        "MYSQL_DATABASE": "testdb",
        "MYSQL_ROUTER_URL": "https://localhost:8443",
        "MYSQL_ROUTER_USER": "rest_api",
        "MYSQL_ROUTER_PASSWORD": "router_password",
        "MYSQL_ROUTER_INSECURE": "true",
        "PROXYSQL_HOST": "localhost",
        "PROXYSQL_PORT": "6032",
        "PROXYSQL_USER": "radmin",
        "PROXYSQL_PASSWORD": "radmin",
        "MYSQLSH_PATH": "/usr/local/bin/mysqlsh"
      }
    }
  }
}

Customization Notes:

  • Replace /path/to/mysql-mcp/ with your actual installation path
  • Update credentials with your actual values
  • For Windows: Use forward slashes (e.g., C:/mysql-mcp/dist/cli.js) or escape backslashes
  • For Windows MySQL Shell: "MYSQLSH_PATH": "C:\\Program Files\\MySQL\\MySQL Shell 9.5\\bin\\mysqlsh.exe"
  • Router Authentication: Router REST API authenticates against the InnoDB Cluster metadata. The cluster must be running for authentication to work.
  • Cluster Resource: The mysql://cluster resource is only available when connected to an InnoDB Cluster node

Legacy Syntax (still supported): If you start with a negative filter (e.g., -ecosystem), it assumes you want to start with all tools enabled and then subtract.

Syntax Reference

| Prefix | Target | Example | Effect | | -------- | -------- | ------------------- | --------------------------------------------- | | (none) | Shortcut | starter | Whitelist Mode: Enable ONLY this shortcut | | (none) | Group | core | Whitelist Mode: Enable ONLY this group | | + | Group | +spatial | Add tools from this group to current set | | - | Group | -admin | Remove tools in this group from current set | | + | Tool | +mysql_explain | Add one specific tool | | - | Tool | -mysql_drop_table | Remove one specific tool |

📖 See the Tool Filtering Wiki for advanced examples.


💡 Usage Instructions

[!NOTE] Usage instructions are automatically provided to AI agents via the MCP protocol during server initialization.

For debugging or manual reference, see the source: src/constants/ServerInstructions.ts


🤖 AI-Powered Prompts

This server includes 19 intelligent prompts for guided workflows:

| Prompt | Description | | ----------------------------- | ------------------------------------------------------ | | mysql_query_builder | Construct SQL queries with security best practices | | mysql_schema_design | Design table schemas with indexes and relationships | | mysql_performance_analysis | Analyze slow queries with optimization recommendations | | mysql_migration | Generate migration scripts with rollback options | | mysql_database_health_check | Comprehensive database health assessment | | mysql_backup_strategy | Enterprise backup planning with RTO/RPO | | mysql_index_tuning | Index analysis and optimization workflow | | mysql_setup_router | MySQL Router configuration guide | | mysql_setup_proxysql | ProxySQL configuration guide | | mysql_setup_replication | Replication setup guide | | mysql_setup_shell | MySQL Shell usage guide | | mysql_tool_index | Complete tool index with categories | | mysql_quick_query | Quick query execution shortcut | | mysql_quick_schema | Quick schema exploration | | mysql_setup_events | Event Scheduler setup guide | | mysql_sys_schema_guide | sys schema usage and diagnostics | | mysql_setup_spatial | Spatial/GIS data setup guide | | mysql_setup_cluster | InnoDB Cluster/Group Replication guide | | mysql_setup_docstore | Document Store / X DevAPI guide |


📊 Resources

This server exposes 18 resources for database observability:

| Resource | Description | | ----------------------- | ------------------------------------------- | | mysql://schema | Full database schema | | mysql://tables | Table listing with metadata | | mysql://variables | Server configuration variables | | mysql://status | Server status metrics | | mysql://processlist | Active connections and queries | | mysql://pool | Connection pool statistics | | mysql://capabilities | Server version, features, tool categories | | mysql://health | Comprehensive health status | | mysql://performance | Query performance metrics | | mysql://indexes | Index usage and statistics | | mysql://replication | Replication status and lag | | mysql://innodb | InnoDB buffer pool and engine metrics | | mysql://events | Event Scheduler status and scheduled events | | mysql://sysschema | sys schema diagnostics summary | | mysql://locks | InnoDB lock contention detection | | mysql://cluster | Group Replication/InnoDB Cluster status | | mysql://spatial | Spatial columns and indexes | | mysql://docstore | Document Store collections |


🔧 Advanced Configuration

For specialized setups, see these Wiki pages:

| Topic | Description | | ---------------------------------------------------------------------------- | --------------------------------------------------- | | MySQL Router | Configure Router REST API access for InnoDB Cluster | | ProxySQL | Configure ProxySQL admin interface access | | MySQL Shell | Configure MySQL Shell for dump/load operations |


⚡ Performance Tuning

Schema metadata is cached to reduce repeated queries during tool/resource invocations.

| Variable | Default | Description | | ----------------------- | ------- | -------------------------------------------------- | | METADATA_CACHE_TTL_MS | 30000 | Cache TTL for schema metadata (milliseconds) | | LOG_LEVEL | info | Log verbosity: debug, info, warning, error |

Tip: Lower METADATA_CACHE_TTL_MS for development (e.g., 5000), or increase it for production with stable schemas (e.g., 300000 = 5 min).

Built-in payload optimization: Many tools support optional summary: true for condensed responses and limit parameters to cap result sizes. These are particularly useful for cluster status, monitoring, and sys schema tools where full responses can be large. See ServerInstructions.ts for per-tool details.


CLI Options

| Option | Environment Variable | Description | | ------------------------- | ----------------------- | --------------------------------------------------- | | --server-host | MCP_HOST | Host to bind HTTP transport to (default: localhost) | | --oauth-enabled | OAUTH_ENABLED | Enable OAuth authentication | | --oauth-issuer | OAUTH_ISSUER | Authorization server URL | | --oauth-audience | OAUTH_AUDIENCE | Expected token audience | | --oauth-jwks-uri | OAUTH_JWKS_URI | JWKS URI (auto-discovered) | | --oauth-clock-tolerance | OAUTH_CLOCK_TOLERANCE | Clock tolerance in seconds |

Scopes

| Scope | Access Level | | ------- | ------------------------- | | read | Read-only queries | | write | Read + write operations | | admin | Administrative operations | | full | All operations |

📖 See the OAuth Wiki for Keycloak setup and detailed configuration.

Development

MCP Inspector

Use MCP Inspector to visually test and debug mysql-mcp:

Build the server first:

npm run build

Launch Inspector with mysql-mcp:

npx @modelcontextprotocol/inspector node dist/cli.js \
  --transport stdio \
  --mysql mysql://user:password@localhost:3306/database

Open http://localhost:6274 to browse all 193 tools, 18 resources, and 19 prompts interactively.

CLI mode for scripting:

List all tools:

npx @modelcontextprotocol/inspector --cli node dist/cli.js \
  --transport stdio --mysql mysql://... \
  --method tools/list

Call a specific tool:

npx @modelcontextprotocol/inspector --cli node dist/cli.js \
  --transport stdio --mysql mysql://... \
  --method tools/call --tool-name mysql_list_tables

📖 See the MCP Inspector Wiki for detailed usage.

Unit Testing

The project maintains high test coverage (~86%) using Vitest.

npm test

Run coverage report:

npm run test:coverage

Test Infrastructure:

  • Centralized mock factories in src/__tests__/mocks/
  • All 101 test files use shared mocks for consistency
  • Tests run without database connection (fully mocked)
  • ~80 second total runtime

Test Coverage:

| Component | Coverage | Notes | | --------------- | -------- | --------------------- | | Global | 86%+ | Statement coverage | | MySQLAdapter | 93%+ | Adapter logic covered | | Branch Coverage | ~72% | High branch coverage | | Tools (All) | 98%+ | 1833 tests passing |


Contributing

Contributions are welcome! Please read our Contributing Guidelines before submitting a pull request.

Security

For security concerns, please see our Security Policy.

⚠️ Never commit credentials - Store secrets in .env (gitignored)

License

This project is licensed under the MIT License - see the LICENSE file for details.

Code of Conduct

Please read our Code of Conduct before participating in this project.

Contract & API

Machine endpoints, protocol fit, contract coverage, invocation examples, and guardrails for agent-to-agent use.

MissingGITHUB MCP

Contract coverage

Status

missing

Auth

None

Streaming

No

Data region

Unspecified

Protocol support

MCP: self-declared

Requires: none

Forbidden: none

Guardrails

Operational confidence: low

No positive guardrails captured.
Invocation examples
curl -s "https://xpersona.co/api/v1/agents/mcp-neverinfamous-mysql-mcp/snapshot"
curl -s "https://xpersona.co/api/v1/agents/mcp-neverinfamous-mysql-mcp/contract"
curl -s "https://xpersona.co/api/v1/agents/mcp-neverinfamous-mysql-mcp/trust"

Reliability & Benchmarks

Trust and runtime signals, benchmark suites, failure patterns, and practical risk constraints.

Missingruntime-metrics

Trust signals

Handshake

UNKNOWN

Confidence

unknown

Attempts 30d

unknown

Fallback rate

unknown

Runtime metrics

Observed P50

unknown

Observed P95

unknown

Rate limit

unknown

Estimated cost

unknown

Do not use if

Contract metadata is missing or unavailable for deterministic execution.
No benchmark suites or observed failure patterns are available.

Media & Demo

Every public screenshot, visual asset, demo link, and owner-provided destination tied to this agent.

Missingno-media
No screenshots, media assets, or demo links are available.

Related Agents

Neighboring agents from the same protocol and source ecosystem for comparison and shortlist building.

Self-declaredprotocol-neighbors
GITLAB_AI_CATALOGgitlab-mcp

Rank

83

A Model Context Protocol (MCP) server for GitLab

Traction

No public download signal

Freshness

Updated 2d ago

MCP
GITLAB_PUBLIC_PROJECTSgitlab-mcp

Rank

80

A Model Context Protocol (MCP) server for GitLab

Traction

No public download signal

Freshness

Updated 2d ago

MCP
GITLAB_AI_CATALOGrmcp-openapi

Rank

74

Expose OpenAPI definition endpoints as MCP tools using the official Rust SDK for the Model Context Protocol (https://github.com/modelcontextprotocol/rust-sdk)

Traction

No public download signal

Freshness

Updated 2d ago

MCP
GITLAB_AI_CATALOGrmcp-actix-web

Rank

72

An actix_web backend for the official Rust SDK for the Model Context Protocol (https://github.com/modelcontextprotocol/rust-sdk)

Traction

No public download signal

Freshness

Updated 2d ago

MCP
Machine Appendix

Contract JSON

{
  "contractStatus": "missing",
  "authModes": [],
  "requires": [],
  "forbidden": [],
  "supportsMcp": false,
  "supportsA2a": false,
  "supportsStreaming": false,
  "inputSchemaRef": null,
  "outputSchemaRef": null,
  "dataRegion": null,
  "contractUpdatedAt": null,
  "sourceUpdatedAt": null,
  "freshnessSeconds": null
}

Invocation Guide

{
  "preferredApi": {
    "snapshotUrl": "https://xpersona.co/api/v1/agents/mcp-neverinfamous-mysql-mcp/snapshot",
    "contractUrl": "https://xpersona.co/api/v1/agents/mcp-neverinfamous-mysql-mcp/contract",
    "trustUrl": "https://xpersona.co/api/v1/agents/mcp-neverinfamous-mysql-mcp/trust"
  },
  "curlExamples": [
    "curl -s \"https://xpersona.co/api/v1/agents/mcp-neverinfamous-mysql-mcp/snapshot\"",
    "curl -s \"https://xpersona.co/api/v1/agents/mcp-neverinfamous-mysql-mcp/contract\"",
    "curl -s \"https://xpersona.co/api/v1/agents/mcp-neverinfamous-mysql-mcp/trust\""
  ],
  "jsonRequestTemplate": {
    "query": "summarize this repo",
    "constraints": {
      "maxLatencyMs": 2000,
      "protocolPreference": [
        "MCP"
      ]
    }
  },
  "jsonResponseTemplate": {
    "ok": true,
    "result": {
      "summary": "...",
      "confidence": 0.9
    },
    "meta": {
      "source": "GITHUB_MCP",
      "generatedAt": "2026-04-16T23:58:53.662Z"
    }
  },
  "retryPolicy": {
    "maxAttempts": 3,
    "backoffMs": [
      500,
      1500,
      3500
    ],
    "retryableConditions": [
      "HTTP_429",
      "HTTP_503",
      "NETWORK_TIMEOUT"
    ]
  }
}

Trust JSON

{
  "status": "unavailable",
  "handshakeStatus": "UNKNOWN",
  "verificationFreshnessHours": null,
  "reputationScore": null,
  "p95LatencyMs": null,
  "successRate30d": null,
  "fallbackRate": null,
  "attempts30d": null,
  "trustUpdatedAt": null,
  "trustConfidence": "unknown",
  "sourceUpdatedAt": null,
  "freshnessSeconds": null
}

Capability Matrix

{
  "rows": [
    {
      "key": "MCP",
      "type": "protocol",
      "support": "unknown",
      "confidenceSource": "profile",
      "notes": "Listed on profile"
    },
    {
      "key": "mcp",
      "type": "capability",
      "support": "supported",
      "confidenceSource": "profile",
      "notes": "Declared in agent profile metadata"
    },
    {
      "key": "mysql",
      "type": "capability",
      "support": "supported",
      "confidenceSource": "profile",
      "notes": "Declared in agent profile metadata"
    },
    {
      "key": "database",
      "type": "capability",
      "support": "supported",
      "confidenceSource": "profile",
      "notes": "Declared in agent profile metadata"
    },
    {
      "key": "model-context-protocol",
      "type": "capability",
      "support": "supported",
      "confidenceSource": "profile",
      "notes": "Declared in agent profile metadata"
    },
    {
      "key": "ai",
      "type": "capability",
      "support": "supported",
      "confidenceSource": "profile",
      "notes": "Declared in agent profile metadata"
    },
    {
      "key": "llm",
      "type": "capability",
      "support": "supported",
      "confidenceSource": "profile",
      "notes": "Declared in agent profile metadata"
    },
    {
      "key": "claude",
      "type": "capability",
      "support": "supported",
      "confidenceSource": "profile",
      "notes": "Declared in agent profile metadata"
    },
    {
      "key": "cursor",
      "type": "capability",
      "support": "supported",
      "confidenceSource": "profile",
      "notes": "Declared in agent profile metadata"
    },
    {
      "key": "oauth",
      "type": "capability",
      "support": "supported",
      "confidenceSource": "profile",
      "notes": "Declared in agent profile metadata"
    },
    {
      "key": "typescript",
      "type": "capability",
      "support": "supported",
      "confidenceSource": "profile",
      "notes": "Declared in agent profile metadata"
    },
    {
      "key": "cli",
      "type": "capability",
      "support": "supported",
      "confidenceSource": "profile",
      "notes": "Declared in agent profile metadata"
    }
  ],
  "flattenedTokens": "protocol:MCP|unknown|profile capability:mcp|supported|profile capability:mysql|supported|profile capability:database|supported|profile capability:model-context-protocol|supported|profile capability:ai|supported|profile capability:llm|supported|profile capability:claude|supported|profile capability:cursor|supported|profile capability:oauth|supported|profile capability:typescript|supported|profile capability:cli|supported|profile"
}

Facts JSON

[
  {
    "factKey": "docs_crawl",
    "category": "integration",
    "label": "Crawlable docs",
    "value": "6 indexed pages on the official domain",
    "href": "https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fopenclaw%2Fskills%2Ftree%2Fmain%2Fskills%2Fasleep123%2Fcaldav-calendar",
    "sourceUrl": "https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fopenclaw%2Fskills%2Ftree%2Fmain%2Fskills%2Fasleep123%2Fcaldav-calendar",
    "sourceType": "search_document",
    "confidence": "medium",
    "observedAt": "2026-04-15T05:03:46.393Z",
    "isPublic": true
  },
  {
    "factKey": "vendor",
    "category": "vendor",
    "label": "Vendor",
    "value": "Neverinfamous",
    "href": "https://github.com/neverinfamous/mysql-mcp#readme",
    "sourceUrl": "https://github.com/neverinfamous/mysql-mcp#readme",
    "sourceType": "profile",
    "confidence": "medium",
    "observedAt": "2026-02-25T03:11:15.362Z",
    "isPublic": true
  },
  {
    "factKey": "protocols",
    "category": "compatibility",
    "label": "Protocol compatibility",
    "value": "MCP",
    "href": "https://xpersona.co/api/v1/agents/mcp-neverinfamous-mysql-mcp/contract",
    "sourceUrl": "https://xpersona.co/api/v1/agents/mcp-neverinfamous-mysql-mcp/contract",
    "sourceType": "contract",
    "confidence": "medium",
    "observedAt": "2026-02-25T03:11:15.362Z",
    "isPublic": true
  },
  {
    "factKey": "traction",
    "category": "adoption",
    "label": "Adoption signal",
    "value": "3 GitHub stars",
    "href": "https://github.com/neverinfamous/mysql-mcp",
    "sourceUrl": "https://github.com/neverinfamous/mysql-mcp",
    "sourceType": "profile",
    "confidence": "medium",
    "observedAt": "2026-02-25T03:11:15.362Z",
    "isPublic": true
  },
  {
    "factKey": "handshake_status",
    "category": "security",
    "label": "Handshake status",
    "value": "UNKNOWN",
    "href": "https://xpersona.co/api/v1/agents/mcp-neverinfamous-mysql-mcp/trust",
    "sourceUrl": "https://xpersona.co/api/v1/agents/mcp-neverinfamous-mysql-mcp/trust",
    "sourceType": "trust",
    "confidence": "medium",
    "observedAt": null,
    "isPublic": true
  }
]

Change Events JSON

[
  {
    "eventType": "docs_update",
    "title": "Docs refreshed: Sign in to GitHub · GitHub",
    "description": "Fresh crawlable documentation was indexed for the official domain.",
    "href": "https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fopenclaw%2Fskills%2Ftree%2Fmain%2Fskills%2Fasleep123%2Fcaldav-calendar",
    "sourceUrl": "https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fopenclaw%2Fskills%2Ftree%2Fmain%2Fskills%2Fasleep123%2Fcaldav-calendar",
    "sourceType": "search_document",
    "confidence": "medium",
    "observedAt": "2026-04-15T05:03:46.393Z",
    "isPublic": true
  }
]

Sponsored

Ads related to @neverinfamous/mysql-mcp and adjacent AI workflows.