CouchDB MCP Server

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
COUCHDB_URLNoCouchDB connection URL including username and password if authentication is enabledhttp://localhost:5984
COUCHDB_VERSIONNoCouchDB version for feature detection

Schema

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Tools

Functions exposed to the LLM to take actions

NameDescription
createDatabase

Create a new CouchDB database

listDatabases

List all CouchDB databases

deleteDatabase

Delete a CouchDB database

createDocument

Create a new document or update an existing document in a database

getDocument

Get a document from a database

createMangoIndex

Create a new Mango index (CouchDB 3.x+)

deleteMangoIndex

Delete a Mango index (CouchDB 3.x+)

listMangoIndexes

List all Mango indexes in a database (CouchDB 3.x+)

findDocuments

Query documents using Mango query (CouchDB 3.x+)