Files

Per-user file storage: keep a file, get a URL, read it back

Open Files →

Calling it

This is your own data, so a call has to say who you are. Make a token at /token and send it as a header.

curl -H "Authorization: Bearer $MU_TOKEN" \
  https://mu-mcp.yvangodard.me/api/v1/files/list

How every call behaves →

Methods

POST /api/v1/files/delete

Delete a file you own

Needs an account. Changes something, so POST only. Withheld from the agent — a person or a program only.

ArgumentTypeDescription
id *stringThe file's id
curl -X POST \
  -H "Authorization: Bearer $MU_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"id":"id"}' \
  https://mu-mcp.yvangodard.me/api/v1/files/delete
GET /api/v1/files/get

Read a stored file back by its id

Needs an account.

ArgumentTypeDescription
id *stringThe file's id, as returned by files_put or files_list
curl \
  -H "Authorization: Bearer $MU_TOKEN" \
  "https://mu-mcp.yvangodard.me/api/v1/files/get?id=id"
GET /api/v1/files/list

List the caller's stored files, newest first

Needs an account.

curl \
  -H "Authorization: Bearer $MU_TOKEN" \
  "https://mu-mcp.yvangodard.me/api/v1/files/list"
POST /api/v1/files/put

Store a file and get a URL for it — a report, a CSV, a transcript

Needs an account. Changes something, so POST only.

ArgumentTypeDescription
name *stringFile name including its extension, e.g. "report.csv"
content *stringThe file's contents — plain text, or base64 when encoding is "base64"
encodingstring"base64" for binary files; omit for text
typestringOptional content type, e.g. "text/csv". Guessed from the name when omitted
curl -X POST \
  -H "Authorization: Bearer $MU_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"content":"content","name":"name"}' \
  https://mu-mcp.yvangodard.me/api/v1/files/put
POST /api/v1/files/share

Make a file readable by anyone with its URL, or private again

Needs an account. Changes something, so POST only.

ArgumentTypeDescription
id *stringThe file's id
public *booleanTrue to let anyone with the URL read it, false to make it private again
curl -X POST \
  -H "Authorization: Bearer $MU_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"id":"id","public":true}' \
  https://mu-mcp.yvangodard.me/api/v1/files/share

The same methods are tools over MCP, and every service on this instance is in one reference. Same method, same answer, same price.