sync: auto-sync from GURU-BEAST-ROG at 2026-06-10 10:09:59
Author: Mike Swanson Machine: GURU-BEAST-ROG Timestamp: 2026-06-10 10:09:59
This commit is contained in:
committed by
ClaudeTools Bot
parent
b75fb56574
commit
7729874549
16
mcps/filesystem/tools/create_directory.json
Normal file
16
mcps/filesystem/tools/create_directory.json
Normal file
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"name": "create_directory",
|
||||
"description": "Create a new directory or ensure a directory exists. Can create multiple nested directories in one operation. If the directory already exists, this operation will succeed silently. Perfect for setting up directory structures for projects or ensuring required paths exist. Only works within allowed directories.",
|
||||
"inputSchema": {
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"path": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"path"
|
||||
]
|
||||
}
|
||||
}
|
||||
23
mcps/filesystem/tools/directory_tree.json
Normal file
23
mcps/filesystem/tools/directory_tree.json
Normal file
@@ -0,0 +1,23 @@
|
||||
{
|
||||
"name": "directory_tree",
|
||||
"description": "Get a recursive tree view of files and directories as a JSON structure. Each entry includes 'name', 'type' (file/directory), and 'children' for directories. Files have no children array, while directories always have a children array (which may be empty). The output is formatted with 2-space indentation for readability. Only works within allowed directories.",
|
||||
"inputSchema": {
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"path": {
|
||||
"type": "string"
|
||||
},
|
||||
"excludePatterns": {
|
||||
"default": [],
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"path"
|
||||
]
|
||||
}
|
||||
}
|
||||
42
mcps/filesystem/tools/edit_file.json
Normal file
42
mcps/filesystem/tools/edit_file.json
Normal file
@@ -0,0 +1,42 @@
|
||||
{
|
||||
"name": "edit_file",
|
||||
"description": "Make line-based edits to a text file. Each edit replaces exact line sequences with new content. Returns a git-style diff showing the changes made. Only works within allowed directories.",
|
||||
"inputSchema": {
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"path": {
|
||||
"type": "string"
|
||||
},
|
||||
"edits": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"oldText": {
|
||||
"type": "string",
|
||||
"description": "Text to search for - must match exactly"
|
||||
},
|
||||
"newText": {
|
||||
"type": "string",
|
||||
"description": "Text to replace with"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"oldText",
|
||||
"newText"
|
||||
]
|
||||
}
|
||||
},
|
||||
"dryRun": {
|
||||
"default": false,
|
||||
"description": "Preview changes using git-style diff format",
|
||||
"type": "boolean"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"path",
|
||||
"edits"
|
||||
]
|
||||
}
|
||||
}
|
||||
16
mcps/filesystem/tools/get_file_info.json
Normal file
16
mcps/filesystem/tools/get_file_info.json
Normal file
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"name": "get_file_info",
|
||||
"description": "Retrieve detailed metadata about a file or directory. Returns comprehensive information including size, creation time, last modified time, permissions, and type. This tool is perfect for understanding file characteristics without reading the actual content. Only works within allowed directories.",
|
||||
"inputSchema": {
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"path": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"path"
|
||||
]
|
||||
}
|
||||
}
|
||||
9
mcps/filesystem/tools/list_allowed_directories.json
Normal file
9
mcps/filesystem/tools/list_allowed_directories.json
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"name": "list_allowed_directories",
|
||||
"description": "Returns the list of directories that this server is allowed to access. Subdirectories within these allowed directories are also accessible. Use this to understand which directories and their nested paths are available before trying to access files.",
|
||||
"inputSchema": {
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"type": "object",
|
||||
"properties": {}
|
||||
}
|
||||
}
|
||||
16
mcps/filesystem/tools/list_directory.json
Normal file
16
mcps/filesystem/tools/list_directory.json
Normal file
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"name": "list_directory",
|
||||
"description": "Get a detailed listing of all files and directories in a specified path. Results clearly distinguish between files and directories with [FILE] and [DIR] prefixes. This tool is essential for understanding directory structure and finding specific files within a directory. Only works within allowed directories.",
|
||||
"inputSchema": {
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"path": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"path"
|
||||
]
|
||||
}
|
||||
}
|
||||
25
mcps/filesystem/tools/list_directory_with_sizes.json
Normal file
25
mcps/filesystem/tools/list_directory_with_sizes.json
Normal file
@@ -0,0 +1,25 @@
|
||||
{
|
||||
"name": "list_directory_with_sizes",
|
||||
"description": "Get a detailed listing of all files and directories in a specified path, including sizes. Results clearly distinguish between files and directories with [FILE] and [DIR] prefixes. This tool is useful for understanding directory structure and finding specific files within a directory. Only works within allowed directories.",
|
||||
"inputSchema": {
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"path": {
|
||||
"type": "string"
|
||||
},
|
||||
"sortBy": {
|
||||
"default": "name",
|
||||
"description": "Sort entries by name or size",
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"name",
|
||||
"size"
|
||||
]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"path"
|
||||
]
|
||||
}
|
||||
}
|
||||
20
mcps/filesystem/tools/move_file.json
Normal file
20
mcps/filesystem/tools/move_file.json
Normal file
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"name": "move_file",
|
||||
"description": "Move or rename files and directories. Can move files between directories and rename them in a single operation. If the destination exists, the operation will fail. Works across different directories and can be used for simple renaming within the same directory. Both source and destination must be within allowed directories.",
|
||||
"inputSchema": {
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"source": {
|
||||
"type": "string"
|
||||
},
|
||||
"destination": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"source",
|
||||
"destination"
|
||||
]
|
||||
}
|
||||
}
|
||||
24
mcps/filesystem/tools/read_file.json
Normal file
24
mcps/filesystem/tools/read_file.json
Normal file
@@ -0,0 +1,24 @@
|
||||
{
|
||||
"name": "read_file",
|
||||
"description": "Read the complete contents of a file as text. DEPRECATED: Use read_text_file instead.",
|
||||
"inputSchema": {
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"path": {
|
||||
"type": "string"
|
||||
},
|
||||
"tail": {
|
||||
"description": "If provided, returns only the last N lines of the file",
|
||||
"type": "number"
|
||||
},
|
||||
"head": {
|
||||
"description": "If provided, returns only the first N lines of the file",
|
||||
"type": "number"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"path"
|
||||
]
|
||||
}
|
||||
}
|
||||
16
mcps/filesystem/tools/read_media_file.json
Normal file
16
mcps/filesystem/tools/read_media_file.json
Normal file
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"name": "read_media_file",
|
||||
"description": "Read an image or audio file. Returns the base64 encoded data and MIME type. Only works within allowed directories.",
|
||||
"inputSchema": {
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"path": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"path"
|
||||
]
|
||||
}
|
||||
}
|
||||
21
mcps/filesystem/tools/read_multiple_files.json
Normal file
21
mcps/filesystem/tools/read_multiple_files.json
Normal file
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"name": "read_multiple_files",
|
||||
"description": "Read the contents of multiple files simultaneously. This is more efficient than reading files one by one when you need to analyze or compare multiple files. Each file's content is returned with its path as a reference. Failed reads for individual files won't stop the entire operation. Only works within allowed directories.",
|
||||
"inputSchema": {
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"paths": {
|
||||
"minItems": 1,
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"description": "Array of file paths to read. Each path must be a string pointing to a valid file within allowed directories."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"paths"
|
||||
]
|
||||
}
|
||||
}
|
||||
24
mcps/filesystem/tools/read_text_file.json
Normal file
24
mcps/filesystem/tools/read_text_file.json
Normal file
@@ -0,0 +1,24 @@
|
||||
{
|
||||
"name": "read_text_file",
|
||||
"description": "Read the complete contents of a file from the file system as text. Handles various text encodings and provides detailed error messages if the file cannot be read. Use this tool when you need to examine the contents of a single file. Use the 'head' parameter to read only the first N lines of a file, or the 'tail' parameter to read only the last N lines of a file. Operates on the file as text regardless of extension. Only works within allowed directories.",
|
||||
"inputSchema": {
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"path": {
|
||||
"type": "string"
|
||||
},
|
||||
"tail": {
|
||||
"description": "If provided, returns only the last N lines of the file",
|
||||
"type": "number"
|
||||
},
|
||||
"head": {
|
||||
"description": "If provided, returns only the first N lines of the file",
|
||||
"type": "number"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"path"
|
||||
]
|
||||
}
|
||||
}
|
||||
27
mcps/filesystem/tools/search_files.json
Normal file
27
mcps/filesystem/tools/search_files.json
Normal file
@@ -0,0 +1,27 @@
|
||||
{
|
||||
"name": "search_files",
|
||||
"description": "Recursively search for files and directories matching a pattern. The patterns should be glob-style patterns that match paths relative to the working directory. Use pattern like '*.ext' to match files in current directory, and '**/*.ext' to match files in all subdirectories. Returns full paths to all matching items. Great for finding files when you don't know their exact location. Only searches within allowed directories.",
|
||||
"inputSchema": {
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"path": {
|
||||
"type": "string"
|
||||
},
|
||||
"pattern": {
|
||||
"type": "string"
|
||||
},
|
||||
"excludePatterns": {
|
||||
"default": [],
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"path",
|
||||
"pattern"
|
||||
]
|
||||
}
|
||||
}
|
||||
20
mcps/filesystem/tools/write_file.json
Normal file
20
mcps/filesystem/tools/write_file.json
Normal file
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"name": "write_file",
|
||||
"description": "Create a new file or completely overwrite an existing file with new content. Use with caution as it will overwrite existing files without warning. Handles text content with proper encoding. Only works within allowed directories.",
|
||||
"inputSchema": {
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"path": {
|
||||
"type": "string"
|
||||
},
|
||||
"content": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"path",
|
||||
"content"
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user