wring error message when .env not configed

This commit is contained in:
2025-07-27 14:26:56 +03:00
parent dca14b1c9d
commit 8a2f79dddb

View File

@@ -1017,7 +1017,7 @@ class AppwriteMCPServer {
if (!this.config || !this.databases) {
throw new McpError(
ErrorCode.InternalError,
"Appwrite not configured. Please check your appwrite-config.json file."
"Appwrite not configured. Please set environment variables: APPWRITE_PROJECT_ID, APPWRITE_API_ENDPOINT, and APPWRITE_API_KEY. For Claude Code CLI, create a .env file in your working directory. For Cursor IDE, add them to your MCP server configuration in settings.json."
);
}