MCPInstall
mcp-server-project-ts logo

mcp-server-project-ts

by erniebrodeur 1 stars erniebrodeur/mcp-server-project-ts

MCP Server for tracking TypeScript/JavaScript project changes and dependencies.

READMEmain

MCP Project Change Tracker

A Model Context Protocol (MCP) compliant server for TypeScript/JavaScript project change tracking and dependency management.

Overview

This MCP server provides AI agents with structured tools to track file changes and manage dependencies in TypeScript/JavaScript projects. It follows the change notification pattern - tracking which files have changed without storing their content, allowing agents to read files themselves when needed.

🚀 Key Features

  • File Change Tracking: Monitor TypeScript/JavaScript file modifications
  • NPM Dependency Management: Install, uninstall, update, and audit packages
  • Script Execution: Run npm scripts with real-time output
  • Project Status: Get comprehensive project state information
  • MCP Compliant: Works with any MCP-compatible AI client
  • Lightweight: Only tracks changes, doesn't store file content

🛠️ Available Tools

ToolDescription
get_project_statusGet project status with changed files and dependencies
refresh_changesClear change tracking state
install_dependencyInstall npm packages (dev/prod)
uninstall_dependencyRemove npm packages
update_dependencyUpdate specific packages
check_outdatedList outdated dependencies
run_npm_scriptExecute package.json scripts
list_scriptsShow available npm scripts
npm_auditSecurity vulnerability audit

📖 View detailed examples and API reference →

📦 Installation

Prerequisites

  • Node.js 20+
  • npm (comes with Node.js)
  • A TypeScript/JavaScript project

Quick Start with npx (Recommended)

# Run directly with npx - no installation needed!
npx mcp-server-project-ts --workspaceRoot /path/to/your/project

Alternative: Global Installation

# Install globally for repeated use
npm install -g mcp-server-project-ts

# Then run anywhere
mcp-server-project --workspaceRoot /path/to/your/project

🔧 Usage

VS Code Integration

Add to your VS Code settings or MCP configuration:

{
  "mcpServers": {
    "mcp-server-project-ts": {
      "command": "npx",
      "args": ["mcp-server-project-ts", "--workspaceRoot", "${workspaceFolder}"]
    }
  }
}

Claude Desktop Integration

Add to your Claude Desktop configuration file:

{
  "mcpServers": {
    "mcp-server-project-ts": {
      "command": "npx",
      "args": ["mcp-server-project-ts", "--workspaceRoot", "/path/to/your/project"]
    }
  }
}

🏗️ Development

# Development mode with auto-restart
npm run dev -- --workspaceRoot .

# Build for production
npm run build

# Run tests
npm test

🎯 Why MCP?

This server follows the Model Context Protocol specification, providing:

  • ✅ Standardization: Works with any MCP-compatible client
  • ✅ Discoverability: Tools are self-describing with schemas
  • ✅ Type Safety: Input validation via JSON schemas
  • ✅ Documentation: Built-in tool descriptions for AI agents
  • ✅ Interoperability: Part of the growing MCP ecosystem

📄 License

MIT License - see LICENSE file for details.

🤝 Contributing

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Add tests if applicable
  5. Submit a pull request

📚 Documentation

More Developer Tools MCP servers

Similar servers from the same category.

Sourcebot

sourcebot-dev

Enables code search across multiple repository hosts including GitHub, GitLab, Gitea, Gerrit, and Bitbucket with advanced filtering options for exploring large codebases through natural language queries.

searchgit

CodeAlive

codealive-ai

Provides a bridge to CodeAlive's platform for semantic code search, repository exploration, and context-aware chat completions that leverage deep understanding of entire codebases including documentation and dependencies.

search

Provides a secure, sandboxed environment for executing Python, Node.js, and shell commands in ephemeral containers with file management capabilities for code testing, visualization, and data analysis.

filesystemdatabase

NovaCV

lightbaby

Integrates with NovaCV API to generate, analyze, and convert resumes in various formats without dealing with complex document formatting

PDFSupport+5