Nexus-MCP
Integrates with Bitbucket repositories through Git tools like nexus_git_clone, nexus_git_push, and nexus_git_pr_create, enabling AI agents to manage code repositories on the Bitbucket platform.
Provides HTML parsing capabilities through the nexus_parse_html tool, enabling AI agents to extract and manipulate web content using Cheerio's jQuery-like interface.
Provides community support through Discord integration, enabling users to get assistance and collaborate on Nexus-MCP development and usage.
Supports environment configuration through .env files, enabling secure management of API keys, database credentials, and other sensitive configuration for the MCP server's operations.
Provides comprehensive Git workflow tools including nexus_git_clone, nexus_git_commit, nexus_git_push, and nexus_git_pr_create, enabling AI agents to perform version control operations on repositories.
Integrates with GitHub repositories through Git tools, enabling AI agents to clone, commit, push, and create pull requests on GitHub-hosted code repositories.
Integrates with GitLab repositories through Git tools, enabling AI agents to manage code repositories and perform version control operations on the GitLab platform.
Supports MongoDB database operations through the nexus_db_query tool, enabling AI agents to query and manipulate data in MongoDB NoSQL databases.
Supports MySQL database operations through the nexus_db_query tool, enabling AI agents to execute SQL queries and manage data in MySQL relational databases.
Built with Node.js runtime, providing the execution environment for the MCP server and enabling JavaScript/TypeScript-based tool implementations.
Supports package management through npm, enabling installation and distribution of the Nexus-MCP server as a global npm package.
Provides tools for chatting with OpenAI's LLMs through the nexus_llm_chat tool, enabling AI agents to interact with GPT models for various text processing and generation tasks.
Supports PostgreSQL database operations through the nexus_db_query tool, enabling AI agents to execute SQL queries and manage data in PostgreSQL relational databases.
Supports SQLite database operations through the nexus_db_query tool, enabling AI agents to query and manipulate data in SQLite embedded databases.
Built with TypeScript, providing type safety and modern JavaScript features for the MCP server's implementation and tool development.
Provides YAML manipulation tools through nexus_yaml_parse and nexus_yaml_stringify, enabling AI agents to parse, validate, and generate YAML configuration files.
Utilizes Zod for runtime validation and type safety, ensuring data integrity and structured error handling throughout the MCP server's operations.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Nexus-MCPread the README.md file in the current directory"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Nexus AI Tools
A Comprehensive Model Context Protocol Toolkit for AI Assistants
Transform any AI assistant into an autonomous agent capable of executing real-world tasks.
Documentation β’ Getting Started β’ Roadmap β’ Architecture
π― Overview
Nexus-MCP is a powerful Model Context Protocol (MCP) server built with TypeScript/Node.js that provides AI models with universal tools for:
π File System Operations (18 tools) - Read, write, search, and monitor files
π HTTP/Web Requests (16 tools) - Fetch data, scrape websites, call APIs
π Git Workflows (15 tools) - Clone, commit, branch, and manage repositories
System Commands (8 tools) - Execute shell commands and manage processes
π§ Utilities (8 tools, code ready) - JSON/YAML parsing, compression, encryption, and more
Current Status: 49 tools production-ready, 8 utilities tools code-implemented (pending config integration)
π Quick Start
Installation
npm install -g nexus-ai-toolsConfiguration
# Copy example environment file
cp .env.example .env
# Edit with your settings
nano .envRun
# Build the project
npm run build
# Run the MCP server (production)
npm start
# or
npm run start:mcp
# Run with CLI
npm run mcp
# Run in development mode
npm run devIntegration with Claude Code
Add to your Claude Desktop config:
{
"mcpServers": {
"nexus-mcp": {
"command": "node",
"args": ["/path/to/nexus-mcp/dist/index.js"]
}
}
}Using Environment Variable Substitution
Create a .env file:
NEXUS_LOG_LEVEL=debug
DB_PASSWORD=secret123
ANTHROPIC_API_KEY=sk-ant-...Use in config.yaml:
server:
log_level: "${NEXUS_LOG_LEVEL:-info}"
database:
postgresql:
password: "${DB_PASSWORD}"
ai:
anthropic:
api_key: "${ANTHROPIC_API_KEY}"Validate required variables before starting:
import { validateEnvironment, loadConfig } from './config.js';
validateEnvironment(['ANTHROPIC_API_KEY', 'DB_PASSWORD']);
const config = loadConfig();Using Contextual Logger
import { ContextualLogger } from './logger.js';
import path from 'path';
const workDir = path.join(process.cwd(), 'logs');
const logger = ContextualLogger.create(workDir, 'workflow-001');
logger.info('workflow.started', { step: 1 });
logger.info('processing.data', { items: 100 });
logger.info('workflow.completed', { success: true });
logger.close();See Configuration Improvements Guide for complete details.
π¦ Features
Filesystem Tools
nexus_read_file- Read files with encoding supportnexus_write_file- Write/create filesnexus_list_directory- List directory contentsnexus_search_files- Search files by patternnexus_search_content- Search content within filesnexus_watch_directory- Monitor directory changes
HTTP Tools
nexus_http_get- HTTP GET requestsnexus_http_post- HTTP POST requestsnexus_fetch_url- Fetch and parse web contentnexus_parse_html- Parse HTML with Cheerionexus_call_api- Generic API calls
Git Tools
nexus_git_clone- Clone repositoriesnexus_git_commit- Create commitsnexus_git_push- Push to remotenexus_git_pr_create- Create pull requestsIntegration with GitHub, GitLab, Bitbucket
Database Tools
nexus_db_query- Execute SQL queriesnexus_db_list_tables- List database tablesnexus_db_describe_table- Describe table schemaSupport for PostgreSQL, MySQL, SQLite, SQL Server, MongoDB
System Tools
nexus_exec_command- Execute shell commandsnexus_system_info- Get system informationnexus_process_list- List running processesnexus_service_start/stop- Manage services
AI Tools
nexus_llm_chat- Chat with LLMs (Anthropic, OpenAI)nexus_embedding_create- Create text embeddingsnexus_text_summarize- Summarize textnexus_code_generate- Generate code
Utilities Tools
nexus_json_parse/stringify- JSON manipulationnexus_yaml_parse/stringify- YAML manipulationnexus_zip_create/extract- ZIP compressionnexus_encrypt/decrypt- Encryption/decryption
ποΈ Architecture
βββββββββββββββββββββββββββββββββββββββββββ
β Claude / LLM Client β
ββββββββββββββββ¬βββββββββββββββββββββββββββ
β MCP Protocol (stdio)
βΌ
βββββββββββββββββββββββββββββββββββββββββββ
β Nexus-MCP Server β
β βββββββββββββββββββββββββββββββββββββ β
β β MCP Server Core β β
β βββββββββββββββββββββββββββββββββββββ β
β βββββββββ΄ββββββββ β
β β β β
β ββββββΌβββββ ββββββΌβββββ β
β β Filesys β β HTTP β β
β βββββββββββ βββββββββββ β
β βββββββββββ βββββββββββ β
β β Git β β Databaseβ β
β βββββββββββ βββββββββββ β
β βββββββββββ βββββββββββ β
β β System β β AI β β
β βββββββββββ βββββββββββ β
βββββββββββββββββββββββββββββββββββββββββββFor detailed architecture, see docs/architecture.md
ποΈ Production-Grade Quality
Nexus-MCP is built with architectural excellence in mind, designed for production use and community adoption. We follow strict principles:
β Type Safety: TypeScript strict mode + Zod validation
β Error Handling: Structured, actionable error messages
β Performance: Async operations, caching, streaming
β Security: Input validation, sanitization, audit logs
β Observability: Structured logging, metrics, tracing
β Testability: 80%+ coverage, dependency injection
β Documentation: JSDoc, examples, comprehensive guides
β Developer Experience: Clear errors, IDE support, quick feedback
See Architectural Principles for complete details.
οΏ½ Configuration & Logging Enhancements
Nexus-MCP includes advanced configuration and logging features inspired by production systems:
Environment Variable Substitution
Use ${VAR_NAME} syntax in YAML files to substitute environment variables:
server:
log_level: "${NEXUS_LOG_LEVEL:-info}" # Uses env var, defaults to "info"
database:
postgresql:
password: "${DB_PASSWORD}" # Required - warns if not setBenefits:
Keep sensitive data (API keys, passwords) in environment variables
Use different configurations for different environments
Override specific values without editing YAML files
Contextual Logger
Workflow-specific logging with separate log files per context:
import { ContextualLogger } from './logger.js';
const logger = ContextualLogger.create(workDir, 'migration-123');
logger.info('workflow.started', { step: 1 });
logger.info('extract.completed', { schemaPath: '/path/to/schema.json' });
logger.close();Benefits:
Trace end-to-end workflows (migrations, tasks, batch jobs)
Debug complex multi-step operations
Keep logs organized by workflow/correlation ID
Historical analysis of specific workflows
Documentation: See Configuration Improvements Guide for complete details.
οΏ½ Documentation
Getting Started Guide - Quick start and basic usage
Architecture Documentation - System architecture and design
Architectural Principles - Design principles and best practices
Configuration Improvements - Environment variable substitution & contextual logging
API Reference - Complete API documentation
Tools Reference - Detailed tool documentation
Roadmap - Development roadmap and progress
π οΈ Development
# Clone repository
git clone https://github.com/your-org/Nexus-MCP.git
cd Nexus-MCP
# Install dependencies
npm install
# Run in development mode
npm run dev
# Run tests
npm test
# Build for production
npm run build
# Lint code
npm run lintπ Project Status
Current Version: 1.0.0-alpha
Development Status: Active Development
Core Progress: 36% (9/12 phases completed)
Implemented Tools: 57 production-ready, 8 code-implemented (pending config)
Target Tools: 50+ β (exceeded)
AI Integration: Ollama + Gemini + OpenAI + Anthropic Claude β (8 tools)
Enhanced CLI: Interactive AI tools CLI with colors and metrics β
Test Coverage: 49 tests implemented (35 unit + 1 integration + 13 E2E)
Test Status: β All passing (49/49)
Documentation: 85% complete (Installation, Configuration, API, Examples, AI Guide)
Build Status: β Passing
Executable: β Ready for deployment
CLI: β Functional
See ROADMAP.md for detailed progress.
οΏ½ AI Tools Integration
Nexus-MCP includes integration with 4 major AI providers:
Ollama (2 tools): Local LLMs - Chat + List Models
Gemini (2 tools): Google AI - Chat + List Models
OpenAI (2 tools): GPT Models - Chat + List Models
Anthropic (2 tools): Claude Models - Chat + List Models
Quick Start with AI Tools
# Configure API keys
export OPENAI_API_KEY="your-key"
export GEMINI_API_KEY="your-key"
export ANTHROPIC_API_KEY="your-key"
export OLLAMA_HOST="http://localhost:11434"
# Run the interactive AI CLI
node examples/ai-interactive-cli.js
# Or run the enhanced demo
node examples/ai-enhanced-demo.jsSee AI Tools Guide for detailed documentation.
π MCP Integration
Nexus-MCP is an MCP (Model Context Protocol) server that allows AI assistants like Claude Code to use its 57 tools.
Quick Start with MCP
Start the server:
npm startConfigure Claude Desktop to connect to Nexus-MCP
See MCP Configuration Guide for detailed setup instructions.
Available Tool Categories
Filesystem (18 tools): Read, write, list, search files
HTTP (16 tools): Requests, scraping, APIs
Git (15 tools): Clone, commit, branches, PRs
System (8 tools): Commands, processes, system info
AI (8 tools): Chat with Ollama, Gemini, OpenAI, Anthropic
Utilities (8 tools): JSON, YAML, compression, encryption
οΏ½π€ Contributing
Contributions are welcome! Please read our contributing guidelines before submitting PRs.
Fork the repository
Create your feature branch (
git checkout -b feature/amazing-feature)Commit your changes (
git commit -m 'Add amazing feature')Push to the branch (
git push origin feature/amazing-feature)Open a Pull Request
π License
This project is licensed under the MIT License - see the LICENSE file for details.
π Acknowledgments
App MigraciΓ³n SOUL - Configuration patterns and contextual logging inspiration
π Support
π Documentation
π Issue Tracker
π¬ Discord Community
βοΈ Email: support@nexus-mcp.dev
Built with β€οΈ by the Nexus Team
This server cannot be installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/jsagudelodev/Nexus-MCP'
If you have feedback or need assistance with the MCP directory API, please join our Discord server