Logo vun SpecLinter MCP

SpecLinter MCP

Communautéit
orangebread

AI-powered specification analysis tool that converts requirements into structured tasks and validates code implementation against original specs.

Editeurorangebread
Repositoryspeclinter-mcp
SproochTypeScript
Forks
3
Stären
35
Disponibel Tools
0
Transporttypstdio
Kategorien
Linken
  • Tools mat KI-Workflows verbannen

    SpecLinter MCP stellt MCP-Funktioune bereit, déi vu kompatibele KI-Clienten a KI-Agente kënne benotzt ginn.

  • 0 disponibel Tools

    Kuckt Iech déi opruffbar Aktiounen hei drënner un, mat Nimm a Beschreiwungen, wa se vum Server geliwwert ginn.

  • Konfiguratioun fir ze kopéieren

    Benotzt d'Installatiounsbeispiller, fir dëse Server an Ärem bevorzugte MCP-Client ze konfiguréieren.

  • Indicateure fir Open Source

    35 Stären an 3 Forks aus dem verlinkte Repository.

[!IMPORTANT] Project Status: No Longer Supported

SpecLinter MCP is no longer being actively supported, maintained, or developed. This repository remains available as-is for anyone who finds it useful, but issues, pull requests, and feature requests should not be considered actively monitored.

Thank you to everyone who tried SpecLinter, shared feedback, opened issues, or used it in a workflow. Your interest and encouragement are sincerely appreciated.

 ██████╗ ██████╗ ███████╗ ██████╗██╗     ██╗███╗   ██╗████████╗███████╗██████╗
██╔════╝ ██╔══██╗██╔════╝██╔════╝██║     ██║████╗  ██║╚══██╔══╝██╔════╝██╔══██╗
███████╗ ██████╔╝█████╗  ██║     ██║     ██║██╔██╗ ██║   ██║   █████╗  ██████╔╝
╚════██║ ██╔═══╝ ██╔══╝  ██║     ██║     ██║██║╚██╗██║   ██║   ██╔══╝  ██╔══██╗
███████║ ██║     ███████╗╚██████╗███████╗██║██║ ╚████║   ██║   ███████╗██║  ██║
╚══════╝ ╚═╝     ╚══════╝ ╚═════╝╚══════╝╚═╝╚═╝  ╚═══╝   ╚═╝   ╚══════╝╚═╝  ╚═╝

    🔍 AI-Powered Specification Analysis  •  📊 Quality Grading  •  ⚡ Task Generation

SpecLinter MCP

🚀 Turn vague specs into structured tasks with AI-powered quality gates

Transform natural language specifications into actionable development tasks with built-in quality assessment, similarity detection, and implementation validation.

✨ What Makes SpecLinter Special

FeatureTraditional ToolsSpecLinter
Spec AnalysisManual review🤖 AI-powered quality grading (A+ to F)
Task BreakdownManual decomposition⚡ Auto-generated structured tasks
Duplicate DetectionManual checking🔍 Semantic similarity analysis
Implementation CheckCode review🧠 AI validates against original spec
Test ScenariosWrite from scratch🧪 Auto-generated Gherkin scenarios

🎯 Quick Start (5 Minutes)

� Installation & Setup

bash
git clone https://github.com/orangebread/speclinter-mcp.git
cd speclinter-mcp
pnpm install && pnpm build

🔌 MCP Configuration

Add this to your AI IDE's MCP configuration:

json
{
  "mcpServers": {
    "speclinter": {
      "command": "node",
      "args": ["/absolute/path/to/dist/cli.js", "serve"]
    }
  }
}

� Try It Out

Ask your AI: "Initialize SpecLinter and parse this spec: Create a user login form with email validation"

📋 Table of Contents

🎯 Core Workflows

Scenario: Developer Gets Quality Feedback on Vague Spec

gherkin
Given I have a vague specification: "Add social features"
When I ask SpecLinter to parse it
Then I get grade F with specific improvement suggestions
And actionable feedback like "Define specific social features"
And a template showing how to improve to grade A

Scenario: Developer Generates Structured Tasks

gherkin
Given I have a detailed spec: "Create user authentication with email verification, password reset, and 2FA"
When SpecLinter analyzes it
Then I get grade A with 8-12 structured tasks
And each task has acceptance criteria and Gherkin scenarios
And tasks are saved in organized directories

Scenario: Developer Validates Implementation

gherkin
Given I've implemented my authentication feature
When I ask SpecLinter to validate it
Then AI scans my codebase for related files
And compares implementation against original spec
And provides quality score with specific recommendations

Scenario: Team Avoids Duplicate Work

gherkin
Given my teammate built user profile management
When I try to add "user settings page"
Then SpecLinter detects 85% similarity
And recommends extending existing feature
And prevents duplicate implementation

🚀 Setup Guide

Prerequisites

  • Node.js 18+ • pnpm (recommended)

Installation

bash
pnpm install && pnpm build

MCP Integration

AI IDEConfiguration FileLocation
Cursormcp_servers.json~/.cursor/
Claude Desktopclaude_desktop_config.json~/Library/Application Support/Claude/ (macOS)%APPDATA%\Claude\ (Windows)
WindsurfCheck Windsurf docsVaries

Add this configuration:

json
{
  "mcpServers": {
    "speclinter": {
      "command": "node",
      "args": ["/absolute/path/to/dist/cli.js", "serve"]
    }
  }
}

✅ Verify Setup

bash
# Test server starts
node dist/cli.js serve

# Or run full validation plus MCP startup probe
./start.sh --check

# In your AI IDE, try:
"Initialize SpecLinter in my project"
"Parse this spec: Create a user login form"

📖 GitMCP Integration

For documentation access and examples, you can also add GitMCP integration:

json
{
  "mcpServers": {
    "speclinter-docs": {
      "command": "npx",
      "args": ["mcp-remote", "https://gitmcp.io/orangebread/speclinter-mcp"]
    }
  }
}

This provides AI access to SpecLinter documentation and usage examples.

🐳 Docker Alternative

Quick Docker Setup:

bash
# Clone and build
git clone https://github.com/orangebread/speclinter-mcp.git
cd speclinter-mcp
docker build -t speclinter/mcp .

# Run SpecLinter server
docker run -d --name speclinter-server -v $(pwd):/workspace speclinter/mcp

MCP Configuration for Docker:

json
{
  "mcpServers": {
    "speclinter": {
      "command": "docker",
      "args": ["exec", "-i", "speclinter-server", "node", "/app/dist/cli.js", "serve"]
    }
  }
}

Benefits:

  • ✅ No Node.js installation required
  • ✅ Isolated environment
  • ✅ Consistent across all platforms
  • ✅ Easy cleanup with docker rm -f speclinter-server

📊 Quality System

SpecLinter grades your specifications and provides actionable feedback:

GradeScoreWhat It MeansExample Issues
🏆 A+95-100Exceptional specNone - ready to implement
⭐ A90-94Excellent specMinor clarity improvements
✅ B80-89Good specMissing some acceptance criteria
⚠️ C70-79Needs workVague terms, brief description
❌ D60-69Poor specMajor gaps in requirements
🚫 F0-59Failing specToo vague to implement

Quality Criteria Checklist

  • ✅ Clear acceptance criteria - What defines "done"?
  • ✅ Specific requirements - Avoid vague terms like "user-friendly"
  • ✅ Error handling - What happens when things go wrong?
  • ✅ Sufficient detail - Enough info for implementation
  • ✅ User story format - "As a... I want... So that..." (optional)

Example: F → A Transformation

❌ Grade F Spec:

"Add social features to the app"

✅ Grade A Spec:

As a user, I want to send direct messages to other users so that I can communicate privately.

Acceptance Criteria:
- Users can search for other users by username
- Messages are delivered in real-time using WebSocket
- Message history is preserved and searchable
- Users can block/unblock other users
- All messages are encrypted end-to-end

Error Handling:
- Show "User not found" for invalid usernames
- Display "Message failed to send" with retry option
- Handle offline users with message queuing

🔧 Advanced Features

🧪 AI-Powered Gherkin Scenarios

Every task gets comprehensive, actionable test scenarios with enhanced AI generation:

gherkin
Feature: User Authentication System
  Implement secure user login and registration with email verification

  Scenario: Successfully authenticate user with valid credentials
    Given the user registration system is available
    And a user exists with email "user@example.com" and password "SecurePass123"
    When I submit login form with valid credentials
    Then the user should be authenticated successfully
    And a JWT token should be generated and returned
    And the user should be redirected to the dashboard
    And the login attempt should be logged

  Scenario: Handle invalid login attempts
    Given a user exists with email "user@example.com"
    When I submit login form with email "user@example.com" and password "WrongPassword"
    Then the authentication should be rejected
    And an error message "Invalid credentials" should be displayed
    And no JWT token should be generated
    And the failed attempt should be logged

  Scenario: Validate input format during login
    Given the login system is ready to accept input
    When I provide malformed email "invalid-email" and password "test123"
    Then input validation should be triggered
    And specific validation errors should be shown
    And the user should understand what needs to be corrected

🎯 Enhanced Scenario Features:

  • AI-Generated Quality: Scenarios tailored to your project's tech stack and patterns
  • Multiple Types: Happy path, error handling, edge cases, security, and performance scenarios
  • Specific Data: Concrete examples instead of generic placeholders
  • Actionable Steps: Each step can be implemented as an automated test
  • Business Focus: User-centric language with technical accuracy
  • Comprehensive Coverage: All acceptance criteria addressed
  • Configurable Complexity: Adjust scenario depth and coverage via configuration

🔍 Semantic Similarity Detection

Prevents duplicate work by finding similar features:

Input: "user profile management"
Found: "user settings page" (85% similarity)
Recommendation: Extend existing feature

🤖 AI Implementation Validation

Advanced AI-powered validation that understands your code:

  • Intelligent Codebase Scanning - Finds implementation files using semantic analysis
  • Context-Aware Analysis - Understands your project's patterns and tech stack
  • Quality Assessment - Provides detailed scoring with specific recommendations
  • Acceptance Criteria Validation - Checks each requirement against actual implementation
  • Auto-Status Updates - Updates task statuses based on implementation findings
  • Architectural Review - Ensures consistency with project patterns and standards

📁 Project Structure

your-project/
├── .speclinter/
│   ├── config.json         # Settings
│   └── context/            # AI-generated project docs
└── speclinter-tasks/
    └── [feature-name]/
        ├── _active.md      # Status dashboard
        ├── task_*.md       # Individual tasks
        └── gherkin/        # Test scenarios

💬 How to Use SpecLinter

Just talk to your AI assistant naturally! Here are the most common commands:

🚀 Getting Started

"Initialize SpecLinter in my project"
"Analyze my codebase to understand patterns and tech stack"

📝 Working with Specs

"Parse this spec: Create a user authentication system with email verification"
"Grade this specification: [your spec here]"
"Find similar features to: user profile management"
"Generate comprehensive Gherkin scenarios for my authentication feature"

📊 Managing Tasks

"Show me the status of my authentication tasks"
"Mark the database setup task as completed"
"Validate the implementation of my login feature"
"Update task status for WebSocket connection to completed"

💡 Pro Tip: SpecLinter works through your AI IDE - no CLI commands needed for daily use!

🏗️ Real-World Examples

Example 1: E-commerce Product Catalog

Input Spec:

Create a product catalog page with filtering and search

SpecLinter Output:

  • Grade: C (needs more detail)
  • Generated Tasks: 6 structured tasks
  • Improvements: Add specific filter types, search behavior, pagination

Example 2: User Authentication System

Input Spec:

As a user, I want to log in with email and password so I can access my account.

Acceptance Criteria:
- Email validation with proper error messages
- Password must be 8+ characters
- Failed attempts are rate-limited (3 attempts/5 minutes)
- Successful login redirects to dashboard
- Remember me option for 30 days

SpecLinter Output:

  • Grade: A (excellent specification)
  • Generated Tasks: 12 detailed tasks including security, validation, and UX
  • Gherkin Scenarios: Auto-generated for each task

🤝 Team Collaboration

Preventing Duplicate Work

gherkin
Scenario: Team coordination
  Given developer A built "user profile management"
  When developer B wants to add "user settings page"
  Then SpecLinter detects 85% similarity
  And recommends extending existing feature
  And prevents duplicate implementation

Cross-Project Similarity

SpecLinter can detect similar features across multiple repositories and microservices, helping large teams avoid redundant work.

🔧 Development Reference

These commands are retained for historical reference for anyone exploring or forking the project.

bash
git clone https://github.com/orangebread/speclinter-mcp.git
cd speclinter-mcp

# Traditional development
pnpm install && pnpm build

# Available scripts
pnpm build        # Build for production
pnpm test         # Run Vitest tests (implementation validation)
pnpm lint         # Lint code with ESLint
pnpm dev          # Watch mode for development
pnpm start        # Start MCP server

# Docker development
docker build -t speclinter/mcp:latest .
docker run -it --rm -v $(pwd):/workspace speclinter/mcp

🧪 Testing

SpecLinter uses Vitest for implementation validation rather than traditional unit tests. The test framework validates that features are implemented according to their specifications using AI-generated Gherkin scenarios.

🏗️ Architecture

  • 🔒 Type Safety: Full TypeScript with Zod validation
  • 🤖 AI-Leveraged: Two-step pattern for semantic analysis
  • 💾 Database: SQLite for task management and feature history
  • 🔌 MCP Integration: Full Model Context Protocol support

📄 License

MIT

Installatioun

TypingMind
{
  "mcpServers": {
    "speclinter-mcp": {
      "command": "node",
      "args": [
        "dist/cli.js",
        "serve"
      ]
    }
  }
}

SpecLinter MCP MCP mat verschiddene KI-Modeller benotzen

TypingMind verbënnt MCP-Tools um Niveau vum Aarbechtsberäich. Soubal SpecLinter MCP verbonnen ass, kënnt Dir et mat verschiddene KI-Modeller an TypingMind benotzen, amplaz et fir all Modell separat anzeriichten. Dës MCP-Integratioun leeft lokal iwwer den TypingMind-MCP-Connector op Ärem Apparat.

Ariichtungsuleedung fir de lokale Connector ze benotzen

Benotzt dës Optioun, wann den MCP-Server Zougrëff op lokal Fichieren, Appen oder privat Ressourcen op Ärem Computer brauch.

1

D'MCP-Astellungen opmaachen

Gitt an TypingMind op „Astellungen“, „Erweidert Astellungen“, dann op „Model Context Protocol“ a wielt „Connector ariichten“.

  1. Maacht TypingMind an Ärem Browser op.
  2. Klickt op d'Astellungssymbol.
  3. Gitt op „Erweidert Astellungen“.
  4. Maacht d'Sektioun „Model Context Protocol“ op.
  5. Klickt op „Connector ariichten“ a wielt „Dësen Apparat“.
Ariichtungsbildschierm vum TypingMind-MCP-Connector mat „Dësen Apparat“ ausgewielt
2

De Connector-Befeel ausféieren

Wielt „Dësen Apparat“, kopéiert de Befeel aus TypingMind a féiert en am Terminal aus. Loosst de Prozess lafen, wärend Dir MCP benotzt.

  1. Kopéiert den Ariichtungsbefeel, deen TypingMind uweist.
  2. Maacht Terminal op macOS oder Windows Terminal op Windows op.
  3. Pescht de Befeel an a féiert en aus.
  4. Bestätegt d'Installatioun vum Package, wann den Terminal Iech freet, ob Dir weiderfuere wëllt.
  5. Loosst den Terminal an de Prozess doranner lafen, wärend Dir MCP-Tools benotzt.
3

SpecLinter MCP als Server derbäisetzen

Wann de Connector-Status „Prett“ ass, klickt op „Serveren änneren“ a pescht d'MCP-Serverkonfiguratioun an.

  1. Waart, bis de Connector-Status „Prett“ weist.
  2. Klickt op „Serveren änneren“.
  3. Pescht d'MCP-Serverkonfiguratioun vu SpecLinter MCP an.
  4. Späichert d'Serverlëscht.
  5. Aktualiséiert, wann Dir kontrolléiere wëllt, ob de Connector nach ëmmer prett ass.
MCP-Astellunge vun TypingMind mat aktivem Server an dem Knäppchen „Serveren änneren“
{
  "mcpServers": {
    "speclinter-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "speclinter-mcp"
      ]
    }
  }
}
4

D'Verbindung mat verschiddene Modeller benotzen

Späichert d'Serverlëscht, maacht „Plugins“ op an aktivéiert d'MCP-Tools vu SpecLinter MCP. Wielt dann e belibegen ënnerstëtzte KI-Modell an TypingMind a benotzt d'Tools am Chat oder weist se engem KI-Agent zou.

  1. Maacht d'Säit „Plugins“ an TypingMind op.
  2. Aktivéiert d'MCP-Tools vu SpecLinter MCP.
  3. Start e Chat a wielt de KI-Modell, deen Dir benotze wëllt.
  4. Benotzt d'MCP-Tools am Chat oder weist se engem KI-Agent zou.
  5. Wiesselt bei Bedarf op en anere KI-Modell, ouni MCP nei ze verbannen.
TypingMind-Chat mat aktivéierte MCP-Tools an engem ausgewielte KI-Modell
Hëlleft Dir mir bei dëser Aufgab mat SpecLinter MCP?
SpecLinter MCP
Jo. Ech hunn et gelies.
Dat hunn ech mat SpecLinter MCP fonnt.

Heefeg gestallte Froen

Fir wat gëtt de MCP-Server SpecLinter MCP benotzt?

SpecLinter MCP ass e MCP-Server, deen et kompatibele KI-Clienten erlaabt, sech mat externen Tools a Kontext ze verbannen. An TypingMind kënnt Dir dëse MCP-Server eemol derbäisetzen a seng Tools an Ärem KI-Aarbechtsberäich zur Verfügung stellen.

Kann ech SpecLinter MCP MCP mat méi KI-Modeller an TypingMind benotzen?

Jo. TypingMind verbënnt MCP-Tools um Niveau vum Aarbechtsberäich. Sou kënnt Dir SpecLinter MCP mat verschiddene KI-Modeller wéi Claude, ChatGPT, Gemini oder anere Modeller benotzen, déi Dir an TypingMind konfiguréiert hutt, ouni de MCP-Server fir all Modell separat anzeriichten.

Firwat SpecLinter MCP MCP mat TypingMind benotzen?

TypingMind ass eng vun de beschte Benotzeruewerfläche fir LLM-Chat, well et méi KI-Modeller, Prompts, Plugins, KI-Agenten, API-Schlësselen a MCP-Tools an engem Aarbechtsberäich zesummebréngt. Wann SpecLinter MCP verbonnen ass, kënnt Dir seng MCP-Tools mat Äre bevorzugte Modeller benotzen a gläichzäiteg Är Chataarbecht an TypingMind organiséieren.

Wéi verbannen ech SpecLinter MCP MCP mat TypingMind?

SpecLinter MCP leeft iwwer de lokale MCP-Connector vun TypingMind. Dat eegent sech am beschten, wann de MCP-Server Zougrëff op lokal Fichieren, Desktop-Apps, Kommandozeilen-Tools oder privat Ressourcen op Ärem Computer brauch.

Wéi eng Tools stellt SpecLinter MCP MCP an TypingMind zur Verfügung?

SpecLinter MCP stellt MCP-Funktiounen zur Verfügung, déi Dir op der Plugins-Säit vun TypingMind aktivéiere kënnt, fir se am Chat ze benotzen oder KI-Agenten zouzeweisen.

Muss ech meng API-Schlëssele mat TypingMind deelen, fir SpecLinter MCP MCP ze benotzen?

Nee. TypingMind setzt op lokal Veraarbechtung a léisst Iech d'Kontroll iwwer Är Modellubidder, API-Schlësselen, Prompts a MCP-Konfiguratioun. Wann SpecLinter MCP eng Authentifizéierung verlaangt, setzt déi néideg Headeren, OAuth-Astellungen oder lokal Konfiguratioun fir dee MCP-Server derbäi, wann Dir d'Verbindung erstallt.

Änlech MCP-Serveren

All weisen

Elo Ären eegene KI-Workspace ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇