# {{ project_name }}

{{ description }}

## Quick Start

```bash
# Install dependencies
pnpm install
cd packages/backend && uv sync

# Start database
docker-compose -f docker/docker-compose.yml up -d db

# Generate code from spec
prism generate

# Start development
prism dev
```

## URLs

- Frontend: http://localhost:5173
- API docs: http://localhost:8000/docs
- GraphQL: http://localhost:8000/graphql

## MCP (Model Context Protocol) Integration

This project includes an MCP server that allows AI assistants to interact with your data.

### Development Mode

Start the MCP server alongside your dev servers:

```bash
prism dev --mcp
```

The MCP server runs at `http://localhost:8765/sse`.

### Cursor IDE

Add to your Cursor settings (`.cursor/mcp.json` in your project or global settings):

```json
{
  "mcpServers": {
    "{{ project_name_snake }}": {
      "url": "http://localhost:8765/sse"
    }
  }
}
```

Then run `prism dev --mcp` and Cursor will connect to your MCP server.

### Claude Desktop

Add to your Claude Desktop config (`~/Library/Application Support/Claude/claude_desktop_config.json` on macOS or `%APPDATA%\\Claude\\claude_desktop_config.json` on Windows):

```json
{
  "mcpServers": {
    "{{ project_name_snake }}": {
      "command": "uv",
      "args": ["run", "python", "-c", "from {{ project_name_snake }}.mcp_server.server import run_server; run_server()"],
      "cwd": "{{ '{{' }} absolute_path_to_project {{ '}}' }}/packages/backend"
    }
  }
}
```

Replace `{{ '{{' }} absolute_path_to_project {{ '}}' }}` with the actual path to your project.
