Skip to content

Commit 81aa891

Browse files
author
Dev Agent Amelia
committed
docs: remove code --add-mcp section from README (unreliable across editions)
1 parent f6739ff commit 81aa891

File tree

4 files changed

+22
-40
lines changed

4 files changed

+22
-40
lines changed

.vscode/mcp.json

Lines changed: 19 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,20 @@
11
{
2-
"inputs": [
3-
{
4-
"id": "dataverse_env_url",
5-
"type": "promptString",
6-
"description": "Dataverse environment URL (e.g. https://yourorg.crm.dynamics.com)",
7-
"password": false
8-
}
9-
],
10-
"servers": {}
11-
}
2+
"inputs": [
3+
{
4+
"id": "dataverse_env_url",
5+
"type": "promptString",
6+
"description": "Dataverse environment URL (e.g. https://yourorg.crm.dynamics.com)",
7+
"password": false
8+
}
9+
],
10+
"servers": {
11+
"dataverse": {
12+
"type": "stdio",
13+
"command": "npx",
14+
"args": ["-y", "mcp-dataverse"],
15+
"env": {
16+
"DATAVERSE_ENV_URL": "https://yourorg.crm.dynamics.com"
17+
}
18+
}
19+
}
20+
}

README.md

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -63,33 +63,6 @@ Create or edit `.vscode/mcp.json` in your project (workspace scope) or the user-
6363

6464
---
6565

66-
### Command line (`code --add-mcp`)
67-
68-
> ⚠️ **PowerShell on Windows**: The single-quote JSON syntax is broken in PowerShell 5.1 (double quotes get stripped). Use one of the workarounds below.
69-
70-
**Bash / Git Bash / macOS / Linux:**
71-
72-
```bash
73-
code --add-mcp '{"name":"dataverse","type":"stdio","command":"npx","args":["-y","mcp-dataverse"],"env":{"DATAVERSE_ENV_URL":"https://yourorg.crm.dynamics.com"}}'
74-
```
75-
76-
**PowerShell (Windows) — use escaped quotes:**
77-
78-
```powershell
79-
code --add-mcp '{\"name\":\"dataverse\",\"type\":\"stdio\",\"command\":\"npx\",\"args\":[\"-y\",\"mcp-dataverse\"],\"env\":{\"DATAVERSE_ENV_URL\":\"https://yourorg.crm.dynamics.com\"}}'
80-
```
81-
82-
**PowerShell — alternative using a variable:**
83-
84-
```powershell
85-
$cfg = '{"name":"dataverse","type":"stdio","command":"npx","args":["-y","mcp-dataverse"],"env":{"DATAVERSE_ENV_URL":"https://yourorg.crm.dynamics.com"}}'
86-
code --add-mcp $cfg
87-
```
88-
89-
Replace `https://yourorg.crm.dynamics.com` with your actual Dataverse environment URL.
90-
91-
---
92-
9366
## Authentication — automatic, no setup required
9467

9568
**No PAC CLI, no Azure AD app registration, no credentials to configure.**

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "mcp-dataverse",
3-
"version": "0.2.0",
3+
"version": "0.2.1",
44
"description": "MCP Server for Microsoft Dataverse Web API",
55
"type": "module",
66
"main": "dist/server.js",

0 commit comments

Comments
 (0)