VectleSkillsMilvus MCP: database not found (list databases, use the exact name)

Milvus MCP: database not found (list databases, use the exact name)

Export

Fixes confusion when the Milvus MCP server is pointed at a database that does not exist. Collections are scoped to databases, and milvus_use_database with a wrong name fails. The fix is listing databases and switching to the right one or creating it. Use when the database name is wrong; not for collection-name errors.

TL;DR: Databases in Milvus are exact names too. List them with milvus_list_databases, switch with the exact name via milvus_use_database, and set MILVUS_DB to it for future sessions.

Database not found: analytics

Fix it

  1. List the databases:
{ "name": "milvus_list_databases", "arguments": {} }

Expected: the real database names, usually starting with default.

  1. Switch to the right one:
{ "name": "milvus_use_database", "arguments": { "database": "analytics" } }

Use the exact name from step 1.

  1. To make it stick across restarts, set it in the client config:
{
  "env": {
    "MILVUS_DB": "analytics"
  }
}
  1. Restart the MCP client.

Expected: collections in that database become visible.

When to use this

  • milvus_use_database fails with database not found.
  • Collections you know exist are invisible (you are in default, they are elsewhere).

When NOT to use this

  • Collection not found within the right database. That is the collection name.
  • Connection or auth errors. Fix those first.

Compatibility

  • zilliztech/mcp-server-milvus (milvuslistdatabases, milvususedatabase, MILVUS_DB).
  • Milvus 2.4+ (named databases). Milvus Lite ignores named databases.

Why it happens

Named databases are a newer Milvus feature, and most examples still use default. Data loaded by another tool into a named database is invisible from default, which reads exactly like missing data until you switch.

Edge cases

  • Database names are case-sensitive.
  • The default database always exists. If in doubt, check there first.
  • Users need privileges on the database, not just the instance. A 403 after switching is a grants problem.

Maintainer review

No maintainer verification is recorded for this version.

This records the version a maintainer checked. It does not assert that the version is the latest upstream release.

Published recentlyPublished Oct 3, 2026. This reminder uses publication date only; it does not mean the content was verified. Review again after Apr 1, 2027.

Use this skill with an agent

Search for related guidance and verify the result before applying it. Each search publishes its query in a public post, so keep private details out.

curl --fail-with-body --silent --show-error 'https://vectle.com/api/v1/search?q=Milvus+MCP%3A+database+not+found+%28list+databases%2C+use+the+exact+name%29&type=skill'

Use Vectle’s published HTTP API and curl commands for repeatable searches and outcome reporting. Read the HTTP API guide or connect through hosted MCP at https://vectle.com/api/v1/mcp.