solisk-pc-mcp
v1.0.4Connect AI clients to local files, shell and desktop tools, with an optional self-hosted relay.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
hash_file
Stream a file to compute its checksum without loading it into memory. Use SHA-256 to verify downloads or detect changes; MD5 is for legacy compatibility only.
| Parameter | Type | Description |
|---|---|---|
path * | string | File path within allowed filesystem roots |
algorithm | string | |
timeout_ms | integer |
read_file
Read the full contents of a file from the filesystem. Pass limit for OpenCode-style line paging: lines come back prefixed 'N: ' with a next_offset cursor.
| Parameter | Type | Description |
|---|---|---|
path * | string | Absolute or relative path to the file |
encoding | string | File encoding (default: utf8) |
limit | integer | Max lines to return; 0 returns the whole byte window. Use next_offset to page. |
max_bytes | integer | Maximum bytes to return (default 2 MiB) |
offset | integer | 1-based first line number. Only used when limit > 0. |
offset_bytes | integer | Zero-based byte offset; use next_offset_bytes to continue a truncated read. Byte boundaries may split multibyte text. |
write_file
Create or overwrite a file with the given content.
| Parameter | Type | Description |
|---|---|---|
content * | string | Content to write |
path * | string | Path to write to |
encoding | string | File encoding (default: utf8) |
append_file
Append content to the end of an existing file (or create it if it doesn't exist).
| Parameter | Type | Description |
|---|---|---|
content * | string | Content to append |
path * | string | Path to the file |
delete_file
Delete a file or an empty/non-empty directory. (Requires confirmation).
| Parameter | Type | Description |
|---|---|---|
path * | string | Path to the file or directory to delete |
confirm | boolean | Must set to true to execute |
recursive | boolean | If true, delete directory and all its contents |
list_dir
List all files and subdirectories in a directory.
| Parameter | Type | Description |
|---|---|---|
path * | string | Path to the directory |
entry_type | string | |
limit | integer | |
offset | integer | Zero-based offset in name-sorted entries |
show_hidden | boolean | Include hidden files (starting with .) |
move_file
Move or rename a file or directory.
| Parameter | Type | Description |
|---|---|---|
destination * | string | Destination path |
source * | string | Source path |
copy_file
Copy a file to another location.
| Parameter | Type | Description |
|---|---|---|
destination * | string | Destination file path |
source * | string | Source file path |
file_exists
Check whether a file or directory exists at the given path.
| Parameter | Type | Description |
|---|---|---|
path * | string | Path to check |
get_file_info
Get detailed metadata about a file or directory (size, dates, permissions).
| Parameter | Type | Description |
|---|---|---|
path * | string | Path to the file or directory |
search_files
Search for files by name pattern or text content within a directory.
| Parameter | Type | Description |
|---|---|---|
directory * | string | Directory to search in |
pattern * | string | Filename pattern or text to search for |
max_results | number | Maximum results to return (default: 50) |
search_content | boolean | If true, search inside file contents (default: false) |
timeout_ms | number | Search timeout in milliseconds (default: 15000) |
read_json
Read and parse a JSON file, returning the parsed object.
| Parameter | Type | Description |
|---|---|---|
path * | string | Path to the JSON file |
write_json
Write a JSON object to a file (pretty-printed).
| Parameter | Type | Description |
|---|---|---|
data * | object | JSON data to write |
path * | string | Path to write the JSON file |
indent | number | Indentation spaces (default: 2) |
get_folder_size
Get folder size and subfolder breakdown with configurable depth limit.
| Parameter | Type | Description |
|---|---|---|
path * | string | Folder path |
max_depth | number | Max recursion depth (default: 1) |
patch_file
Replace exact target text with replacement text inside a file. Errors if target string is not found or matches multiple times unless allow_multiple is true.
| Parameter | Type | Description |
|---|---|---|
path * | string | Path to file |
replacement_content * | string | Replacement content |
target_content * | string | Exact string to replace |
allow_multiple | boolean | Allow replacing multiple occurrences (default: false) |
grep_files
Line-aware content search returning matching file paths, line numbers, and matching line text snippets. Use include/exclude globs (e.g. '*.{js,ts}') to narrow the search like OpenCode's grep.
| Parameter | Type | Description |
|---|---|---|
directory * | string | Directory path to search |
pattern * | string | Text or regex pattern to search for |
exclude | string | Comma-separated glob filter for files to skip (e.g. '*.min.js,*.map') |
include | string | Comma-separated glob filter; only matching files are searched (e.g. '*.{js,ts}') |
is_regex | boolean | Treat pattern as regex (default: false) |
max_matches | number | Maximum matching lines to return (default: 100) |
timeout_ms | number | Timeout in milliseconds (default: 15000) |
edit_file
Edit/patch a file by replacing target_content string with replacement_content. Alias for patch_file.
| Parameter | Type | Description |
|---|---|---|
path * | string | Path to file |
replacement_content * | string | Replacement text |
target_content * | string | Exact target text to replace |
allow_multiple | boolean | Allow replacing multiple occurrences |
str_replace
Replace string or block in a file. Alias for patch_file.
| Parameter | Type | Description |
|---|---|---|
path * | string | Path to file |
replacement_content * | string | Replacement text |
target_content * | string | Target text to replace |
allow_multiple | boolean | Allow replacing multiple occurrences |
replace_file_content
Replace exact text inside a file. Alias for patch_file.
| Parameter | Type | Description |
|---|---|---|
path * | string | Path to file |
replacement_content * | string | Replacement string |
target_content * | string | Target string |
allow_multiple | boolean | Allow replacing multiple occurrences |
grep
Search text pattern inside directory files with line numbers and snippets. Alias for grep_files.
| Parameter | Type | Description |
|---|---|---|
directory * | string | Directory to search |
pattern * | string | Search pattern |
exclude | string | Comma-separated glob filter for files to skip |
include | string | Comma-separated glob filter, e.g. '*.{js,ts}' |
is_regex | boolean | Treat as regex |
max_matches | number | Max matches |
http_get
Perform an HTTP GET request and return the response body, status code, and headers.
| Parameter | Type | Description |
|---|---|---|
url * | string | The URL to GET |
headers | object | Optional HTTP headers to send |
timeout_ms | number | Timeout in milliseconds (default: 10000) |
http_post
Perform an HTTP POST request with a JSON body and return the response.
| Parameter | Type | Description |
|---|---|---|
url * | string | The URL to POST to |
body | object | JSON body to send |
headers | object | Optional HTTP headers |
timeout_ms | number | Timeout in milliseconds (default: 10000) |
web_search
Search the web using DuckDuckGo and return a list of results with titles, URLs, and snippets. No API key needed.
| Parameter | Type | Description |
|---|---|---|
query * | string | The search query |
max_results | number | Maximum results to return (default: 10) |
timeout_ms | number | Request timeout in milliseconds (default: 10000) |
encode_base64
Encode a string to Base64.
| Parameter | Type | Description |
|---|---|---|
text * | string | The text to encode |
encoding | string | Source encoding (default: utf8) |
decode_base64
Decode a Base64 string back to plain text.
| Parameter | Type | Description |
|---|---|---|
encoded * | string | The Base64 encoded string |
output_encoding | string | Output encoding (default: utf8) |
generate_uuid
Generate one or more random UUIDs (v4).
| Parameter | Type | Description |
|---|---|---|
count | number | Number of UUIDs to generate (default: 1) |
hash_text
Compute a hash of a string (md5, sha1, sha256, sha512).
| Parameter | Type | Description |
|---|---|---|
text * | string | Text to hash |
algorithm | string | Hash algorithm: md5, sha1, sha256, sha512 (default: sha256) |
format_json
Parse and pretty-print a JSON string.
| Parameter | Type | Description |
|---|---|---|
json_string * | string | JSON string to format |
indent | number | Indentation spaces (default: 2) |
timestamp_now
Get the current date and time in multiple formats.
memory_set
Store a key-value pair in persistent memory. The AI can use this to remember things across conversations — goals, preferences, context, notes, etc. Data persists between sessions.
| Parameter | Type | Description |
|---|---|---|
key * | string | Memory key (e.g. 'user_name', 'current_project', 'todo_list') |
value * | string | Value to store (can be a JSON string for complex data) |
memory_get
Retrieve a value from persistent memory by key.
| Parameter | Type | Description |
|---|---|---|
key * | string | Memory key to retrieve |
memory_list
List all keys currently stored in persistent memory.
memory_delete
Delete a specific key from persistent memory.
| Parameter | Type | Description |
|---|---|---|
key * | string | Key to delete |
memory_clear
Clear ALL persistent memory. Use with caution. (Requires confirmation).
| Parameter | Type | Description |
|---|---|---|
confirm | boolean | Must set to true to clear all memory |
memory_append
Append text to an existing memory value (useful for growing logs, todo lists, notes).
| Parameter | Type | Description |
|---|---|---|
key * | string | Memory key to append to |
text * | string | Text to append |
separator | string | Separator between old and new (default: newline) |
git_status
Get the current git status of a repository (modified files, staged files, branch, etc.).
| Parameter | Type | Description |
|---|---|---|
repo_path | string | Path to the git repository (default: current dir) |
timeout_ms | number | Execution timeout in milliseconds (default: 30000) |
git_clone
Clone a git repository to a local directory.
| Parameter | Type | Description |
|---|---|---|
url * | string | Repository URL to clone |
destination | string | Local path to clone into (optional) |
git_add
Stage files for commit.
| Parameter | Type | Description |
|---|---|---|
files | string | Files to add (default: '.' for all) |
repo_path | string | Repository path |
git_commit
Commit staged changes with a message.
| Parameter | Type | Description |
|---|---|---|
message * | string | Commit message |
add_all | boolean | If true, stage all changes before committing |
repo_path | string | Repository path |
git_push
Push commits to the remote repository.
| Parameter | Type | Description |
|---|---|---|
branch | string | Branch name (default: current branch) |
remote | string | Remote name (default: origin) |
repo_path | string | Repository path |
git_pull
Pull latest changes from the remote repository.
| Parameter | Type | Description |
|---|---|---|
remote | string | Remote name (default: origin) |
repo_path | string | Repository path |
git_log
View recent git commit history.
| Parameter | Type | Description |
|---|---|---|
count | number | Number of commits to show (default: 10) |
repo_path | string | Repository path |
git_diff
Show changes between working directory and last commit.
| Parameter | Type | Description |
|---|---|---|
file | string | Specific file to diff (optional) |
repo_path | string | Repository path |
staged | boolean | Show staged changes |
git_branch
List branches, create a new branch, or switch to an existing branch.
| Parameter | Type | Description |
|---|---|---|
action | string | Action: list, create, switch, delete (default: list) |
branch_name | string | Branch name (required for create/switch/delete) |
repo_path | string | Repository path |
git_init
Initialize a new git repository in a directory.
| Parameter | Type | Description |
|---|---|---|
path * | string | Directory to initialize as a git repo |
shell_exec
Execute a POSIX shell command on the headless host. Read-only commands run freely; anything else requires approval_mode=turbo. Output capped at 2MB.
| Parameter | Type | Description |
|---|---|---|
command * | string | Shell command to run |
timeout_ms | number | Kill after N ms (default 30000, max 300000) |
working_dir | string | Working directory (must be inside allowed_paths) |