New:Introducing Socket Scanning for VS Code Marketplace Extensions.Learn more →
Get Started

mcp-cs

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mcp-cs

IEEE Computer Society Universal Developer Operations, Diagnostics & AlgoJudge Competitive Execution MCP Server

npmnpm
Version
2.0.0
Version published
Weekly downloads
18
12.5%
Maintainers
1
Weekly downloads
 
Created
Source

⚡ MCP-CS (mcp-cs)

The Universal Developer Operations, Diagnostics & AlgoJudge Competitive Execution Suite

npm version License: MIT Node.js MCP Organization

A full-featured Model Context Protocol (MCP) server created for developers, competitive programmers, and engineering teams.

Installation • Tool Catalog • Prompts & Resources • Contributing

🌟 Why mcp-cs?

mcp-cs connects your AI assistant (Antigravity, Cursor, Claude Desktop, Windsurf, Cline) directly to powerful local execution, repository diagnostics, database modeling, and competitive algorithm tools with zero manual configuration.

  • ⚡ AlgoJudge Engine: Run sandboxed code (Python, JS/TS, C++, Go), perform automated differential stress-testing, and check AST code similarity.
  • 🩺 Environment Doctor: Diagnose project setups, detect .env disparities, and inspect port conflicts with process PIDs.
  • 🗄️ Database & ERD: Parse SQL schemas and auto-generate Mermaid Entity-Relationship diagrams.
  • ⚡ Web Performance: Scan for oversized raster assets and audit HTTP compression & security headers.
  • 🛡️ Security Guard: Detect leaked API keys, tokens, and hardcoded credentials before committing.
  • 🌐 API Playground: Live HTTP test client and realistic synthetic mock data generator.

📦 Installation & Setup

You do not need to clone the repository to use mcp-cs. It runs automatically via npx.

1. Antigravity Configuration

Add mcp-cs to your global MCP configuration file at ~/.gemini/config/mcp_config.json:

{
  "mcpServers": {
    "mcp-cs": {
      "command": "npx",
      "args": ["-y", "mcp-cs"]
    }
  }
}

2. Claude Desktop

Add to your Claude configuration file:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
{
  "mcpServers": {
    "mcp-cs": {
      "command": "npx",
      "args": ["-y", "mcp-cs"]
    }
  }
}

3. Cursor IDE

  • Open Settings (Cmd + , or Ctrl + ,).
  • Navigate to Features $\to$ MCP.
  • Click Add New MCP Server:
    • Name: mcp-cs
    • Type: command
    • Command: npx -y mcp-cs

4. Windsurf & Cline / Roo-Code

Add the following under mcpServers in your settings:

{
  "mcpServers": {
    "mcp-cs": {
      "command": "npx",
      "args": ["-y", "mcp-cs"]
    }
  }
}

🛠️ Complete Tool Catalog (24 Tools)

⚡ 1. AlgoJudge Competitive & Algorithm Engine

ToolDescriptionExample Prompt
algo_run_sandboxedRuns code in Python, JS, TS, C++, C, or Go in an isolated process with strict time and memory limits."Run this C++ solution with the test input 5\n1 2 3 4 5."
algo_stress_testAutomated Differential Tester: Compares an optimal algorithm against a brute-force baseline on randomized inputs to find failing edge cases."Stress-test my Dijkstra implementation against a brute-force solution to find where it fails."
algo_check_plagiarismToken-based AST code similarity checker that compares two code submissions and detects suspicious duplicated logic."Check if solution_a.py and solution_b.py have plagiarized logic."
algo_generate_edge_casesGenerates adversarial corner cases (min $N=1$, max constraints, identical items, extreme negatives, disconnected graphs)."Generate edge testcases for a binary tree problem."

🗄️ 2. Database & Schema Suite

ToolDescriptionExample Prompt
db_generate_erdParses SQL CREATE TABLE and foreign key statements to automatically generate Mermaid Entity-Relationship Diagrams."Generate a Mermaid ERD diagram from this schema.sql file."

⚡ 3. Web Performance Suite

ToolDescriptionExample Prompt
perf_audit_assetsScans directory for uncompressed raster images (>250KB) and calculates bandwidth savings from WebP/AVIF conversion."Audit the images in /public and show me how much size we can save with WebP."
perf_check_headersAudits HTTP response headers of a web application for Gzip/Brotli compression, Cache-Control, and security headers."Check the performance and security headers on http://localhost:3000."

🩺 4. Environment & System Doctor

ToolDescriptionExample Prompt
doctor_diagnose_projectAuto-detects runtime (Node, Next.js, Python, Docker), missing node_modules, missing .env, and unconfigured virtual environments."Diagnose why this repo won't start."
doctor_check_envDiffs .env against .env.example to detect missing or surplus keys."Check if my .env is missing any keys from .env.example."
doctor_port_inspectIdentifies which background processes and PIDs are locking ports (3000, 6379, 5432)."Check why port 6379 is occupied."

🛡️ 5. Security & Secrets Guard

ToolDescriptionExample Prompt
security_scan_secretsScans codebase for leaked OpenAI keys, AWS access tokens, GitHub PATs, and private keys."Scan my repository for accidentally committed secrets."

🌐 6. API Client & Mock Generator

ToolDescriptionExample Prompt
api_test_requestExecutes live HTTP calls (GET, POST, PUT, DELETE) with headers, auth, and query params — measures latency (TTFB) and formats JSON."Send a GET request to https://api.github.com/zen and show the latency."
api_generate_mock_dataGenerates realistic synthetic mock datasets (users, products, posts, transactions) for frontend and backend testing."Generate 10 mock user records with IDs and emails."

📚 7. Documentation & Code Hygiene

ToolDescriptionExample Prompt
docs_check_broken_linksScans all markdown files (.md, .mdx) to detect broken internal links and dead file references."Check all markdown files in the repo for broken links."
docs_extract_code_snippetsExtracts all fenced code blocks from markdown documentation for quick inspection."Extract all code snippets in docs/ so we can verify their syntax."
code_find_todosScans the codebase for TODO, FIXME, HACK, and BUG comments with line numbers and file paths."Find all TODO and FIXME comments in the codebase."
code_inspect_heavy_dependenciesInspects package.json to identify bloated dependencies (moment, lodash, monaco, katex) with optimization tips."Check if we have heavy dependencies slowing down our bundle."

🚀 8. Git, Release & CI/CD Suite

ToolDescriptionExample Prompt
git_generate_changelogParses conventional git commit history between tags and outputs a clean markdown changelog."Generate a changelog for all commits since v1.0.0."
git_pr_readiness_checkVerifies uncommitted files, unpushed commits, and branch health before opening a Pull Request."Check if my branch is ready for a Pull Request."
git_generate_pr_descriptionGenerates a structured markdown Pull Request description summarizing branch commits and diffs."Generate a structured PR description for my current branch."
problem_fetch_codeforcesFetches problem statements, sample inputs/outputs, tags, and contest limits from Codeforces."Fetch the details for Codeforces problem 2060A."
ci_generate_workflowGenerates production-ready GitHub Actions CI/CD workflows for Next.js, NPM Publishing, Docker, or Python."Generate a GitHub Action workflow to automatically publish this package to NPM."

🧩 Interactive Prompts & Resources

Slash Commands / Prompts:

  • /diagnose-repo: Runs full system doctor diagnostics, checks environment variables, scans ports, and generates an onboarding report.
  • /stress-test-solution: Interactive algorithm stress-testing assistant to find counter-example edge cases.
  • /prepare-pr: Pre-flight PR creation checklist and summary.

Dynamic Context Resources:

  • resource://system/ports: Live socket feed of active network ports.
  • resource://git/status: Real-time repository branch and sync state.

💻 Local Development

To contribute or run mcp-cs from source:

# 1. Clone repository
git clone https://github.com/ieeecsopen/mcp-cs.git
cd mcp-cs

# 2. Install dependencies
npm install

# 3. Build TypeScript
npm run build

# 4. Start in development mode
npm run dev

📄 License & Community

Distributed under the MIT License.

Maintained with ❤️ by the IEEE Computer Society of SLIIT.

Keywords

mcp

FAQs

Package last updated on 27 Aug 2026

Related posts