# Codecks MCP Configuration
# Copy this file to .env and fill in your values
# ============================================================================
# CODECKS_TOKEN (required)
# Your authentication token for the Codecks API
#
# How to find it:
# 1. Open your Codecks organization in your browser (e.g., kaia.codecks.io)
# 2. Press F12 to open Developer Tools
# 3. Go to Application tab > Cookies > your codecks domain
# 4. Find the cookie named "at" and copy its value
# ============================================================================
CODECKS_TOKEN=your_token_here
# ============================================================================
# CODECKS_URL (required)
# The URL of your Codecks organization
#
# This is the URL you use to access Codecks in your browser.
# Examples: kaia.codecks.io, myteam.codecks.io
# ============================================================================
CODECKS_URL=yourteam.codecks.io
# ============================================================================
# CODECKS_DEFAULT_PROJECT (optional)
# Default project filter - can be overridden per-call via the "project" parameter
#
# If set, operations will default to this project unless a different project
# is specified in the tool call. Leave empty to require explicit project names.
#
# Use the codecks_list_projects tool to see available project names.
# ============================================================================
CODECKS_DEFAULT_PROJECT=My Project
# ============================================================================
# CODECKS_USER_ID (required for create operations)
# Your Codecks user ID - needed to create cards, decks, and projects
#
# How to find it:
# 1. Open your Codecks organization in your browser
# 2. Press F12 to open Developer Tools
# 3. Go to Network tab
# 4. Create any card in Codecks
# 5. Find the request to api.codecks.io/dispatch/cards/create
# 6. Look at the request payload - the "userId" field is your user ID
# ============================================================================
CODECKS_USER_ID=your_user_id_here