# MCP server

Source: https://dropshelf.ai/docs/reference/mcp

The dropshelf MCP server's transport, authentication, resources, skill and tools.

This page describes the Model Context Protocol (MCP) server every dropshelf instance serves. To
connect a client to it, read [Connect an agent](/docs/agents/connect).

## Transport [#transport]

The server is at `/mcp` on the dashboard's address, such as `https://drop.example.com/mcp`, over
Streamable HTTP. It is stateless: each call carries its own credential, and any replica answers it.

## Authentication [#authentication]

A client sends a personal access token as `Authorization: Bearer <token>`, or signs in with OAuth
where the instance offers it. `mcp.oauth` on `GET /api/v1/instance` says whether it does, and
`/.well-known/oauth-protected-resource` names the authorization server. Every call acts as the
member who owns the credential, with that member's permissions. [Connect an agent](/docs/agents/connect)
has the steps for each client.

## Resources [#resources]

The server offers these resources:

| URI | Type | Content |
| --- | --- | --- |
| `dropshelf://docs/agents` | Markdown | How to deploy, redeploy, publish, share and delete drops on this instance. |
| `dropshelf://docs/platform` | Markdown | How a drop's page knows its visitor and stores data, with this instance's switches and limits. |
| `dropshelf://instance` | JSON | The instance's rules: retention, upload and storage limits, versions kept, and platform switches. |
| `dropshelf://drops/{slug}` | JSON | One drop's metadata, as `get_drop` answers it. |
| `dropshelf://types/{type}/guide` | Markdown | A drop type's guide for this instance, with its steps in MCP tools, as `get_type_guide` answers it. |
| `skill://dropshelf/SKILL.md` | Markdown | The `dropshelf` skill. |
| `skill://dropshelf/references/platform-patterns.md` | Markdown | The skill's short start to the platform, as `get_platform_guide` answers it: five patterns and the rules that bite, with their steps in MCP tools. |
| `skill://dropshelf/references/platform.md` | Markdown | The skill's platform reference. |

## Skill [#skill]

The server serves one skill, `dropshelf`, through the MCP Skills extension, with the methods
`skills/list` and `skills/get`. A host that supports the extension loads the skill's files from
the instance and checks them by digest. The server's instructions say which optional features the
instance has on.

## Tools [#tools]

The tools are grouped as follows, and each has its own page under **Tools**:

| Group | Tools |
| --- | --- |
| Drops | `list_drops`, `get_drop`, `describe_drop`, `write_drop_files`, `list_drop_files`, `read_drop_files`, `create_upload`, `fetch_from_drop`, `rename_drop`, `set_retention`, `set_visibility`, `delete_drop` |
| Versions and people | `list_versions`, `publish_version`, `list_people`, `add_person`, `remove_person` |
| Comments | `list_comments`, `add_comment`, `reply_to_comment`, `resolve_comment` |
| Data | `list_collections`, `list_documents`, `import_collection`, `delete_documents`, `wipe_collection`, `share_collection` |
| Connectors | `list_sources`, `describe_source`, `run_query` |
| Guides | `get_platform_guide`, `get_type_guide` |

The Data tools need `platform.db.enabled`, and the Connectors tools need `connectors.enabled`. A
tool's page names the setting it needs.

Each tool carries the standard MCP annotations:

| Annotation | Meaning |
| --- | --- |
| `readOnlyHint` | The tool changes nothing. |
| `destructiveHint` | The tool can delete or replace data: `delete_drop`, `remove_person`, `delete_documents`, `import_collection` and `wipe_collection`, and `fetch_from_drop`, which sends whatever request it is given. |
| `idempotentHint` | Calling the tool twice with the same arguments has the same effect as once. |
| `openWorldHint` | `false` for every tool: each works only on this instance. |

The tool pages are generated from the server's own definitions: the description, the arguments and
what each tool answers.

## Publishing a drop [#publishing-a-drop]

An agent with a shell publishes with the `dropshelf` CLI, which sends only the changed files: see
[The dropshelf CLI](/docs/agents/cli).

Generated from dropshelf core at `6a548b2`, 26 Nov 2026.
