1.0.2 • Published 5 months ago
mcp-code-mapper v1.0.2
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:
- Open Cursor
- Enable the MCP Code Mapper tool in the MCP panel
- 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