Specif-ai MCP server

Provides a bridge for interacting with specif-ai services over stdio, focusing on secure API key management, error handling, and flexible deployment options.
Back to servers
Provider
VJ Presidio
Release date
Feb 22, 2025
Language
TypeScript
Package
Stats
254 downloads

The Model Context Protocol (MCP) server is a command-line tool that provides a communication interface for Specif-ai through stdio. It allows you to serve and interact with specification documents through a standardized protocol, making it easier to manage and access your project specifications.

Installation

Direct Binary Installation

You can install the binary directly using the installation script:

# Unix (macOS/Linux)
curl -fsSL https://raw.githubusercontent.com/vj-presidio/specif-ai-mcp-server/main/install.sh | sh

# Install specific version
curl -fsSL https://raw.githubusercontent.com/vj-presidio/specif-ai-mcp-server/main/install.sh | sh -s -- -v 1.2.3

For Windows users:

# Windows (PowerShell)
iwr -useb https://raw.githubusercontent.com/vj-presidio/specif-ai-mcp-server/main/install.ps1 | iex

# Install specific version
iwr -useb https://raw.githubusercontent.com/vj-presidio/specif-ai-mcp-server/main/install.ps1 | iex -v 1.2.3

Alternatively, you can manually download the binary for your platform from the Releases page.

Package Manager Installation

Install globally using npm:

# Latest version
npm install -g @vj-presidio/specif-ai-mcp-server@latest

# Specific version
npm install -g @vj-presidio/[email protected]

Or using bun:

# Latest version
bun install -g @vj-presidio/specif-ai-mcp-server@latest

# Specific version
bun install -g @vj-presidio/[email protected]

Updates

Check for Updates

# Unix (macOS/Linux)
curl -fsSL https://raw.githubusercontent.com/vj-presidio/specif-ai-mcp-server/main/update.sh | sh -s -- -c

# Windows (PowerShell)
iwr -useb https://raw.githubusercontent.com/vj-presidio/specif-ai-mcp-server/main/update.ps1 | iex -c

Update to Latest Version

# Unix (macOS/Linux)
curl -fsSL https://raw.githubusercontent.com/vj-presidio/specif-ai-mcp-server/main/update.sh | sh

# Windows (PowerShell)
iwr -useb https://raw.githubusercontent.com/vj-presidio/specif-ai-mcp-server/main/update.ps1 | iex

Update to Specific Version

# Unix (macOS/Linux)
curl -fsSL https://raw.githubusercontent.com/vj-presidio/specif-ai-mcp-server/main/update.sh | sh -s -- -v 1.2.3

# Windows (PowerShell)
iwr -useb https://raw.githubusercontent.com/vj-presidio/specif-ai-mcp-server/main/update.ps1 | iex -v 1.2.3

Usage

Client Configuration

Using npx with Latest Version

{
  "specif-ai": {
    "command": "npx",
    "args": ["--yes", "@vj-presidio/specif-ai-mcp-server@latest"],
    "disabled": false,
    "autoApprove": []
  }
}

Using npx with Specific Version

{
  "specif-ai": {
    "command": "npx",
    "args": ["--yes", "@vj-presidio/[email protected]"],
    "disabled": false,
    "autoApprove": []
  }
}

Using bunx with Latest Version

{
  "specif-ai": {
    "command": "bunx",
    "args": ["@vj-presidio/specif-ai-mcp-server@latest"],
    "disabled": false,
    "autoApprove": []
  }
}

Using bunx with Specific Version

{
  "specif-ai": {
    "command": "bunx",
    "args": ["@vj-presidio/[email protected]"],
    "disabled": false,
    "autoApprove": []
  }
}

Using Direct Binary or Global Installation

{
  "specif-ai": {
    "command": "specif-ai-mcp-server",
    "args": [],
    "disabled": false,
    "autoApprove": []
  }
}

Command Line Options

  • --help, -h: Display help information
  • --version: Display version information

Working with Specifications

Setting Project Path

You can set the project path using the set-project-path tool:

{
  "name": "set-project-path",
  "arguments": {
    "path": "./path/to/project"
  }
}

Available Tools

The server provides several tools for interacting with your specification documents:

Tool Name Description
set-project-path Set or change the project directory path
get-brds Get Business Requirement Documents
get-prds Get Product Requirement Documents
get-nfrs Get Non-Functional Requirements
get-uirs Get User Interface Requirements
get-bps Get Business Process Documents
get-user-stories Get User Stories for a specific PRD
get-tasks Get Tasks for a specific User Story
get-task Get details of a specific Task

System Requirements

For Binary Installation

  • curl (Unix) or PowerShell (Windows)
  • sudo access (Unix, for system-wide installation)

For Package Manager Installation

  • Node.js >= 16.0.0
  • Bun >= 1.0.0 (if using Bun runtime)

How to add this MCP server to Cursor

There are two ways to add an MCP server to Cursor. The most common way is to add the server globally in the ~/.cursor/mcp.json file so that it is available in all of your projects.

If you only need the server in a single project, you can add it to the project instead by creating or adding it to the .cursor/mcp.json file.

Adding an MCP server to Cursor globally

To add a global MCP server go to Cursor Settings > MCP and click "Add new global MCP server".

When you click that button the ~/.cursor/mcp.json file will be opened and you can add your server like this:

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

Adding an MCP server to a project

To add an MCP server to a project you can create a new .cursor/mcp.json file or add it to the existing one. This will look exactly the same as the global MCP server example above.

How to use the MCP server

Once the server is installed, you might need to head back to Settings > MCP and click the refresh button.

The Cursor agent will then be able to see the available tools the added MCP server has available and will call them when it needs to.

You can also explictly ask the agent to use the tool by mentioning the tool name and describing what the function does.

Want to 10x your AI skills?

Get a free account and learn to code + market your apps using AI (with or without vibes!).

Nah, maybe later