Skip to main content
Glama

Nexus AI Tools

A Comprehensive Model Context Protocol Toolkit for AI Assistants

License: MIT Node Version TypeScript MCP

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-tools

Configuration

# Copy example environment file
cp .env.example .env

# Edit with your settings
nano .env

Run

# 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 dev

Integration 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 support

  • nexus_write_file - Write/create files

  • nexus_list_directory - List directory contents

  • nexus_search_files - Search files by pattern

  • nexus_search_content - Search content within files

  • nexus_watch_directory - Monitor directory changes

HTTP Tools

  • nexus_http_get - HTTP GET requests

  • nexus_http_post - HTTP POST requests

  • nexus_fetch_url - Fetch and parse web content

  • nexus_parse_html - Parse HTML with Cheerio

  • nexus_call_api - Generic API calls

Git Tools

  • nexus_git_clone - Clone repositories

  • nexus_git_commit - Create commits

  • nexus_git_push - Push to remote

  • nexus_git_pr_create - Create pull requests

  • Integration with GitHub, GitLab, Bitbucket

Database Tools

  • nexus_db_query - Execute SQL queries

  • nexus_db_list_tables - List database tables

  • nexus_db_describe_table - Describe table schema

  • Support for PostgreSQL, MySQL, SQLite, SQL Server, MongoDB

System Tools

  • nexus_exec_command - Execute shell commands

  • nexus_system_info - Get system information

  • nexus_process_list - List running processes

  • nexus_service_start/stop - Manage services

AI Tools

  • nexus_llm_chat - Chat with LLMs (Anthropic, OpenAI)

  • nexus_embedding_create - Create text embeddings

  • nexus_text_summarize - Summarize text

  • nexus_code_generate - Generate code

Utilities Tools

  • nexus_json_parse/stringify - JSON manipulation

  • nexus_yaml_parse/stringify - YAML manipulation

  • nexus_zip_create/extract - ZIP compression

  • nexus_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 set

Benefits:

  • 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

πŸ› οΈ 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.js

See 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

  1. Start the server:

npm start
  1. Configure 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.

  1. Fork the repository

  2. Create your feature branch (git checkout -b feature/amazing-feature)

  3. Commit your changes (git commit -m 'Add amazing feature')

  4. Push to the branch (git push origin feature/amazing-feature)

  5. Open a Pull Request

πŸ“„ License

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

πŸ™ Acknowledgments

πŸ“ž Support


Built with ❀️ by the Nexus Team

A
license - permissive license
-
quality - not tested
C
maintenance

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