Skip to content

Commit 70266d4

Browse files
committed
docs: update Cursor IDE rule files to use .mdc extension
This commit updates all Cursor IDE rule files to use the .mdc extension consistently: - Rename .md files to .mdc in various rule documents - Update file references within the rules to use .mdc extension - Modify badge and link syntax in documentation templates - Ensure consistent file naming across the repository
1 parent 7a49a35 commit 70266d4

9 files changed

+23
-23
lines changed

.cursor/rules/ai-assisted-development.mdc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ alwaysApply: false
99
Follow these guidelines when using Cursor IDE with AI assistance for MCP DevTools development:
1010

1111
@url https://docs.cursor.com/
12-
@file .cursor/rules/repository-structure.md
12+
@file .cursor/rules/repository-structure.mdc
1313

1414
## Effective AI Prompts
1515

.cursor/rules/core-libraries-usage.mdc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ alwaysApply: true
99
When developing MCP DevTools packages, prefer using shared core libraries over custom implementations to ensure consistency and maintainability.
1010

1111
@file packages/jira/src/index.ts
12-
@file .cursor/rules/mcp-server-implementation.md
12+
@file .cursor/rules/mcp-server-implementation.mdc
1313

1414
## Required Core Libraries
1515

.cursor/rules/mcp-server-implementation.mdc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ alwaysApply: true
99
When implementing a new MCP server or updating an existing one, follow these guidelines:
1010

1111
@file packages/jira/src/index.ts
12-
@file .cursor/rules/core-libraries-usage.md
13-
@file .cursor/rules/typescript-style.md
12+
@file .cursor/rules/core-libraries-usage.mdc
13+
@file .cursor/rules/typescript-style.mdc
1414

1515
## Server Setup
1616

.cursor/rules/new-package-creation.mdc

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ This guide provides a step-by-step process for creating a new MCP server package
1111
@url https://docs.cursor.com/context/rules-for-ai
1212
@file packages/jira/package.json
1313
@file packages/jira/src/index.ts
14-
@file .cursor/rules/repository-structure.md
15-
@file .cursor/rules/mcp-server-implementation.md
16-
@file .cursor/rules/core-libraries-usage.md
14+
@file .cursor/rules/repository-structure.mdc
15+
@file .cursor/rules/mcp-server-implementation.mdc
16+
@file .cursor/rules/core-libraries-usage.mdc
1717

1818
## Step 1: Set Up Package Structure
1919

@@ -447,9 +447,9 @@ Create a comprehensive README.md file:
447447
````markdown
448448
# @mcp-devtools/[service-name]
449449

450-
![npm version](https://img.shields.io/npm/v/@mcp-devtools/[service-name].svg)
451-
![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)
452-
![Beta Status](https://img.shields.io/badge/status-beta-orange)
450+
![npm version](mdc:https:/img.shields.io/npm/v/@mcp-devtools/[service-name].svg)
451+
![License: MIT](mdc:https:/img.shields.io/badge/License-MIT-blue.svg)
452+
![Beta Status](mdc:https:/img.shields.io/badge/status-beta-orange)
453453

454454
MCP server for interacting with [Service] through AI assistants like Claude in the Cursor IDE.
455455

@@ -521,8 +521,8 @@ create_item "Item Name" with description "Detailed description"
521521

522522
| Tool | Description | Parameters | Aliases | Implementation |
523523
|----------------|-------------------------------|------------------------------------------------------------|------------------------------ |-----------------------------------|
524-
| `search_items` | Search for items | `query` (string, required), `maxResults` (number, optional)| `find_items`, `query_items` | [searchTool.ts](src/tools/searchTool.ts) |
525-
| `create_item` | Create a new item | `name` (string, required), `description` (string, required)| `add_item` | [createTool.ts](src/tools/createTool.ts) |
524+
| `search_items` | Search for items | `query` (string, required), `maxResults` (number, optional)| `find_items`, `query_items` | [searchTool.ts](mdc:src/tools/searchTool.ts) |
525+
| `create_item` | Create a new item | `name` (string, required), `description` (string, required)| `add_item` | [createTool.ts](mdc:src/tools/createTool.ts) |
526526

527527
## ⚙️ Configuration
528528

.cursor/rules/package-documentation.mdc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ alwaysApply: true
99
Each package README.md should follow this structure:
1010

1111
@file packages/jira/README.md
12-
@file .cursor/rules/repository-structure.md
12+
@file .cursor/rules/repository-structure.mdc
1313

1414
## Required Sections
1515

@@ -18,9 +18,9 @@ Each package README.md should follow this structure:
1818
```markdown
1919
# @mcp-devtools/package-name
2020

21-
![npm version](https://img.shields.io/npm/v/@mcp-devtools/package-name.svg)
22-
![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)
23-
![Status Badge](https://img.shields.io/badge/status-beta-orange)
21+
![npm version](mdc:https:/img.shields.io/npm/v/@mcp-devtools/package-name.svg)
22+
![License: MIT](mdc:https:/img.shields.io/badge/License-MIT-blue.svg)
23+
![Status Badge](mdc:https:/img.shields.io/badge/status-beta-orange)
2424
```
2525

2626
2. **Short Description**

.cursor/rules/repository-structure.mdc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ The MCP DevTools repository follows a monorepo structure with clear organization
1010

1111
@file package.json
1212
@file packages/jira/package.json
13-
@file .cursor/rules/core-libraries-usage.md
13+
@file .cursor/rules/core-libraries-usage.mdc
1414

1515
## Top-Level Directory Structure
1616

.cursor/rules/rules-for-cursor.mdc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
description: Rules for Writing Cursor Rules
3-
globs: .cursor/rules/*.md
3+
globs: .cursor/rules/*.mdc
44
alwaysApply: true
55
---
66

@@ -9,8 +9,8 @@ alwaysApply: true
99
This document provides guidelines for creating and maintaining Cursor IDE rules for the MCP DevTools repository.
1010

1111
@url https://docs.cursor.com/context/rules-for-ai
12-
@file .cursor/rules/repository-structure.md
13-
@file .cursor/rules/ai-assisted-development.md
12+
@file .cursor/rules/repository-structure.mdc
13+
@file .cursor/rules/ai-assisted-development.mdc
1414

1515
## Rule Structure
1616

@@ -28,7 +28,7 @@ alwaysApply: true|false
2828
Brief introduction to the rule and its purpose.
2929

3030
@file path/to/example/file.ts
31-
@file path/to/related/rule.md
31+
@file path/to/related/rule.mdc
3232
@url https://relevant-docs-url.com/
3333

3434
## Sections

.cursor/rules/testing-standards.mdc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ alwaysApply: true
99
Follow these standards when writing tests for MCP DevTools packages:
1010

1111
@file packages/_/src/\*\*/_.test.ts
12-
@file .cursor/rules/typescript-style.md
12+
@file .cursor/rules/typescript-style.mdc
1313

1414
## Test Structure
1515

.cursor/rules/typescript-style.mdc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Follow these standards when writing TypeScript code for MCP DevTools:
1010

1111
@file packages/jira/src/tools/getTicket.ts
1212
@file tsconfig.json
13-
@file .cursor/rules/testing-standards.md
13+
@file .cursor/rules/testing-standards.mdc
1414

1515
## Naming Conventions
1616

0 commit comments

Comments
 (0)