Skip to content

Commit d3f9cda

Browse files
committed
feat: use directory_path, file_path, and select input types
- filesystem: ALLOWED_DIR → directory_path - sqlite: DB_PATH → file_path - playwright: PLAYWRIGHT_MCP_BROWSER → select with chrome/firefox/webkit/msedge options Signed-off-by: Mohammod Al Amin Ashik <maa.ashik00@gmail.com>
1 parent 80834e1 commit d3f9cda

12 files changed

Lines changed: 34 additions & 14 deletions

schemas/server-definition.schema.json

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@
200200
"description": "Human-readable label"
201201
},
202202
"type": {
203-
"enum": ["text", "password", "number", "boolean", "url"],
203+
"enum": ["text", "number", "boolean", "url", "select", "file_path", "directory_path"],
204204
"default": "text",
205205
"description": "Input field type"
206206
},
@@ -244,6 +244,20 @@
244244
}
245245
},
246246
"description": "Instructions for obtaining this input value"
247+
},
248+
"options": {
249+
"type": "array",
250+
"items": {
251+
"type": "object",
252+
"required": ["value", "label"],
253+
"properties": {
254+
"value": { "type": "string", "description": "Option value" },
255+
"label": { "type": "string", "description": "Display label" },
256+
"description": { "type": "string", "description": "Optional description" }
257+
},
258+
"additionalProperties": false
259+
},
260+
"description": "Predefined options for select input type"
247261
}
248262
},
249263
"additionalProperties": false

servers/com.github-mcp.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"id": "GITHUB_TOKEN",
2727
"label": "GitHub Personal Access Token",
2828
"description": "Token used to authenticate with the GitHub API. Requires repo and read:org scopes.",
29-
"type": "password",
29+
"type": "text",
3030
"required": true,
3131
"secret": true,
3232
"placeholder": "ghp_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",

servers/com.grafana-mcp.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
"id": "GRAFANA_TOKEN",
4545
"label": "Grafana Service Account Token",
4646
"description": "Service account token with appropriate permissions. Create a service account with the Editor role for full read/write access.",
47-
"type": "password",
47+
"type": "text",
4848
"required": true,
4949
"secret": true,
5050
"placeholder": "glsa_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
@@ -67,7 +67,7 @@
6767
"id": "GRAFANA_PASSWORD",
6868
"label": "Grafana Password",
6969
"description": "Password for basic authentication. Used together with GRAFANA_USERNAME.",
70-
"type": "password",
70+
"type": "text",
7171
"required": false,
7272
"secret": true
7373
},

servers/com.notion-mcp.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"id": "NOTION_TOKEN",
2323
"label": "Notion Integration Token",
2424
"description": "Internal integration secret token from Notion. Share the relevant pages/databases with your integration after creating it.",
25-
"type": "password",
25+
"type": "text",
2626
"required": true,
2727
"secret": true,
2828
"placeholder": "ntn_xxxxxxxxxxxxxxxxxxxxxxxxxxxx",

servers/com.slack-mcp.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"id": "SLACK_BOT_TOKEN",
2424
"label": "Slack Bot Token",
2525
"description": "Bot user OAuth token for your Slack app. Requires scopes: channels:history, channels:read, chat:write, reactions:write, users:read, users.profile:read",
26-
"type": "password",
26+
"type": "text",
2727
"required": true,
2828
"secret": true,
2929
"placeholder": "xoxb-your-bot-token-here",

servers/com.supabase-mcp.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"id": "SUPABASE_ACCESS_TOKEN",
2323
"label": "Supabase Access Token",
2424
"description": "Personal access token for the Supabase Management API",
25-
"type": "password",
25+
"type": "text",
2626
"required": true,
2727
"secret": true,
2828
"placeholder": "sbp_...",

servers/community.brave-search.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"id": "BRAVE_API_KEY",
2323
"label": "Brave Search API Key",
2424
"description": "API key for the Brave Search API. Free tier available with 2,000 queries/month.",
25-
"type": "password",
25+
"type": "text",
2626
"required": true,
2727
"secret": true,
2828
"placeholder": "BSAxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",

servers/community.exa-search.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"id": "EXA_API_KEY",
2323
"label": "Exa API Key",
2424
"description": "API key for the Exa Search API. Free tier available with limited requests.",
25-
"type": "password",
25+
"type": "text",
2626
"required": true,
2727
"secret": true,
2828
"placeholder": "exa-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",

servers/community.figma-context.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"id": "FIGMA_API_KEY",
2323
"label": "Figma Personal Access Token",
2424
"description": "Personal access token for the Figma API. Generated from your Figma account settings.",
25-
"type": "password",
25+
"type": "text",
2626
"required": true,
2727
"secret": true,
2828
"placeholder": "figd_your_personal_access_token_here",

servers/community.filesystem.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"id": "ALLOWED_DIR",
2020
"label": "Allowed Directory",
2121
"description": "Path to the directory the server is allowed to access. The server will only read/write files within this directory.",
22-
"type": "text",
22+
"type": "directory_path",
2323
"required": true,
2424
"secret": false,
2525
"placeholder": "C:\\Users\\you\\projects or /home/you/projects"

0 commit comments

Comments
 (0)