Skip to content

Commit 4c71a7f

Browse files
authored
Merge pull request #262 from dgageot/not-secrets
Move a handful of not so secret secrets to env variables
2 parents 16b10fe + 32e1fe5 commit 4c71a7f

File tree

12 files changed

+258
-115
lines changed

12 files changed

+258
-115
lines changed

prompts/catalog.yaml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -698,11 +698,18 @@ registry:
698698
tools:
699699
- name: retrieve_from_aws_kb
700700
secrets:
701-
- name: aws.access_key_id
702701
- name: aws.secret_access_key
703-
- name: aws.region
704702
prompts: 0
705703
resources: {}
704+
config:
705+
- name: aws-kb-retrieval-server
706+
description: Configure the connection to AWS
707+
type: object
708+
properties:
709+
access_key_id:
710+
type: string
711+
region:
712+
type: string
706713
everart:
707714
description: Image generation server using EverArt's API.
708715
title: EverArt (Reference)
@@ -1114,7 +1121,6 @@ registry:
11141121
- name: box_upload_file_tool
11151122
- name: box_who_am_i
11161123
secrets:
1117-
- name: box.client_id
11181124
- name: box.client_secret
11191125
prompts: 0
11201126
resources: {}
@@ -1733,7 +1739,6 @@ registry:
17331739
- name: get-task-by-id
17341740
- name: get-tasks
17351741
secrets:
1736-
- name: redis-cloud.api_key
17371742
- name: redis-cloud.secret_key
17381743
prompts: 0
17391744
resources: {}
@@ -2067,7 +2072,6 @@ registry:
20672072
- name: translate
20682073
- name: update_memory
20692074
secrets:
2070-
- name: lara.key_id
20712075
- name: lara.key_secret
20722076
prompts: 0
20732077
resources: {}

prompts/mcp/aws-kb-retrieval-server.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,10 @@ mcp:
44
image: mcp/aws-kb-retrieval-server:latest
55
workdir: /app
66
secrets:
7-
aws.access_key_id: AWS_ACCESS_KEY_ID
87
aws.secret_access_key: AWS_SECRET_ACCESS_KEY
9-
aws.region: AWS_REGION
8+
environment:
9+
AWS_ACCESS_KEY_ID: "{{aws.access_key_id}}"
10+
AWS_REGION: "{{aws.region}}"
1011
source:
1112
url: https://github.com/modelcontextprotocol/servers/tree/2025.4.6
1213
---

prompts/mcp/box.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,9 @@ mcp:
44
image: mcp/box:latest
55
workdir: /app
66
secrets:
7-
box.client_id: BOX_CLIENT_ID
87
box.client_secret: BOX_CLIENT_SECRET
8+
environment:
9+
BOX_CLIENT_ID: "{{box.client_id}}"
910
source:
1011
url: https://github.com/box-community/mcp-server-box/tree/refs/pull/4/merge
1112
---

prompts/mcp/lara.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,9 @@ mcp:
44
image: mcp/lara:latest
55
workdir: /app
66
secrets:
7-
lara.key_id: LARA_ACCESS_KEY_ID
87
lara.key_secret: LARA_ACCESS_KEY_SECRET
8+
environment:
9+
LARA_ACCESS_KEY_ID: "{{lara.key_id}}"
910
source:
1011
url: https://github.com/translated/lara-mcp/tree/main
1112
---

prompts/mcp/readmes/aws-kb-retrieval-server.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,15 +47,15 @@ Parameters|Type|Description
4747
"-e",
4848
"AWS_ACCESS_KEY_ID",
4949
"-e",
50-
"AWS_SECRET_ACCESS_KEY",
51-
"-e",
5250
"AWS_REGION",
51+
"-e",
52+
"AWS_SECRET_ACCESS_KEY",
5353
"mcp/aws-kb-retrieval-server"
5454
],
5555
"env": {
5656
"AWS_ACCESS_KEY_ID": "YOUR_ACCESS_KEY_HERE",
57-
"AWS_SECRET_ACCESS_KEY": "YOUR_SECRET_ACCESS_KEY_HERE",
58-
"AWS_REGION": "YOUR_AWS_REGION_HERE"
57+
"AWS_REGION": "YOUR_AWS_REGION_HERE",
58+
"AWS_SECRET_ACCESS_KEY": "YOUR_SECRET_ACCESS_KEY_HERE"
5959
}
6060
}
6161
}

prompts/mcp/readmes/dappier.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Dappier MCP Server
22

3-
Dappier MCP server connects any AI to proprietary, real-time data — including web search, news, sports, stock market data, and premium publisher content.
3+
Enable fast, free real-time web search and access premium data from trusted media brands—news, financial markets, sports, entertainment, weather, and more. Build powerful AI agents with Dappier.
44

55
[What is an MCP Server?](https://www.anthropic.com/news/model-context-protocol)
66

prompts/mcp/readmes/desktop-commander.md

Lines changed: 43 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ Tools provided by this Server|Short Description
2424
`execute_command`|Execute a terminal command with timeout.|
2525
`force_terminate`|Force terminate a running terminal session.|
2626
`get_config`|Get the complete server configuration as JSON.|
27-
`get_file_info`|Retrieve detailed metadata about a file or directory including size, creation time, last modified time, permissions, and type.|
27+
`get_file_info`|Retrieve detailed metadata about a file or directory including size, creation time, last modified time,
28+
permissions, and type.|
2829
`kill_process`|Terminate a running process by PID.|
2930
`list_directory`|Get a detailed listing of all files and directories in a specified path.|
3031
`list_processes`|List all running processes.|
@@ -42,27 +43,36 @@ Tools provided by this Server|Short Description
4243
## Tools Details
4344

4445
#### Tool: **`create_directory`**
45-
Create a new directory or ensure a directory exists. Can create multiple nested directories in one operation. Only works within allowed directories.
46+
Create a new directory or ensure a directory exists. Can create multiple nested directories in one operation. Only works within allowed directories. IMPORTANT: Always use absolute paths (starting with '/' or drive letter like 'C:\') for reliability. Relative paths may fail as they depend on the current working directory. Tilde paths (~/...) might not work in all contexts. Unless the user explicitly asks for relative paths, use absolute paths.
4647
Parameters|Type|Description
4748
-|-|-
4849
`path`|`string`|
4950

5051
---
5152
#### Tool: **`edit_block`**
52-
Apply surgical text replacements to files. Best for small changes (<20% of file size). Call repeatedly to change multiple blocks. Will verify changes after application. Format:
53-
filepath
54-
<<<<<<< SEARCH
55-
content to find
56-
=======
57-
new content
58-
>>>>>>> REPLACE
53+
Apply surgical text replacements to files.
54+
BEST PRACTICE: Make multiple small, focused edits rather than one large edit.
55+
Each edit_block call should change only what needs to be changed - include just enough context to uniquely identify the text being modified.
56+
Takes file_path, old_string (text to replace), new_string (replacement text), and optional expected_replacements parameter.
57+
By default, replaces only ONE occurrence of the search text.
58+
To replace multiple occurrences, provide the expected_replacements parameter with the exact number of matches expected.
59+
UNIQUENESS REQUIREMENT: When expected_replacements=1 (default), include the minimal amount of context necessary (typically 1-3 lines) before and after the change point, with exact whitespace and indentation.
60+
When editing multiple sections, make separate edit_block calls for each distinct change rather than one large replacement.
61+
When a close but non-exact match is found, a character-level diff is shown in the format: common_prefix{-removed-}{+added+}common_suffix to help you identify what's different.
62+
IMPORTANT: Always use absolute paths (starting with '/' or drive letter like 'C:\') for reliability. Relative paths may fail as they depend on the current working directory. Tilde paths (~/...) might not work in all contexts. Unless the user explicitly asks for relative paths, use absolute paths.
5963
Parameters|Type|Description
6064
-|-|-
61-
`blockContent`|`string`|
65+
`file_path`|`string`|
66+
`new_string`|`string`|
67+
`old_string`|`string`|
68+
`expected_replacements`|`number` *optional*|
6269

6370
---
6471
#### Tool: **`execute_command`**
65-
Execute a terminal command with timeout. Command will continue running in background if it doesn't complete within timeout.
72+
Execute a terminal command with timeout.
73+
Command will continue running in background if it doesn't complete within timeout.
74+
NOTE: For file operations, prefer specialized tools like read_file, search_code, list_directory instead of cat, grep, or ls commands.
75+
IMPORTANT: Always use absolute paths (starting with '/' or drive letter like 'C:\') for reliability. Relative paths may fail as they depend on the current working directory. Tilde paths (~/...) might not work in all contexts. Unless the user explicitly asks for relative paths, use absolute paths.
6676
Parameters|Type|Description
6777
-|-|-
6878
`command`|`string`|
@@ -80,7 +90,9 @@ Parameters|Type|Description
8090
#### Tool: **`get_config`**
8191
Get the complete server configuration as JSON. Config includes fields for: blockedCommands (array of blocked shell commands), defaultShell (shell to use for commands), allowedDirectories (paths the server can access).
8292
#### Tool: **`get_file_info`**
83-
Retrieve detailed metadata about a file or directory including size, creation time, last modified time, permissions, and type. Only works within allowed directories.
93+
Retrieve detailed metadata about a file or directory including size, creation time, last modified time,
94+
permissions, and type.
95+
Only works within allowed directories. IMPORTANT: Always use absolute paths (starting with '/' or drive letter like 'C:\') for reliability. Relative paths may fail as they depend on the current working directory. Tilde paths (~/...) might not work in all contexts. Unless the user explicitly asks for relative paths, use absolute paths.
8496
Parameters|Type|Description
8597
-|-|-
8698
`path`|`string`|
@@ -94,7 +106,7 @@ Parameters|Type|Description
94106

95107
---
96108
#### Tool: **`list_directory`**
97-
Get a detailed listing of all files and directories in a specified path. Results distinguish between files and directories with [FILE] and [DIR] prefixes. Only works within allowed directories.
109+
Get a detailed listing of all files and directories in a specified path. Use this instead of 'execute_command' with ls/dir commands. Results distinguish between files and directories with [FILE] and [DIR] prefixes. Only works within allowed directories. IMPORTANT: Always use absolute paths (starting with '/' or drive letter like 'C:\') for reliability. Relative paths may fail as they depend on the current working directory. Tilde paths (~/...) might not work in all contexts. Unless the user explicitly asks for relative paths, use absolute paths.
98110
Parameters|Type|Description
99111
-|-|-
100112
`path`|`string`|
@@ -105,23 +117,25 @@ List all running processes. Returns process information including PID, command n
105117
#### Tool: **`list_sessions`**
106118
List all active terminal sessions.
107119
#### Tool: **`move_file`**
108-
Move or rename files and directories. Can move files between directories and rename them in a single operation. Both source and destination must be within allowed directories.
120+
Move or rename files and directories.
121+
Can move files between directories and rename them in a single operation.
122+
Both source and destination must be within allowed directories. IMPORTANT: Always use absolute paths (starting with '/' or drive letter like 'C:\') for reliability. Relative paths may fail as they depend on the current working directory. Tilde paths (~/...) might not work in all contexts. Unless the user explicitly asks for relative paths, use absolute paths.
109123
Parameters|Type|Description
110124
-|-|-
111125
`destination`|`string`|
112126
`source`|`string`|
113127

114128
---
115129
#### Tool: **`read_file`**
116-
Read the complete contents of a file from the file system or a URL. When reading from the file system, only works within allowed directories. Can fetch content from URLs when isUrl parameter is set to true. Handles text files normally and image files are returned as viewable images. Recognized image types: PNG, JPEG, GIF, WebP.
130+
Read the complete contents of a file from the file system or a URL. Prefer this over 'execute_command' with cat/type for viewing files. When reading from the file system, only works within allowed directories. Can fetch content from URLs when isUrl parameter is set to true. Handles text files normally and image files are returned as viewable images. Recognized image types: PNG, JPEG, GIF, WebP. IMPORTANT: Always use absolute paths (starting with '/' or drive letter like 'C:\') for reliability. Relative paths may fail as they depend on the current working directory. Tilde paths (~/...) might not work in all contexts. Unless the user explicitly asks for relative paths, use absolute paths.
117131
Parameters|Type|Description
118132
-|-|-
119133
`path`|`string`|
120134
`isUrl`|`boolean` *optional*|
121135

122136
---
123137
#### Tool: **`read_multiple_files`**
124-
Read the contents of multiple files simultaneously. Each file's content is returned with its path as a reference. Handles text files normally and renders images as viewable content. Recognized image types: PNG, JPEG, GIF, WebP. Failed reads for individual files won't stop the entire operation. Only works within allowed directories.
138+
Read the contents of multiple files simultaneously. Each file's content is returned with its path as a reference. Handles text files normally and renders images as viewable content. Recognized image types: PNG, JPEG, GIF, WebP. Failed reads for individual files won't stop the entire operation. Only works within allowed directories. IMPORTANT: Always use absolute paths (starting with '/' or drive letter like 'C:\') for reliability. Relative paths may fail as they depend on the current working directory. Tilde paths (~/...) might not work in all contexts. Unless the user explicitly asks for relative paths, use absolute paths.
125139
Parameters|Type|Description
126140
-|-|-
127141
`paths`|`array`|
@@ -135,7 +149,13 @@ Parameters|Type|Description
135149

136150
---
137151
#### Tool: **`search_code`**
138-
Search for text/code patterns within file contents using ripgrep. Fast and powerful search similar to VS Code search functionality. Supports regular expressions, file pattern filtering, and context lines. Has a default timeout of 30 seconds which can be customized. Only searches within allowed directories.
152+
Search for text/code patterns within file contents using ripgrep.
153+
Use this instead of 'execute_command' with grep/find for searching code content.
154+
Fast and powerful search similar to VS Code search functionality.
155+
Supports regular expressions, file pattern filtering, and context lines.
156+
Has a default timeout of 30 seconds which can be customized.
157+
Only searches within allowed directories.
158+
IMPORTANT: Always use absolute paths (starting with '/' or drive letter like 'C:\') for reliability. Relative paths may fail as they depend on the current working directory. Tilde paths (~/...) might not work in all contexts. Unless the user explicitly asks for relative paths, use absolute paths.
139159
Parameters|Type|Description
140160
-|-|-
141161
`path`|`string`|
@@ -149,7 +169,11 @@ Parameters|Type|Description
149169

150170
---
151171
#### Tool: **`search_files`**
152-
Finds files by name using a case-insensitive substring matching. Searches through all subdirectories from the starting path. Has a default timeout of 30 seconds which can be customized using the timeoutMs parameter. Only searches within allowed directories.
172+
Finds files by name using a case-insensitive substring matching.
173+
Use this instead of 'execute_command' with find/dir/ls for locating files.
174+
Searches through all subdirectories from the starting path.
175+
Has a default timeout of 30 seconds which can be customized using the timeoutMs parameter.
176+
Only searches within allowed directories. IMPORTANT: Always use absolute paths (starting with '/' or drive letter like 'C:\') for reliability. Relative paths may fail as they depend on the current working directory. Tilde paths (~/...) might not work in all contexts. Unless the user explicitly asks for relative paths, use absolute paths.
153177
Parameters|Type|Description
154178
-|-|-
155179
`path`|`string`|
@@ -166,7 +190,7 @@ Parameters|Type|Description
166190

167191
---
168192
#### Tool: **`write_file`**
169-
Completely replace file contents. Best for large changes (>20% of file) or when edit_block fails. Use with caution as it will overwrite existing files. Only works within allowed directories.
193+
Completely replace file contents. Best for large changes (>20% of file) or when edit_block fails. Use with caution as it will overwrite existing files. Only works within allowed directories. IMPORTANT: Always use absolute paths (starting with '/' or drive letter like 'C:\') for reliability. Relative paths may fail as they depend on the current working directory. Tilde paths (~/...) might not work in all contexts. Unless the user explicitly asks for relative paths, use absolute paths.
170194
Parameters|Type|Description
171195
-|-|-
172196
`content`|`string`|

prompts/mcp/readmes/doit.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# DOiT MCP Server
1+
# DoiT MCP Server
22

33
DoiT official MCP Server.
44

0 commit comments

Comments
 (0)