@presidio-dev/specifai-mcp-server 0.3.0 → 0.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +143 -17
- package/dist/index.js +21 -12
- package/dist/index.js.map +5 -4
- package/package.json +4 -1
package/README.md
CHANGED
@@ -1,25 +1,34 @@
|
|
1
1
|
# Specifai MCP Server
|
2
2
|
|
3
|
-
|
3
|
+
[](https://opensource.org/licenses/MIT)
|
4
|
+
[](https://www.npmjs.com/package/@presidio-dev/specifai-mcp-server)
|
5
|
+
[<img alt="Install in VS Code (npx)" src="https://img.shields.io/badge/VS_Code-VS_Code?style=plastic&label=Install&color=0098FF">](https://insiders.vscode.dev/redirect?url=vscode:mcp/install?{"name":"specifai","command":"npx","args":["-y","@presidio-dev/specifai-mcp-server@latest"]})
|
6
|
+
[<img alt="Install in VS Code Insiders (npx)" src="https://img.shields.io/badge/VS_Code_Insiders-VS_Code_Insiders?style=plastic&label=Install&color=24bfa5">](https://insiders.vscode.dev/redirect?url=vscode-insiders:mcp/install?{"name":"specifai","command":"npx","args":["-y","@presidio-dev/specifai-mcp-server@latest"]})
|
7
|
+
[<img alt="Install in Cursor (npx)" src="https://img.shields.io/badge/Cursor-Cursor?style=plastic&label=Install&color=1A1A1A">](https://cursor.com/install-mcp?name=specifai&config=eyJjb21tYW5kIjoibnB4IC15IEBwcmVzaWRpby1kZXYvc3BlY2lmYWktbWNwLXNlcnZlckBsYXRlc3QifQ==)
|
4
8
|
|
5
|
-
|
6
|
-
> This server is currently in experimental. The functionality and available tools are subject to change and expansion as we continue to develop and improve the server.
|
9
|
+
A Model Context Protocol (MCP) server for [Specifai](https://github.com/presidio-oss/specifai) project integration and automation with any MCP-compatible AI tool. This server is designed to be tool-agnostic, meaning it can be used with any tool that supports the MCP protocol. This server currently exposes tools to read all documents generated by the Specifai project.
|
7
10
|
|
8
|
-
[!
|
9
|
-
|
11
|
+
> [!WARNING]
|
12
|
+
> This server is currently experimental. The functionality and available tools are subject to change and expansion as we continue to develop and improve the server.
|
10
13
|
|
11
14
|
## Table of Contents
|
12
15
|
|
16
|
+
- [Requirements](#requirements)
|
13
17
|
- [Installation](#installation)
|
14
18
|
- [Configuration](#configuration)
|
15
19
|
- [Preparing Your Project](#preparing-your-project)
|
16
20
|
- [IDE Integration](#specifai-mcp-integration-with-popular-ide-and-extension)
|
17
21
|
- [Available Tools](#available-tools)
|
18
|
-
- [Requirements](#requirements)
|
19
22
|
- [Contributing](#contributing)
|
20
23
|
- [Security](#security)
|
21
24
|
- [License](#license)
|
22
25
|
|
26
|
+
## Requirements
|
27
|
+
|
28
|
+
- Node.js >= 16.0.0
|
29
|
+
- Bun >= 1.0.0 (if using Bun runtime)
|
30
|
+
- Hai Build, Cursor, Windsurf, Claude Desktop or any MCP Client
|
31
|
+
|
23
32
|
## Installation
|
24
33
|
|
25
34
|
```bash
|
@@ -64,9 +73,9 @@ with [`npx`](https://docs.npmjs.com/cli/v8/commands/npx) with specific version:
|
|
64
73
|
|
65
74
|
> This is completely optional, but it's recommended to use it to avoid having to specify the project directory path every time you access the server. For AI IDE / Extension (Hai Build), it's recommended to use a `.specifai-path` file to specify the project directory path.
|
66
75
|
|
67
|
-
Make sure your project root directory contains a `.specifai-path` file. It's how the Specifai MCP server
|
76
|
+
Make sure your project root directory contains a `.specifai-path` file. It's how the Specifai MCP server knows where to find the specification documents generated by Specifai.
|
68
77
|
|
69
|
-
The file is a plain text file containing the absolute path to the project directory where the specification documents for
|
78
|
+
The file is a plain text file containing the absolute path to the project directory where the specification documents for a project are stored.
|
70
79
|
|
71
80
|
For example, if your project directory is located at `/path/to/project`, the `.specifai-path` file should contain the following line:
|
72
81
|
|
@@ -78,8 +87,129 @@ For example, if your project directory is located at `/path/to/project`, the `.s
|
|
78
87
|
|
79
88
|
See the setup instructions for each
|
80
89
|
|
81
|
-
|
82
|
-
|
90
|
+
<details>
|
91
|
+
|
92
|
+
<summary><b>Install in Hai Build</b></summary>
|
93
|
+
|
94
|
+
Add this to your Hai Build MCP configuration file. See [Hai Build MCP Wiki](https://github.com/presidio-oss/cline-based-code-generator/wiki#-mcp-servers) for more info.
|
95
|
+
|
96
|
+
```json
|
97
|
+
{
|
98
|
+
"mcpServers": {
|
99
|
+
"specifai": {
|
100
|
+
"command": "npx",
|
101
|
+
"args": ["-y", "@presidio-dev/specifai-mcp-server@latest"]
|
102
|
+
}
|
103
|
+
}
|
104
|
+
}
|
105
|
+
```
|
106
|
+
|
107
|
+
</details>
|
108
|
+
|
109
|
+
<details>
|
110
|
+
|
111
|
+
<summary><b>Install in Amazon Q Developer</b></summary>
|
112
|
+
|
113
|
+
Add this to your Amazon Q Developer configuration file. See [MCP configuration for Q Developer in the IDE](https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/mcp-ide.html#mcp-ide-configuration-add-server) for more details.
|
114
|
+
|
115
|
+
```json
|
116
|
+
{
|
117
|
+
"mcpServers": {
|
118
|
+
"specifai": {
|
119
|
+
"command": "npx",
|
120
|
+
"args": ["-y", "@presidio-dev/specifai-mcp-server@latest"]
|
121
|
+
}
|
122
|
+
}
|
123
|
+
}
|
124
|
+
```
|
125
|
+
|
126
|
+
</details>
|
127
|
+
|
128
|
+
<details>
|
129
|
+
|
130
|
+
<summary><b>Install in VS Code (Copilot)</b></summary>
|
131
|
+
|
132
|
+
[<img alt="Install in VS Code (npx)" src="https://img.shields.io/badge/VS_Code-VS_Code?style=plastic&label=Install&color=0098FF">](https://insiders.vscode.dev/redirect?url=vscode:mcp/install?{"name":"specifai","command":"npx","args":["-y","@presidio-dev/specifai-mcp-server@latest"]})
|
133
|
+
[<img alt="Install in VS Code Insiders (npx)" src="https://img.shields.io/badge/VS_Code_Insiders-VS_Code_Insiders?style=plastic&label=Install&color=24bfa5">](https://insiders.vscode.dev/redirect?url=vscode-insiders:mcp/install?{"name":"specifai","command":"npx","args":["-y","@presidio-dev/specifai-mcp-server@latest"]})
|
134
|
+
|
135
|
+
Add this to your VS Code MCP config file. See [VS Code MCP docs](https://code.visualstudio.com/docs/copilot/chat/mcp-servers) for more info.
|
136
|
+
|
137
|
+
```json
|
138
|
+
"mcp": {
|
139
|
+
"servers": {
|
140
|
+
"specifai": {
|
141
|
+
"type": "stdio",
|
142
|
+
"command": "npx",
|
143
|
+
"args": ["-y", "@presidio-dev/specifai-mcp-server@latest"]
|
144
|
+
}
|
145
|
+
}
|
146
|
+
}
|
147
|
+
```
|
148
|
+
|
149
|
+
</details>
|
150
|
+
|
151
|
+
<details>
|
152
|
+
<summary><b>Install in Cursor</b></summary>
|
153
|
+
|
154
|
+
Go to: `Settings` -> `Cursor Settings` -> `Tools & Integrations` -> `New MCP Server`
|
155
|
+
|
156
|
+
Pasting the following configuration into your Cursor `~/.cursor/mcp.json` file is the recommended approach. You may also install in a specific project by creating `.cursor/mcp.json` in your project folder. See [Cursor MCP docs](https://docs.cursor.com/context/model-context-protocol) for more info.
|
157
|
+
|
158
|
+
> Since Cursor 1.0, you can click the install button below for instant one-click installation.
|
159
|
+
|
160
|
+
[<img alt="Install in Cursor (npx)" src="https://img.shields.io/badge/Cursor-Cursor?style=plastic&label=Install&color=1A1A1A">](https://cursor.com/install-mcp?name=specifai&config=eyJjb21tYW5kIjoibnB4IC15IEBwcmVzaWRpby1kZXYvc3BlY2lmYWktbWNwLXNlcnZlckBsYXRlc3QifQ==)
|
161
|
+
|
162
|
+
```json
|
163
|
+
{
|
164
|
+
"mcpServers": {
|
165
|
+
"specifai": {
|
166
|
+
"command": "npx",
|
167
|
+
"args": ["--yes", "@presidio-dev/specifai-mcp-server@latest"]
|
168
|
+
}
|
169
|
+
}
|
170
|
+
}
|
171
|
+
```
|
172
|
+
|
173
|
+
</details>
|
174
|
+
|
175
|
+
<details>
|
176
|
+
<summary><b>Install in Windsurf</b></summary>
|
177
|
+
|
178
|
+
Add this to your Windsurf MCP config file. See [Windsurf MCP docs](https://docs.windsurf.com/windsurf/cascade/mcp) for more info.
|
179
|
+
|
180
|
+
```json
|
181
|
+
{
|
182
|
+
"mcpServers": {
|
183
|
+
"specifai": {
|
184
|
+
"command": "npx",
|
185
|
+
"args": ["-y", "@presidio-dev/specifai-mcp-server@latest"]
|
186
|
+
}
|
187
|
+
}
|
188
|
+
}
|
189
|
+
```
|
190
|
+
|
191
|
+
</details>
|
192
|
+
|
193
|
+
<details>
|
194
|
+
<summary><b>Install in Zed</b></summary>
|
195
|
+
|
196
|
+
Add this to your Zed `settings.json`. See [Add your own MCP server docs](https://zed.dev/docs/ai/mcp#add-your-own-mcp-server) for more info.
|
197
|
+
|
198
|
+
```json
|
199
|
+
{
|
200
|
+
"context_servers": {
|
201
|
+
"specifai": {
|
202
|
+
"command": {
|
203
|
+
"path": "npx",
|
204
|
+
"args": ["-y", "@presidio-dev/specifai-mcp-server@latest"]
|
205
|
+
},
|
206
|
+
"settings": {}
|
207
|
+
}
|
208
|
+
}
|
209
|
+
}
|
210
|
+
```
|
211
|
+
|
212
|
+
</details>
|
83
213
|
|
84
214
|
### Available Tools
|
85
215
|
|
@@ -96,13 +226,9 @@ The server provides several tools for interacting with your specification docume
|
|
96
226
|
| `get-tasks` | Get Tasks for a specific User Story |
|
97
227
|
| `get-task` | Get details of a specific Task |
|
98
228
|
| `set-project-path` | Set or change the project directory path |
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
Package manager installation:
|
103
|
-
|
104
|
-
- Node.js >= 16.0.0
|
105
|
-
- Bun >= 1.0.0 (if using Bun runtime)
|
229
|
+
| `get-task-by-id` | Get details of a specific Task by ID |
|
230
|
+
| `list-all-tasks` | List all available tasks |
|
231
|
+
| `search` | Full text search across all documents |
|
106
232
|
|
107
233
|
## Contributing
|
108
234
|
|