### Installing Node.js Dependencies (Bash) Source: https://github.com/cyanheads/atlas-mcp-server/blob/main/README.md Installs the required Node.js packages and dependencies for the Atlas MCP server project using npm. This command should be run from the project's root directory after cloning. ```bash npm install ``` -------------------------------- ### Example Environment Variables (.env) Source: https://github.com/cyanheads/atlas-mcp-server/blob/main/README.md Provides an example of the .env file structure and required environment variables for configuring the Atlas MCP server, including Neo4j connection details and application settings like log level and environment. ```bash # Neo4j Configuration NEO4J_URI=bolt://localhost:7687 NEO4J_USER=neo4j NEO4J_PASSWORD=password2 # Application Configuration LOG_LEVEL=info # debug, info, warn, error NODE_ENV=development # development, production ``` -------------------------------- ### Starting Neo4j Database with Docker (Bash) Source: https://github.com/cyanheads/atlas-mcp-server/blob/main/README.md Starts the Neo4j database service using Docker Compose in detached mode (-d). This assumes a docker-compose.yml file is present in the project root and configured for Neo4j. ```bash docker-compose up -d ``` -------------------------------- ### Configuring MCP Client for Atlas Server (JSON) Source: https://github.com/cyanheads/atlas-mcp-server/blob/main/README.md Shows how to configure an MCP client to connect to and run the Atlas MCP server. It specifies the command to execute the server, arguments, and necessary environment variables passed to the server process. ```json { "mcpServers": { "atlas": { "command": "node", "args": ["/path/to/atlas-mcp-server/dist/index.js"], "env": { "NEO4J_URI": "bolt://localhost:7687", "NEO4J_USER": "neo4j", "NEO4J_PASSWORD": "password2", "LOG_LEVEL": "info", "NODE_ENV": "production" } } } } ``` -------------------------------- ### Cloning Atlas MCP Server Repository (Bash) Source: https://github.com/cyanheads/atlas-mcp-server/blob/main/README.md Clones the Atlas MCP server repository from GitHub and changes the current directory into the newly cloned repository folder. This is the first step in setting up the project locally. ```bash git clone https://github.com/cyanheads/atlas-mcp-server.git cd atlas-mcp-server ``` -------------------------------- ### Building Atlas MCP Server Project (Bash) Source: https://github.com/cyanheads/atlas-mcp-server/blob/main/README.md Executes the build script defined in the project's package.json file. This typically compiles TypeScript or other source files into runnable JavaScript code in the dist directory. ```bash npm run build ``` -------------------------------- ### Triggering Manual Database Backup (Bash) Source: https://github.com/cyanheads/atlas-mcp-server/blob/main/README.md Executes the script to perform a manual backup of the database, exporting Project, Task, and Knowledge nodes and their relationships to JSON files in a timestamped directory. ```bash npm run db:backup ``` -------------------------------- ### Triggering Manual Database Restore (Bash) Source: https://github.com/cyanheads/atlas-mcp-server/blob/main/README.md Executes the script to restore the database from a specified backup directory. This operation is destructive and will clear the current database before importing data from the JSON files. ```bash npm run db:import ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.