The Nuanced MCP Server integrates with MCP-compatible clients to provide powerful call graph analysis tools for your TypeScript projects.

Features

The server provides the enrich tool for analyzing your codebase:

enrich tool

Analyzes a function with its call graph and relationships. Automatically handles project initialization if needed. Parameters:
  • functionName (string): Name of the function to enrich
  • filePath (string, optional): Path to the file containing the function, the tool will search for the function if not provided
  • projectPath (string, optional): Directory of project to be analyzed (optional - required only if default location cannot be determined)
  • cursor (string, optional): Pagination cursor for retrieving subsequent pages of results
  • reIndex (boolean, optional): Force rebuild of the code graph even if already initialized (defaults to false)

Prerequisites

Before installing the Nuanced MCP Server, you’ll need:
  • A Nuanced MCP Server license key
  • Node.js and npm installed on your system
Missing a license key? Visit nuanced.dev to sign up for a free trial.

Installation

1. Configure npm authentication

First, set up authentication for the Nuanced npm registry:
npm config set @nuanced-dev:registry 'https://nuanced-dev.nodejs.pub'
npm config set '//nuanced-dev.nodejs.pub/:_authToken' '[your-license-key]'
Replace [your-license-key] with your actual Nuanced license key.

2. Install the MCP server

Install the MCP server globally:
npm install -g @nuanced-dev/nuanced-mcp-ts@latest

3. Configure your client

Choose your preferred client to complete the setup:

4. Project configuration

Code data is stored in local .nuanced directories that you can safely check into version control or feel free to add .nuanced to your .gitignore file.