1.0.2 • Published 5 months ago

mcp-code-mapper v1.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
5 months ago

Code Mapper MCP Server Tool

A tool for analyzing TypeScript/React project structures, validating connections, and generating reports. Designed to work with Cursor's MCP interface.

Installation

# Install globally
npm install -g mcp-code-mapper

# Or use with npx
npx mcp-code-mapper

Usage with Cursor MCP

MCP Code Mapper integrates with Cursor's MCP interface. To use it:

  1. Open Cursor
  2. Enable the MCP Code Mapper tool in the MCP panel
  3. Use the tool through the MCP interface

Command Line Usage

# Show help
mcp-code-mapper help

# Analyze project structure
mcp-code-mapper analyze

# Check a report for issues
mcp-code-mapper check --report=latest

# Generate a visualization
mcp-code-mapper visualize --format=html

Features

  • Project Structure Analysis: Analyze TypeScript/React project structures
  • Component Analysis: Identify component relationships and dependencies
  • Route Analysis: Map API routes and endpoints
  • Validation: Validate connections between components, routes, and APIs
  • Visualization: Generate visual representations of project structure

Configuration

Create a mcp-code-mapper.config.js file in your project root to customize the tool's behavior:

module.exports = {
  include: ['src/**/*.{ts,tsx}'],
  exclude: ['**/*.test.{ts,tsx}', '**/node_modules/**'],
  analyzers: ['component', 'route', 'api'],
  outputDir: './reports',
  visualizations: ['dependency-graph', 'component-tree']
};

About

MCP Code Mapper is developed by Derek Zar at Opdee.com. It's designed to help AI assisted developers analyze and understand their TypeScript/React project structures.

License

MIT