# MCP for agents

> The Files MCP server and its tools.

Applies to: the Sypnia engine (open source, self-hosted) and Sypnia Cloud (paid service).  
Source: https://files.docs.sypnia.com/tools/mcp/

For agents: Files MCP at https://mcp.files.sypnia.com: OAuth (PKCE, DCR) or PAT with Sypnia account, or project token for one project; tools list_buckets/get_bucket, list_files/get_file, read_file, upload_file, sign_url, create_bucket/update_bucket (approval to make public), delete_files (approval), apply_policy (approval); approvals in console or files approve; audited.

`https://mcp.files.sypnia.com` serves every project you can reach. An agent signs in with your Sypnia account (OAuth with PKCE and dynamic client registration) or a personal access token; with a project token it works only on that project.

| Tool                             | Does                           | Needs approval         |
| -------------------------------- | ------------------------------ | ---------------------- |
| `list_buckets`, `get_bucket`     | buckets and their settings     | no                     |
| `list_files`, `get_file`         | files and their metadata       | no                     |
| `read_file`                      | text and small files' contents | no                     |
| `upload_file`                    | upload a file the agent has    | no                     |
| `sign_url`                       | a signed download URL          | no                     |
| `create_bucket`, `update_bucket` | buckets                        | making a bucket public |
| `delete_files`                   | delete                         | yes                    |
| `apply_policy`                   | add or change a policy         | yes                    |

Approvals are confirmed in the console or with `files approve <id>`. Every call is recorded.
