Command reference
ed database mcp
Runs the Edith Database MCP server over standard input and output, so a coding agent can browse and query the connections you saved in Database.
ed database mcpThe command stays in the foreground and prints nothing of its own on standard output, which belongs to the MCP client. Agents only see the connections you saved in Edith, never their passwords, hosts or other connection details.
| Tool | What it does |
|---|---|
database_connections |
Lists saved connections, or gets one by its identifier. |
database_capabilities |
Shows what one saved connection supports. |
database_browse |
Reads one page of rows, keys or documents from a database or object. |
database_query |
Runs one bounded read query on a saved connection. |
database_operations |
Lists running and finished operations, or gets one. |
database_cancel_operation |
Cancels one running operation. |
database_test_connection |
Tests a saved connection without keeping it open. |
database_session |
Connects or disconnects one saved connection. |
database_key_mutation |
Previews, then applies, one change to a Redis or Valkey string key. |
database_document_mutation |
Previews, then applies, one insert, update or delete of a MongoDB, Elasticsearch or OpenSearch document. |
Reading tools never change data. The two mutation tools first return a preview, and apply the change only when the agent confirms that exact preview.
An MCP client configuration can launch the server directly:
{ "mcpServers": { "edith-database": { "command": "ed", "args": ["database", "mcp"] } }}