1. Clone the Repository
```bash
cd ~
git clone https://gitea.cmtriley.com/mriley/claude-config.git .claude
```
2. Install Claude Code (if not already installed)
```bash
npm install -g @anthropic-ai/claude-code
```
3. Configure MCP Servers
The mcp.json file includes these servers:
- context7 - Library documentation
- fetch - Web content retrieval
- filesystem - File operations
- git - Version control
- playwright - Browser automation
Make sure you have the required tools:
```bash
# Install uvx (for Python-based MCP servers)
pip install uv
# MCP servers will auto-install via npx/uvx when first used
```
4. Set Environment Variables
Add to your ~/.zshrc or ~/.bashrc:
```bash
# Gitea
export GITEA_ACCESS_TOKEN="your-token-here"
# GitHub (if needed)
export GITHUB_ACCESS_TOKEN="your-token-here"
```
5. Update Filesystem Paths
Edit ~/.claude/mcp.json and update the filesystem server paths to match your Mac:
```json
{
"filesystem": {
"args": [
"-y",
"@modelcontextprotocol/server-filesystem",
"/Users/yourusername/projects" // Update this path
]
}
}
```