Skip to main content
Glama
gokapi-mcp

gokapi-mcp

by arr-mcps

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
GOKAPI_URLYesGokapi base URL, for example http://10.10.10.25:53842. The server appends /api.
GOKAPI_API_KEYYesAPI key generated in the Gokapi web UI under "API". Sent as the apikey header.

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}
logging
{}
prompts
{
  "listChanged": true
}
resources
{
  "subscribe": false,
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
gokapi_infoA

gokapi info operations on Gokapi. Pass operation and an arguments dict matching that operation's parameters.

  • gokapi_info_config() - Get upload parameters: max file/chunk sizes, E2E flag (GET /api/info/config).

  • gokapi_info_version() - Get Gokapi version (GET /api/info/version).

gokapi_filesA

gokapi files operations on Gokapi. Pass operation and an arguments dict matching that operation's parameters.

  • gokapi_files_add(file_b64, filename, allowed_downloads=None, expiry_days=None, password=None) - Upload a file without chunking (POST /api/files/add, multipart). The file is a base64 string. allowed_downloads defaults to 1 (0 = unlimited), expiry_days defaults to 14 (0 = unlimited).

  • gokapi_files_change_owner(id, new_owner) - Change a file's owner (PUT /api/files/changeOwner, admin only). new_owner is the target user ID.

  • gokapi_files_delete(id, delay=None) - Delete a file (DELETE /api/files/delete). delay waits N seconds before deleting so the file can still be restored.

  • gokapi_files_duplicate(id, allowed_downloads=None, expiry_days=None, password=None, original_password=None, filename=None) - Duplicate a file (POST /api/files/duplicate). Returns the new file object. Set original_password=true to keep the source password.

  • gokapi_files_get(id) - Get file metadata by ID (GET /api/files/list/{id}).

  • gokapi_files_list(show_file_requests=None) - List all files (GET /api/files/list). Set show_file_requests to include files uploaded through file requests.

  • gokapi_files_modify(id, allowed_downloads=None, expiry_timestamp=None, password=None, original_password=None) - Change parameters of an uploaded file (PUT /api/files/modify). allowed_downloads 0 = unlimited; expiry_timestamp 0 (unix) = no expiry; omit password to leave it unchanged, pass empty string to remove it.

  • gokapi_files_replace(id, id_new_content, delete_new_file=None) - Replace a file's content with another uploaded file (PUT /api/files/replace). Set delete_new_file=true to delete the source file afterwards.

  • gokapi_files_restore(id) - Restore a file pending deletion (POST /api/files/restore).

gokapi_downloadB

gokapi download operations on Gokapi. Pass operation and an arguments dict matching that operation's parameters.

  • gokapi_download_file(id, increase_counter=None, presign_url=None) - Download a file (GET /api/files/download/{id}). Returns base64-encoded bytes. Set presign_url=true to get a one-time 30s download URL (returned as JSON) instead of the file content.

  • gokapi_download_zip(ids, filename=None, increase_counter=None, presign_url=None, is_file_request_id=None) - Download files as a ZIP (GET /api/files/downloadzip). ids is a comma- separated list of file IDs. Returns base64-encoded bytes unless presign_url=true (one-time 30s URL as JSON). Set is_file_request_id=true to pass a file request ID and zip all its files.

gokapi_chunksA

gokapi chunks operations on Gokapi. Pass operation and an arguments dict matching that operation's parameters.

  • gokapi_chunk_add(file_b64, uuid, filesize, offset) - Upload one chunk (POST /api/chunk/add, multipart). uuid (>=10 chars) must be identical for all chunks of one file; offset is the chunk's byte offset. The file chunk is a base64 string.

  • gokapi_chunk_complete(uuid, filename, filesize, contenttype=None, allowed_downloads=None, expiry_days=None, password=None, nonblocking=None) - Finalise uploaded chunks into a file (POST /api/chunk/complete). allowed_downloads defaults to 1 (0 = unlimited), expiry_days defaults to 14 (0 = unlimited). nonblocking=true returns before processing finishes.

  • gokapi_urequest_chunk_add(file_b64, file_request_id, uuid, filesize, offset) - Upload one chunk for a file request (POST /api/uploadrequest/chunk/add, multipart). The file chunk is a base64 string.

  • gokapi_urequest_chunk_complete(uuid, file_request_id, filename, filesize, contenttype=None, nonblocking=None) - Finalise uploaded chunks for a file request (POST /api/uploadrequest/chunk/complete).

  • gokapi_urequest_chunk_reserve(id) - Reserve a UUID for a new file-request upload (POST /api/uploadrequest/chunk/reserve).

  • gokapi_urequest_chunk_unreserve(id, uuid) - Free a reserved UUID after a cancelled upload (POST /api/uploadrequest/chunk/unreserve).

gokapi_requestsA

gokapi requests operations on Gokapi. Pass operation and an arguments dict matching that operation's parameters.

  • gokapi_urequest_delete(id) - Delete an upload request and all its files (DELETE /api/uploadrequest/delete).

  • gokapi_urequest_get(id) - Get a file request by ID (GET /api/uploadrequest/list/{id}).

  • gokapi_urequest_list() - List all file requests (GET /api/uploadrequest/list).

  • gokapi_urequest_save(id=None, name=None, notes=None, expiry=None, maxfiles=None, maxsize=None) - Create or update a file request (POST /api/uploadrequest/save). Omit id to create a new request. expiry is a UTC unix timestamp (0 = none); maxfiles 0 = unlimited count; maxsize is MB per file (0 = unlimited).

gokapi_authA

gokapi auth operations on Gokapi. Pass operation and an arguments dict matching that operation's parameters.

  • gokapi_auth_create(friendly_name=None, basic_permissions=None) - Create a new API key (POST /api/auth/create). Returns the new key - store it immediately, it cannot be retrieved again.

  • gokapi_auth_delete(target_key) - Delete an API key (DELETE /api/auth/delete). target_key is the key's public ID or the key itself.

  • gokapi_auth_friendlyname(target_key, friendly_name) - Rename an API key (PUT /api/auth/friendlyname).

  • gokapi_auth_modify(target_key, permission, permission_modifier) - Grant/revoke one API-key permission (PUT /api/auth/modify). permission is one of PERM_VIEW, PERM_UPLOAD, PERM_DELETE, PERM_API_MOD, PERM_EDIT, PERM_REPLACE, PERM_MANAGE_USERS, PERM_MANAGE_LOGS, PERM_MANAGE_FILE_REQUESTS, PERM_DOWNLOAD; permission_modifier is GRANT or REVOKE.

gokapi_usersA

gokapi users operations on Gokapi. Pass operation and an arguments dict matching that operation's parameters.

  • gokapi_user_changerank(userid, new_rank) - Change a user's rank (PUT /api/user/changeRank). new_rank is admin or user.

  • gokapi_user_create(username) - Create a new user (POST /api/user/create). Returns the new user including its generated password.

  • gokapi_user_delete(userid, delete_files=None) - Delete a user (DELETE /api/user/delete). Set delete_files=true to also delete all their uploads.

  • gokapi_user_modify(userid, userpermission, permission_modifier) - Grant/revoke one user permission (PUT /api/user/modify). userpermission is one of PERM_REPLACE, PERM_LIST, PERM_EDIT, PERM_REPLACE_OTHER, PERM_DELETE, PERM_LOGS, PERM_API, PERM_USERS, PERM_GUEST_UPLOAD; permission_modifier is GRANT or REVOKE.

  • gokapi_user_resetpassword(userid, generate_new_password=None) - Reset a user's password (PUT /api/user/resetPassword). Returns the new password.

gokapi_logsA

gokapi logs operations on Gokapi. Pass operation and an arguments dict matching that operation's parameters.

  • gokapi_logs_delete(timestamp=None) - Delete log entries (DELETE /api/logs/delete, admin only). timestamp is the cutoff unix epoch - older entries are deleted; omit to delete all.

  • gokapi_logs_get(timestamp=None) - Get server logs (GET /api/logs/get). timestamp optionally filters to entries newer than a unix epoch.

  • gokapi_logs_resettraffic() - Reset the traffic statistic (DELETE /api/logs/resetTraffic, admin only).

  • gokapi_logs_systemstatus() - Get server status information (GET /api/logs/systemStatus).

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.9/5.0

Scored across 8 tools

Disambiguation4/5

The eight top-level tools are grouped by clear domains: info, files, download, chunks, requests, auth, users, and logs. There is minor overlap around chunked uploads versus file-request management, and file-request chunk operations live under chunks while file-request CRUD lives under requests, but the descriptions make the split understandable.

Naming Consistency4/5

All top-level tools consistently use the `gokapi_` prefix plus a lowercase snake_case domain name. The only minor deviation is that most names are resource nouns while `gokapi_download` is action-oriented, and some underlying operations use singular/plural or abbreviated forms like `chunk` and `urequest`.

Tool Count5/5

Eight top-level tools is well-scoped for covering the Gokapi API surface without excessive fragmentation. Each domain group earns its place, and the multiplexed operation pattern keeps the exposed tool count manageable.

Completeness5/5

The surface covers the major Gokapi resources: info, file CRUD and metadata, downloads, chunked uploads, file requests, API-key auth, users, and logs. The operations appear to map to the relevant API endpoints, with no obvious dead-end lifecycle gaps.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues