This commit is contained in:
2025-07-25 16:29:56 +03:00
parent e3d1738ae6
commit cc50c64423
7 changed files with 57 additions and 34 deletions

View File

@@ -37,23 +37,21 @@ npm install
npm run build
```
4. Configure your Appwrite credentials by creating `appwrite-config.json` in your **current working directory** (where you run Claude Code from), not in the cloned repository:
4. Configure your Appwrite credentials by creating a `.env` file in your **current working directory** (where you run Claude Code from):
```bash
# Copy the template to your current working directory
cp /path/to/app-write-mcp/appwrite-config.json.template ./appwrite-config.json
# Copy the example file to your current working directory
cp /path/to/app-write-mcp/.env.example ./.env
```
5. Edit the `appwrite-config.json` file in your current directory with your Appwrite project details:
```json
{
"projectId": "your-project-id",
"apiEndpoint": "https://cloud.appwrite.io/v1",
"apiKey": "your-api-key"
}
5. Edit the `.env` file in your current directory with your Appwrite project details:
```bash
APPWRITE_PROJECT_ID=your-project-id
APPWRITE_API_ENDPOINT=https://cloud.appwrite.io/v1
APPWRITE_API_KEY=your-api-key
```
**Important:** The MCP server looks for `appwrite-config.json` in the directory where Claude Code is currently running, not in the repository directory. This allows you to use different configurations for different projects without modifying the repository.
**Important:** The MCP server looks for `.env` in the directory where Claude Code is currently running, not in the repository directory. This allows you to use different configurations for different projects without modifying the repository.
## Adding to Claude Code