# π START HERE - ACE MCP Server Setup
## π Successfully Created!
**Location**: `$HOME/code/perplexity/ace-mcp-server`
## β
What's Already Ready
```
ace-mcp-server/
βββ β
package.json # NPM configuration
βββ β
tsconfig.json # TypeScript settings
βββ β
.env.example # Environment variables example
βββ β
.gitignore # Git ignore
βββ β
README.md # Project description
βββ β
INSTALLATION.md # Detailed instructions
βββ β
ASSETS_CHECKLIST.md # Resources checklist
βββ β
START_HERE.md # This file
βββ β
src/ # Source code directory
β βββ β
core/ # ACE components
β βββ β
mcp/ # MCP protocol
β βββ β
storage/ # Storage
β βββ β
utils/ # Utilities
βββ β
docs/ # Documentation
βββ β
COPY_GUIDE.md # Copying guide
```
## π What Needs to be Copied
### 1. TypeScript Source Code (13 files)
**Source**: Document **[88]** in Perplexity chat
**Name**: "ace-mcp-complete-source.md"
#### Quick Method:
1. Open document [88] in Perplexity
2. Find each file by heading "## FILE: ..."
3. Copy code between triple backticks \`\`\`typescript ... \`\`\`
4. Paste into corresponding file
#### List of Files to Copy:
**Storage (3 files)**
- `src/storage/bullet.ts`
- `src/storage/embeddings.ts`
- `src/storage/deduplicator.ts`
**Core (4 files)**
- `src/core/playbook.ts`
- `src/core/generator.ts`
- `src/core/reflector.ts`
- `src/core/curator.ts`
**MCP (2 files)**
- `src/mcp/tools.ts`
- `src/mcp/server.ts`
**Utils (3 files)**
- `src/utils/config.ts`
- `src/utils/logger.ts`
- `src/utils/errors.ts`
**Entry Point (1 file)**
- `src/index.ts`
### 2. PDF Documentation (2 files)
**User Guide** - Document [85] β save as `docs/USER_GUIDE.pdf`
**Admin Guide** - Document [86] β save as `docs/ADMIN_GUIDE.pdf`
### 3. LinkedIn Post (optional)
cittadinanza**LinkedIn Post** - Document [42] β save as `docs/linkedin-post.md`
## π οΈ Quick Installation (after copying files)
```bash
# 1. Go to directory
cd $HOME/code/perplexity/ace-mcp-server
# 2. Install dependencies
npm install
# 3. Build project
npm run build
# 4. Test
npm start
```
## βοΈ Cursor AI Configuration
Edit `~/.cursor/mcp.json`:
```json
{
"mcpServers": {
"ace-context-engine": {
"command": "node",
"args": ["$HOME/code/perplexity/ace-mcp-server/dist/index.js"],
"env": {
"ACE_CONTEXT_DIR": "$HOME/code/perplexity/ace-mcp-server/contexts",
"ACE_LOG_LEVEL": "info",
"ACE_DEDUP_THRESHOLD": "0.85"
}
}
}
}
```
Restart Cursor AI.
## π― Quick Test
In Cursor AI:
```
Using ACE, help me create a simple Express.js authentication endpoint
```
ACE should:
1. β
Generate code using playbook
2. β
Track useful strategies
3. β
Allow reflection
4. β
Update playbook
## π Detailed Instructions
### For Users
β‘οΈ Read `docs/USER_GUIDE.pdf` (download from [85])
### For Administrators
β‘οΈ Read `docs/ADMIN_GUIDE.pdf` (download from [86])
### For Developers
β‘οΈ Read `README.md` and `INSTALLATION.md`
## π Quick Links
**In the current Perplexity chat find:**
- [42] - LinkedIn Post (English)
- [84] - Web Dashboard (demo)
- [85] - User Guide PDF (15 pages)
- [86] - Admin Guide PDF (23 pages)
- [88] - TypeScript source code
## β οΈ Important
1. **Copy ALL 13 TypeScript files** from document [88]
2. **Don't forget** to download PDF documentation
3. **Check** that `npm run build` runs without errors
4. **Configure** Cursor AI before use
## π Troubleshooting?
### Build Errors
```bash
# Delete and reinstall
rm -rf node_modules dist
npm install
npm run build
```
### MCP Server Not Connecting
```bash
# Check that file exists
ls dist/index.js
# Check Cursor logs
# Settings β Developer β View MCP Logs
```
### Help
- Read `INSTALLATION.md` - detailed instructions
- Read `docs/COPY_GUIDE.md` - copying guide
- Read `ASSETS_CHECKLIST.md` - complete checklist
## β¨ What's Next?
1. β
Copy source code from [88]
2. β
Install dependencies: `npm install`
3. β
Build project: `npm run build`
4. β
Configure Cursor AI
5. β
Start using ACE!
## π Features
- **86.9%** reduction in adaptation latency
- **+10.6%** accuracy on agent tasks
- Incremental delta updates
- Semantic deduplication
- Self-learning without labeled data
- Multi-context support
---
**Status**: Structure ready β
**Next Step**: Copy source code from document [88]
**Created**: October 26, 2025
π **Start with document [88] - copy all TypeScript files!**