solisk-pc-mcp

v1.0.4
io.github.Kyzenkms/solisk-pc-mcp Checked 14 hours ago Published 1 month ago

Connect 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.

ParameterTypeDescription
path *stringFile path within allowed filesystem roots
algorithmstring
timeout_msinteger

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.

ParameterTypeDescription
path *stringAbsolute or relative path to the file
encodingstringFile encoding (default: utf8)
limitintegerMax lines to return; 0 returns the whole byte window. Use next_offset to page.
max_bytesintegerMaximum bytes to return (default 2 MiB)
offsetinteger1-based first line number. Only used when limit > 0.
offset_bytesintegerZero-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.

ParameterTypeDescription
content *stringContent to write
path *stringPath to write to
encodingstringFile encoding (default: utf8)

append_file

Append content to the end of an existing file (or create it if it doesn't exist).

ParameterTypeDescription
content *stringContent to append
path *stringPath to the file

delete_file

Delete a file or an empty/non-empty directory. (Requires confirmation).

ParameterTypeDescription
path *stringPath to the file or directory to delete
confirmbooleanMust set to true to execute
recursivebooleanIf true, delete directory and all its contents

list_dir

List all files and subdirectories in a directory.

ParameterTypeDescription
path *stringPath to the directory
entry_typestring
limitinteger
offsetintegerZero-based offset in name-sorted entries
show_hiddenbooleanInclude hidden files (starting with .)

move_file

Move or rename a file or directory.

ParameterTypeDescription
destination *stringDestination path
source *stringSource path

copy_file

Copy a file to another location.

ParameterTypeDescription
destination *stringDestination file path
source *stringSource file path

file_exists

Check whether a file or directory exists at the given path.

ParameterTypeDescription
path *stringPath to check

get_file_info

Get detailed metadata about a file or directory (size, dates, permissions).

ParameterTypeDescription
path *stringPath to the file or directory

search_files

Search for files by name pattern or text content within a directory.

ParameterTypeDescription
directory *stringDirectory to search in
pattern *stringFilename pattern or text to search for
max_resultsnumberMaximum results to return (default: 50)
search_contentbooleanIf true, search inside file contents (default: false)
timeout_msnumberSearch timeout in milliseconds (default: 15000)

read_json

Read and parse a JSON file, returning the parsed object.

ParameterTypeDescription
path *stringPath to the JSON file

write_json

Write a JSON object to a file (pretty-printed).

ParameterTypeDescription
data *objectJSON data to write
path *stringPath to write the JSON file
indentnumberIndentation spaces (default: 2)

get_folder_size

Get folder size and subfolder breakdown with configurable depth limit.

ParameterTypeDescription
path *stringFolder path
max_depthnumberMax 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.

ParameterTypeDescription
path *stringPath to file
replacement_content *stringReplacement content
target_content *stringExact string to replace
allow_multiplebooleanAllow 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.

ParameterTypeDescription
directory *stringDirectory path to search
pattern *stringText or regex pattern to search for
excludestringComma-separated glob filter for files to skip (e.g. '*.min.js,*.map')
includestringComma-separated glob filter; only matching files are searched (e.g. '*.{js,ts}')
is_regexbooleanTreat pattern as regex (default: false)
max_matchesnumberMaximum matching lines to return (default: 100)
timeout_msnumberTimeout in milliseconds (default: 15000)

edit_file

Edit/patch a file by replacing target_content string with replacement_content. Alias for patch_file.

ParameterTypeDescription
path *stringPath to file
replacement_content *stringReplacement text
target_content *stringExact target text to replace
allow_multiplebooleanAllow replacing multiple occurrences

str_replace

Replace string or block in a file. Alias for patch_file.

ParameterTypeDescription
path *stringPath to file
replacement_content *stringReplacement text
target_content *stringTarget text to replace
allow_multiplebooleanAllow replacing multiple occurrences

replace_file_content

Replace exact text inside a file. Alias for patch_file.

ParameterTypeDescription
path *stringPath to file
replacement_content *stringReplacement string
target_content *stringTarget string
allow_multiplebooleanAllow replacing multiple occurrences

grep

Search text pattern inside directory files with line numbers and snippets. Alias for grep_files.

ParameterTypeDescription
directory *stringDirectory to search
pattern *stringSearch pattern
excludestringComma-separated glob filter for files to skip
includestringComma-separated glob filter, e.g. '*.{js,ts}'
is_regexbooleanTreat as regex
max_matchesnumberMax matches

http_get

Perform an HTTP GET request and return the response body, status code, and headers.

ParameterTypeDescription
url *stringThe URL to GET
headersobjectOptional HTTP headers to send
timeout_msnumberTimeout in milliseconds (default: 10000)

http_post

Perform an HTTP POST request with a JSON body and return the response.

ParameterTypeDescription
url *stringThe URL to POST to
bodyobjectJSON body to send
headersobjectOptional HTTP headers
timeout_msnumberTimeout in milliseconds (default: 10000)

encode_base64

Encode a string to Base64.

ParameterTypeDescription
text *stringThe text to encode
encodingstringSource encoding (default: utf8)

decode_base64

Decode a Base64 string back to plain text.

ParameterTypeDescription
encoded *stringThe Base64 encoded string
output_encodingstringOutput encoding (default: utf8)

generate_uuid

Generate one or more random UUIDs (v4).

ParameterTypeDescription
countnumberNumber of UUIDs to generate (default: 1)

hash_text

Compute a hash of a string (md5, sha1, sha256, sha512).

ParameterTypeDescription
text *stringText to hash
algorithmstringHash algorithm: md5, sha1, sha256, sha512 (default: sha256)

format_json

Parse and pretty-print a JSON string.

ParameterTypeDescription
json_string *stringJSON string to format
indentnumberIndentation 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.

ParameterTypeDescription
key *stringMemory key (e.g. 'user_name', 'current_project', 'todo_list')
value *stringValue to store (can be a JSON string for complex data)

memory_get

Retrieve a value from persistent memory by key.

ParameterTypeDescription
key *stringMemory key to retrieve

memory_list

List all keys currently stored in persistent memory.

memory_delete

Delete a specific key from persistent memory.

ParameterTypeDescription
key *stringKey to delete

memory_clear

Clear ALL persistent memory. Use with caution. (Requires confirmation).

ParameterTypeDescription
confirmbooleanMust set to true to clear all memory

memory_append

Append text to an existing memory value (useful for growing logs, todo lists, notes).

ParameterTypeDescription
key *stringMemory key to append to
text *stringText to append
separatorstringSeparator between old and new (default: newline)

git_status

Get the current git status of a repository (modified files, staged files, branch, etc.).

ParameterTypeDescription
repo_pathstringPath to the git repository (default: current dir)
timeout_msnumberExecution timeout in milliseconds (default: 30000)

git_clone

Clone a git repository to a local directory.

ParameterTypeDescription
url *stringRepository URL to clone
destinationstringLocal path to clone into (optional)

git_add

Stage files for commit.

ParameterTypeDescription
filesstringFiles to add (default: '.' for all)
repo_pathstringRepository path

git_commit

Commit staged changes with a message.

ParameterTypeDescription
message *stringCommit message
add_allbooleanIf true, stage all changes before committing
repo_pathstringRepository path

git_push

Push commits to the remote repository.

ParameterTypeDescription
branchstringBranch name (default: current branch)
remotestringRemote name (default: origin)
repo_pathstringRepository path

git_pull

Pull latest changes from the remote repository.

ParameterTypeDescription
remotestringRemote name (default: origin)
repo_pathstringRepository path

git_log

View recent git commit history.

ParameterTypeDescription
countnumberNumber of commits to show (default: 10)
repo_pathstringRepository path

git_diff

Show changes between working directory and last commit.

ParameterTypeDescription
filestringSpecific file to diff (optional)
repo_pathstringRepository path
stagedbooleanShow staged changes

git_branch

List branches, create a new branch, or switch to an existing branch.

ParameterTypeDescription
actionstringAction: list, create, switch, delete (default: list)
branch_namestringBranch name (required for create/switch/delete)
repo_pathstringRepository path

git_init

Initialize a new git repository in a directory.

ParameterTypeDescription
path *stringDirectory 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.

ParameterTypeDescription
command *stringShell command to run
timeout_msnumberKill after N ms (default 30000, max 300000)
working_dirstringWorking directory (must be inside allowed_paths)