Provides 20+ tools for querying and managing MariaDB databases, including table structure inspection, query execution, index management, stored procedures, triggers, and database optimization with support for READONLY, WRITEONLY, and FULL modes.
Enables CRUD operations and aggregation pipelines for MongoDB databases, with tools for document management, collection statistics, index operations, and database administration in READONLY or FULL modes.
Provides 20+ tools for querying and managing MySQL databases, including table structure inspection, query execution, index management, stored procedures, triggers, and database optimization with support for READONLY, WRITEONLY, and FULL modes.
Offers comprehensive SQL support for PostgreSQL databases with tools for querying, executing DDL/DML statements, schema inspection, table structure analysis, and index management.
Provides tools for Redis key-value operations across all data types including strings, hashes, lists, sets, and sorted sets, with support for TTL management, pattern-based key searching, and server information retrieval.
@nam088/mcp-server
A professional MCP (Model Context Protocol) server implementation with a plugin-based architecture.
Features
Plugin-Based Architecture: Modular design with independent plugins
Workspace Structure: Each plugin is a separate npm package with its own dependencies
Dynamic Loading: Load plugins from configuration or environment variables
Type-Safe: Full TypeScript support
Extensible: Easy to create custom plugins
Architecture
This project uses a monorepo workspace structure where:
Core System (
@nam088/mcp-core): Plugin interfaces and registryPlugins (e.g.,
@nam088/mcp-redis): Independent packages with their own dependenciesMain Server: Loads and orchestrates plugins
See ARCHITECTURE.md for detailed architecture documentation.
Installation
Building
Usage
Install the packages you need in your project:
Create your MCP server:
Available Plugins
MySQL Plugin (@nam088/mcp-mysql)
Comprehensive MySQL/MariaDB plugin with 20+ tools.
Tools:
mysql_query- Execute SELECT queries with parametersmysql_execute- Execute INSERT/UPDATE/DELETE/DDL (WRITEONLY or FULL mode)mysql_list_databases- List all databasesmysql_list_tables- List tables in databasemysql_describe_table- Get table structuremysql_list_indexes- List table indexesmysql_list_constraints- List table constraintsmysql_explain_query- Query execution planmysql_processlist- View running queriesmysql_kill_query- Kill running query (WRITEONLY or FULL mode)mysql_optimize_table- Optimize tables (WRITEONLY or FULL mode)mysql_analyze_table- Analyze tables (WRITEONLY or FULL mode)mysql_list_views- List viewsmysql_list_procedures- List stored proceduresmysql_list_functions- List stored functionsmysql_list_triggers- List triggersAnd more...
Dependencies: mysql2
Modes: READONLY, WRITEONLY, FULL
See: packages/mysql/README.md
SQL Server Plugin (@nam088/mcp-sql-server)
Microsoft SQL Server plugin with comprehensive tools.
Tools:
sqlserver_query- Execute SELECT queriessqlserver_execute- Execute INSERT/UPDATE/DELETE/DDL (FULL mode)sqlserver_list_databases- List all databasessqlserver_list_tables- List tables in schemasqlserver_describe_table- Get table structuresqlserver_list_schemas- List all schemassqlserver_list_indexes- List table indexessqlserver_list_constraints- List table constraintssqlserver_explain_query- Query execution plansqlserver_active_sessions- View active sessionssqlserver_kill_session- Kill session (FULL mode)sqlserver_rebuild_index- Rebuild indexes (FULL mode)sqlserver_update_statistics- Update statistics (FULL mode)And more...
Dependencies: mssql
Modes: READONLY, FULL
See: packages/sql-server/README.md
MongoDB Plugin (@nam088/mcp-mongodb)
MongoDB plugin with CRUD and aggregation support.
Tools:
mongodb_find- Find documents with filtering, sorting, projectionmongodb_count- Count documentsmongodb_aggregate- Run aggregation pipelinemongodb_insert_one- Insert single document (FULL mode)mongodb_insert_many- Insert multiple documents (FULL mode)mongodb_update_one- Update single document (FULL mode)mongodb_update_many- Update multiple documents (FULL mode)mongodb_delete_one- Delete single document (FULL mode)mongodb_delete_many- Delete multiple documents (FULL mode)mongodb_list_databases- List all databasesmongodb_list_collections- List collections in databasemongodb_collection_stats- Get collection statisticsmongodb_list_indexes- List collection indexesmongodb_create_index- Create index (FULL mode)mongodb_drop_index- Drop index (FULL mode)And more...
Dependencies: mongodb
Modes: READONLY, FULL
See: packages/mongodb/README.md
Redis Plugin (@nam088/mcp-redis)
Redis plugin with support for all data types.
Tools:
redis_get- Get value by keyredis_set- Set value with optional TTLredis_del- Delete keyredis_keys- Find keys by patternredis_info- Get server informationAnd more... (hash, list, set, sorted set operations)
Dependencies: redis
See: packages/redis/README.md
PostgreSQL Plugin (@nam088/mcp-postgres)
PostgreSQL plugin with comprehensive SQL support.
Tools:
postgres_query- Execute SELECT queriespostgres_execute- Execute INSERT/UPDATE/DELETE/DDL (FULL mode)postgres_list_tables- List all tables in schemapostgres_describe_table- Get table structurepostgres_list_schemas- List all schemaspostgres_list_indexes- List table indexespostgres_database_info- Get database information
Dependencies: pg
See: packages/postgres/README.md
Creating Custom Plugins
1. Create Plugin Package
2. Setup package.json
3. Create tsconfig.json
4. Implement Plugin
5. Build and Use
Development
Project Structure
Benefits of This Architecture
Plugin Independence: Each plugin has its own dependencies
MySQL:
mysql2SQL Server:
mssqlMongoDB:
mongodbRedis:
redisPostgreSQL:
pg
Selective Installation: Install only the plugins you need
No Dependency Conflicts: Plugins don't interfere with each other
Easy Publishing: Each plugin can be published to npm independently
Flexible Loading: Choose static imports or dynamic loading
Type Safety: Full TypeScript support across all packages
Mode Control: READONLY, WRITEONLY (MySQL), or FULL modes for security
Standalone Servers: Each plugin can run as a standalone MCP server
License
MIT
Author
nam088
This server cannot be installed
hybrid server
The server is able to function both locally and remotely, depending on the configuration or use case.
A plugin-based MCP server that enables interaction with multiple databases (MySQL, PostgreSQL, MongoDB, SQL Server, Redis) through a unified interface with configurable read/write permissions and independent plugin architecture.