← Learn Claude

CCA-F Prep — P4: Claude Code Dev Workflow

CCA-F exam project P4 — Claude Code dev workflow (hands-on lab).
Open this folder in Claude Code to exercise D2 (Claude Code) + D4 (MCP connection).

Build steps (verify each)

Quick start

cd examples\CCA-F-PREP\p4-claude-code-workflow
claude

In Claude Code:

/exam-review

Then ask Claude to call the cca-f-tools MCP server (ticket lookup or health check).

Hook exit codes (exam-critical)

Code PreToolUse PostToolUse
0 Allow Success — continue
1 Warning logged — continue
2 Block tool

Configured in .claude/settings.json.

MCP connection

.mcp.json launches the P5 server via stdio:

"cca-f-tools": {
  "command": "python",
  "args": ["../p5-custom-mcp-server/server.py"],
  "env": { "MCP_API_KEY": "${MCP_API_KEY}" }
}

Set MCP_API_KEY=dev-local-key for local testing (must match P5 server).

Verification script

cd examples\CCA-F-PREP\p4-claude-code-workflow
python verify_setup.py

Expected: all checks pass.

Exam traps this project covers

See docs/02-domain-traps.