Upload a file from this computer
upload_local_fileUploads a local file to a folder on a hosted Minecraft server, replacing any existing file with the same name.
Instructions
Uploads a file from the computer running this MCP server (for example a plugin jar you built) into a folder on the server. A file with the same name is replaced.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"local_path": "<local_path>"
},
"name": "upload_local_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| server | No | Server identifier or UUID. Omit to use the configured server (PEBBLEHOST_SERVER_ID); other servers are refused unless PEBBLEHOST_ALLOW_ALL_SERVERS is set. | |
| directory | No | Destination folder, relative to the server root, such as "plugins". Defaults to "/". | / |
| local_path | Yes | Absolute path of the file on the computer running this MCP server. |