AI assistants
The desktop app on Mac and Windows can act as an MCP server: an assistant such as Claude Code or Copilot in VS Code can then list your shares, share files for you, read a file inside a share without downloading it, or send something to a device nearby. The assistant talks to the app on your machine; nothing about this goes through us.
Turn it on
In the desktop app, open Settings, find MCP server and enable it. The app shows the URL and a token. Copy both.
http://127.0.0.1:3473/mcpEvery request needs the token. Regenerate issues a new one and the old one stops working at once; any client you configured has to be updated.
The server accepts connections on every network interface of the machine, not only from the machine itself, so with the right token it is reachable from other computers on your local network. Keep the token to yourself and turn the server off when you do not use it.
Claude Code
claude mcp add --transport http share-ninja http://127.0.0.1:3473/mcp \
--header "Authorization: Bearer <token>"VS Code
In .vscode/mcp.json of a workspace, or your user mcp.json:
{
"servers": {
"share-ninja": {
"type": "http",
"url": "http://127.0.0.1:3473/mcp",
"headers": { "Authorization": "Bearer <token>" }
}
}
}Any other client that speaks MCP over HTTP is configured the same way: the URL, and the token as a bearer header.
What the assistant can do
- Look
- get_status, list_my_shares, list_shared_with_me, list_transfers, list_nearby, list_workspaces, get_settings.
- Read inside a share without downloading it
- browse_share lists one folder level, read_share_range returns a file or part of one, as text or as an image.
- Share and receive
- create_share makes a link from local files, delete_share stops sharing it, start_download fetches a link into the downloads folder and resumes one that already exists, pause_transfer, resume_transfer, delete_download.
- Nearby
- send_nearby_share, accept_nearby_offer, reject_nearby_offer.
- Troubleshoot the app
- get_diagnostics, recent_events, tail_logs, set_log_level. Nothing here returns keys or tokens.
Things to ask for, in your own words: share the PDFs in this folder and give me the link; what is in the share Anna sent me; read the README from that share; stop sharing everything older than last week; send this build to my laptop.
The assistant sees what the app sees and can do what the app can do, including stopping shares and deleting downloads. It cannot read a share you do not hold the key to, and neither can we.

