mcp-setup
MCP Setup
Configure required MCP servers for agent-harness token efficiency and learning loops.
Required MCP Servers
| Server | Purpose | API Key |
|---|---|---|
token-efficient |
CSV/log processing, sandbox execution (98% token savings) | None |
context-graph |
Semantic decision trace search | Voyage AI |
Setup Instructions
Quick setup - Run scripts/setup-all.sh in your project directory:
cd /path/to/your/project
bash ~/.claude/skills/mcp-setup/scripts/setup-all.sh
This will:
- Create
mcp/folder in your project - Clone and build token-efficient MCP
- Clone and install context-graph MCP
- Prompt for Voyage AI API key
- Generate
.mcp.jsonin project root
Manual setup (if needed):
1. Install token-efficient MCP in mcp/
mkdir -p mcp
git clone https://github.com/gurusharan/token-efficient-mcp.git mcp/token-efficient-mcp
cd mcp/token-efficient-mcp
npm install
npm run build
2. Install context-graph MCP in mcp/
git clone https://github.com/gurusharan/agent-harness.git mcp/context-graph-mcp
cd mcp/context-graph-mcp/context-graph-mcp # or just mcp/context-graph-mcp
pip install -r requirements.txt
3. Create .mcp.json in project root
{
"mcpServers": {
"token-efficient": {
"command": "node",
"args": ["mcp/token-efficient-mcp/dist/index.js"]
},
"context-graph": {
"command": "uv",
"args": ["--directory", "mcp/context-graph-mcp", "run", "python", "server.py"],
"env": {
"VOYAGE_API_KEY": "your_key_here"
}
}
}
}
4. Restart Claude Code
After setup, restart Claude Code to load MCP servers.
Verification
After setup, test:
# Via context-graph MCP
context_store_trace(decision="Test setup", category="general")
context_list_categories()
Troubleshooting
| Issue | Solution |
|---|---|
module 'chromadb' not found |
pip install chromadb |
VOYAGE_API_KEY not found |
Set env var or add to mcp.json env |
| Tools not available | Restart Claude Code |
srt: command not found |
Install token-efficient MCP |
Scripts
| Script | Purpose |
|---|---|
scripts/setup-all.sh |
Use this - Auto-detects paths, sets up both MCP servers |
scripts/verify-setup.sh |
Check if MCP servers are working |
scripts/install-token-efficient.sh |
Standalone token-efficient MCP installer |
More from ingpoc/skills
scroll-storyteller
Use when creating interactive scroll-based storytelling experiences with mouse-following spotlight effects, animated SVG art, and the Anthropic design language. Load for explainer pages, product showcases, visual narratives, or any content needing immersive scroll storytelling with organic shapes and smooth animations. Supports GSAP-powered or lightweight CSS-only animations.
124terminal-ui-design
Use when creating CLI tools, terminal user interfaces (TUI), or any command-line applications. Load for terminal UI design, ASCII art, color schemes, box drawing characters, and polished terminal output. Also use for refactoring boring CLIs into distinctive experiences.
34browser-testing
Use when testing web applications, debugging browser console errors, automating form interactions, or verifying UI implementations. Load for localhost testing, authenticated app testing (Gmail, Notion), or recording demo GIFs. Requires Chrome extension 1.0.36+, Claude Code 2.0.73+, paid plan.
21tufte-slide-design
This skill applies Edward Tufte's data visualization principles from "The Visual Display of Quantitative Information" to create high-impact slides. Use when designing presentations, creating charts/graphs, reviewing slides for clarity, or transforming data into visual displays. Triggers on phrases like "make a slide", "create presentation", "design chart", "visualize data", "review my slides", or "make this more impactful".
20postgresql-skill
This skill provides PostgreSQL-specific patterns for database design, optimization, and transaction management
13token-efficient
Use when processing 50+ items, analyzing CSV/log files, executing code in sandbox, or searching for tools. Load for data processing tasks. Achieves 98%+ token savings via in-sandbox execution, progressive disclosure, and pagination. Supports heredocs for multi-line bash.
12