Spaces:
Paused
Paused
Commit
·
4324a6b
1
Parent(s):
5370a22
chore(readme): add example mcp.json config for private hf space
Browse files
README.md
CHANGED
|
@@ -98,3 +98,31 @@ pyproject.toml # Project metadata and dependencies
|
|
| 98 |
README.md # Project documentation
|
| 99 |
.env.example # Example environment configuration
|
| 100 |
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 98 |
README.md # Project documentation
|
| 99 |
.env.example # Example environment configuration
|
| 100 |
```
|
| 101 |
+
|
| 102 |
+
## MCP.json Configuration for VSCode for MCP Server Deployment in Private HF Spaces
|
| 103 |
+
{
|
| 104 |
+
"servers": {
|
| 105 |
+
"ds": {
|
| 106 |
+
"url": "https://dnext-ds-mcp-server.hf.space/mcp/",
|
| 107 |
+
"type": "http",
|
| 108 |
+
"headers": {
|
| 109 |
+
"DS-API-Key": "${input:defect-solver-api-key}",
|
| 110 |
+
"Authorization": "Bearer ${input:hf-access-token}"
|
| 111 |
+
}
|
| 112 |
+
}
|
| 113 |
+
},
|
| 114 |
+
"inputs": [
|
| 115 |
+
{
|
| 116 |
+
"type": "promptString",
|
| 117 |
+
"id": "defect-solver-api-key",
|
| 118 |
+
"description": "Enter your Defect Solver API Key",
|
| 119 |
+
"password": true
|
| 120 |
+
},
|
| 121 |
+
{
|
| 122 |
+
"type": "promptString",
|
| 123 |
+
"id": "hf-access-token",
|
| 124 |
+
"description": "Enter your Hugging Face Access Token",
|
| 125 |
+
"password": true
|
| 126 |
+
}
|
| 127 |
+
]
|
| 128 |
+
}
|