You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: prompts/mcp/readmes/dappier.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# Dappier MCP Server
2
2
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.
4
4
5
5
[What is an MCP Server?](https://www.anthropic.com/news/model-context-protocol)
Copy file name to clipboardExpand all lines: prompts/mcp/readmes/desktop-commander.md
+43-19Lines changed: 43 additions & 19 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,7 +24,8 @@ Tools provided by this Server|Short Description
24
24
`execute_command`|Execute a terminal command with timeout.|
25
25
`force_terminate`|Force terminate a running terminal session.|
26
26
`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.|
28
29
`kill_process`|Terminate a running process by PID.|
29
30
`list_directory`|Get a detailed listing of all files and directories in a specified path.|
30
31
`list_processes`|List all running processes.|
@@ -42,27 +43,36 @@ Tools provided by this Server|Short Description
42
43
## Tools Details
43
44
44
45
#### 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.
46
47
Parameters|Type|Description
47
48
-|-|-
48
49
`path`|`string`|
49
50
50
51
---
51
52
#### 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.
59
63
Parameters|Type|Description
60
64
-|-|-
61
-
`blockContent`|`string`|
65
+
`file_path`|`string`|
66
+
`new_string`|`string`|
67
+
`old_string`|`string`|
68
+
`expected_replacements`|`number`*optional*|
62
69
63
70
---
64
71
#### 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.
66
76
Parameters|Type|Description
67
77
-|-|-
68
78
`command`|`string`|
@@ -80,7 +90,9 @@ Parameters|Type|Description
80
90
#### Tool: **`get_config`**
81
91
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).
82
92
#### 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.
84
96
Parameters|Type|Description
85
97
-|-|-
86
98
`path`|`string`|
@@ -94,7 +106,7 @@ Parameters|Type|Description
94
106
95
107
---
96
108
#### 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.
98
110
Parameters|Type|Description
99
111
-|-|-
100
112
`path`|`string`|
@@ -105,23 +117,25 @@ List all running processes. Returns process information including PID, command n
105
117
#### Tool: **`list_sessions`**
106
118
List all active terminal sessions.
107
119
#### 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.
109
123
Parameters|Type|Description
110
124
-|-|-
111
125
`destination`|`string`|
112
126
`source`|`string`|
113
127
114
128
---
115
129
#### 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.
117
131
Parameters|Type|Description
118
132
-|-|-
119
133
`path`|`string`|
120
134
`isUrl`|`boolean`*optional*|
121
135
122
136
---
123
137
#### 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.
125
139
Parameters|Type|Description
126
140
-|-|-
127
141
`paths`|`array`|
@@ -135,7 +149,13 @@ Parameters|Type|Description
135
149
136
150
---
137
151
#### 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.
139
159
Parameters|Type|Description
140
160
-|-|-
141
161
`path`|`string`|
@@ -149,7 +169,11 @@ Parameters|Type|Description
149
169
150
170
---
151
171
#### 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.
153
177
Parameters|Type|Description
154
178
-|-|-
155
179
`path`|`string`|
@@ -166,7 +190,7 @@ Parameters|Type|Description
166
190
167
191
---
168
192
#### 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.
0 commit comments