This guide covers setting up TachiBot MCP specifically for Claude Code (the CLI tool).
-
Install dependencies:
cd tachibot-mcp npm install -
Build the project:
npm run build
This compiles TypeScript to JavaScript in the
dist/directory.
Claude Code configuration is at: ~/.config/claude-code/config.json
Edit the config file and add the tachibot-mcp server:
{
"mcpServers": {
"tachibot-mcp": {
"command": "node",
"args": ["/FULL/ABSOLUTE/PATH/TO/tachibot-mcp/dist/src/server.js"],
"env": {
"PERPLEXITY_API_KEY": "your-actual-key-here",
"GROK_API_KEY": "your-actual-key-here",
"OPENAI_API_KEY": "your-actual-key-here",
"GOOGLE_API_KEY": "your-gemini-key-here",
"OPENROUTER_API_KEY": "your-key-here"
}
}
}
}Critical:
- Replace
/FULL/ABSOLUTE/PATH/TO/with your actual absolute path - Example:
/Users/yourname/Documents/tachibot-mcp/dist/src/server.js - Do NOT use relative paths like
./dist/src/server.jsor~/tachibot-mcp/...
In Claude Code, run:
/mcp
This will attempt to connect to all configured MCP servers.
Problem: Server fails to start or connect
Solutions:
-
Verify the build:
cd tachibot-mcp ls -la dist/src/server.jsIf the file doesn't exist, run
npm run build -
Check the path in config:
- Must be an absolute path
- File must exist at that path
- Use
pwdin the tachibot-mcp directory to get the full path
-
Test the server manually:
cd tachibot-mcp node dist/src/server.jsShould start without errors and show "🚀 TachiBot MCP Server"
-
Restart Claude Code:
- Exit Claude Code completely
- Start a new session
- Run
/mcpagain
This is normal if you haven't created a tools.config.json file. The server will use all tools by default.
To customize, create tools.config.json:
{
"activeProfile": "balanced"
}See TOOL_PROFILES.md for profile options.
You can control which tools are loaded using profiles:
In your config.json:
{
"mcpServers": {
"tachibot-mcp": {
"command": "node",
"args": ["/path/to/dist/src/server.js"],
"env": {
"TACHIBOT_PROFILE": "minimal",
"PERPLEXITY_API_KEY": "...",
...
}
}
}
}| Profile | Tools | Tokens | Best For |
|---|---|---|---|
minimal |
8 | ~4-5k | Quick tasks, learning |
research_power |
15 | ~9-10k | Research, brainstorming |
code_focus |
13 | ~8-9k | Development, debugging |
balanced |
17 | ~10-11k | General-purpose (default) |
full |
26 | ~18-19k | Maximum capability |
When working on the tachibot-mcp codebase:
-
Make changes to TypeScript files in
src/ -
Rebuild:
npm run build
-
Reconnect in Claude Code:
/mcpOr restart Claude Code entirely
Get your API keys from:
- Perplexity: https://www.perplexity.ai/settings/api
- Grok (xAI): https://console.x.ai/
- OpenAI: https://platform.openai.com/api-keys
- Google (Gemini): https://makersuite.google.com/app/apikey
- OpenRouter: https://openrouter.ai/keys
See API_KEYS.md for pricing and free tier information.
- Check TOOLS_REFERENCE.md for complete tool documentation
- See WORKFLOWS.md to create custom multi-step AI workflows
- Review CONFIGURATION.md for advanced settings
If you encounter issues:
- Check server logs when running manually:
node dist/src/server.js - Verify all paths are absolute, not relative
- Ensure
npm run buildcompleted successfully - Review the GitHub Issues