From 8a2f79dddba3b15a8a8749f1fe8c698db96c4737 Mon Sep 17 00:00:00 2001 From: smoido Date: Sun, 27 Jul 2025 14:26:56 +0300 Subject: [PATCH] wring error message when .env not configed --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index adf1d0b..a84e299 100644 --- a/src/index.ts +++ b/src/index.ts @@ -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." ); }