The /configure command manages EigenData-CLI settings. You can update your API key, MCP server URL, and schema file path. For initial setup, see Getting Started.
Settings
Settings are organized into two groups:
Global settings are stored in ~/.eigendata/settings.yaml and apply across all projects.
| Setting | Description | Required | Clearable |
|---|
api_key | EigenData API key for authentication | Yes | No |
Project settings are stored in ./eigendataDB/config/user_config.yaml and apply to the current project.
| Setting | Description | Required | Clearable |
|---|
mcp_server_url | MCP server URL for schema source | No | Yes |
schema_file | Path to local schema file (JSON/YAML) | No | Yes |
mcp_server_url and schema_file can be cleared by entering - as the value.
Interactive configuration
Run the configure command without arguments to see all available settings:
The CLI displays two tables — global and project settings — followed by a numbered menu:
Global Settings (stored in ~/.eigendata/)
# Key Value
1 api_key sk-xxxx…xxxx
Project Settings (stored in ./eigendataDB/)
# Key Value
2 mcp_server_url http://localhost:8000
3 schema_file ./my_functions.json
Select a setting to update (or 'q' to cancel):
Step 2 — Select and update a setting
Enter the number of the setting you want to change:
Select a setting to update (or 'q' to cancel): 2
MCP Server URL
Example: http://127.0.0.1:8000
Type '-' to clear
> http://192.168.1.100:8000
The CLI confirms the update:
Direct configuration
You can also configure settings directly without the interactive menu.
View current value
Pass the setting name to see its current value:
eigendata> /configure api_key
api_key: sk-****...****
Set a new value
Pass both the setting name and new value:
eigendata> /configure mcp_server_url http://localhost:9000
✓ mcp_server_url updated to: http://localhost:9000
Clear an optional setting
Use - to clear optional settings:
eigendata> /configure mcp_server_url -
✓ Updated mcp_server_url
Environment Variables
You can set API key via environment variable:
| Environment Variable | Setting |
|---|
EIGENDATA_API_KEY | api_key |
Environment variables are read at startup. Settings configured via /configure take precedence.