The Skill Seeker MCP server now supports automatic detection and configuration of multiple AI coding agents. This guide explains how to use the enhanced setup_mcp.sh script to configure all your installed AI agents at once.
The setup script automatically detects and configures:
| Agent | Transport | Config Path (macOS) |
|---|---|---|
| Claude Code | stdio | ~/.claude.json |
| Cursor | HTTP | ~/Library/Application Support/Cursor/mcp_settings.json |
| Windsurf | HTTP | ~/Library/Application Support/Windsurf/mcp_config.json |
| VS Code + Cline | stdio | ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json |
| IntelliJ IDEA | HTTP (XML) | ~/Library/Application Support/JetBrains/IntelliJIdea2024.3/mcp.xml |
Note: Paths vary by operating system. The script automatically detects the correct paths for Linux, macOS, and Windows.
# Run the setup script
./setup_mcp.shThe script will:
- ✅ Check Python version (3.10+ recommended)
- ✅ Verify repository path
- ✅ Install dependencies (with virtual environment option)
- ✅ Test both stdio and HTTP transports
- ✅ Detect installed AI agents automatically
- ✅ Configure all detected agents
- ✅ Start HTTP server if needed
- ✅ Validate configurations
- ✅ Provide next steps
Automatic Agent Detection:
- Scans your system for installed AI coding agents
- Shows which agents were found and their transport types
- Allows you to configure all agents or select individually
Smart Configuration:
- Creates backups before modifying existing configs
- Merges with existing configurations (preserves other MCP servers)
- Detects if skill-seeker is already configured
- Uses appropriate transport (stdio or HTTP) for each agent
HTTP Server Management:
- Automatically starts HTTP server if HTTP-based agents detected
- Configurable port (default: 3000)
- Background process with health monitoring
- Optional systemd service support (future)
$ ./setup_mcp.sh
Step 5: Detecting installed AI coding agents...
Detected AI coding agents:
✓ Claude Code (stdio transport)
Config: /home/user/.config/claude-code/mcp.json
✓ Cursor (HTTP transport)
Config: /home/user/.cursor/mcp_settings.json
Step 6: Configure detected agents
==================================================
Which agents would you like to configure?
1. All detected agents (recommended)
2. Select individual agents
3. Skip auto-configuration (manual setup)
Choose option (1-3): 1
Configuring all detected agents...
HTTP transport required for some agents.
Enter HTTP server port [default: 3000]: 3000
Using port: 3000
Configuring Claude Code...
✓ Config created
Location: /home/user/.config/claude-code/mcp.json
Configuring Cursor...
⚠ Config file already exists
✓ Backup created: /home/user/.cursor/mcp_settings.json.backup.20251223_143022
✓ Merged with existing config
Location: /home/user/.cursor/mcp_settings.json
Step 7: HTTP Server Setup
==================================================
Some configured agents require HTTP transport.
The MCP server needs to run in HTTP mode on port 3000.
Options:
1. Start server now (background process)
2. Show manual start command (start later)
3. Skip (I'll manage it myself)
Choose option (1-3): 1
Starting HTTP server on port 3000...
✓ HTTP server started (PID: 12345)
Health check: http://127.0.0.1:3000/health
Logs: /tmp/skill-seekers-mcp.log
Setup Complete!$ ./setup_mcp.sh
Step 6: Configure detected agents
==================================================
Which agents would you like to configure?
1. All detected agents (recommended)
2. Select individual agents
3. Skip auto-configuration (manual setup)
Choose option (1-3): 2
Select agents to configure:
Configure Claude Code? (y/n) y
Configure Cursor? (y/n) n
Configure Windsurf? (y/n) y
Configuring 2 agent(s)...$ ./setup_mcp.sh
Step 5: Detecting installed AI coding agents...
No AI coding agents detected.
Supported agents:
• Claude Code (stdio)
• Cursor (HTTP)
• Windsurf (HTTP)
• VS Code + Cline extension (stdio)
• IntelliJ IDEA (HTTP)
Manual configuration will be shown at the end.
[... setup continues ...]
Manual Configuration Required
No agents were auto-configured. Here are configuration examples:
For Claude Code (stdio):
File: ~/.config/claude-code/mcp.json
{
"mcpServers": {
"skill-seeker": {
"command": "python3",
"args": [
"/path/to/Skill_Seekers/src/skill_seekers/mcp/server_fastmcp.py"
],
"cwd": "/path/to/Skill_Seekers"
}
}
}
For Cursor/Windsurf (HTTP):
1. Start HTTP server:
python3 -m skill_seekers.mcp.server_fastmcp --http --port 3000
2. Add to agent config:
{
"mcpServers": {
"skill-seeker": {
"url": "http://localhost:3000/sse"
}
}
}Generated Config:
{
"mcpServers": {
"skill-seeker": {
"command": "python",
"args": ["-m", "skill_seekers.mcp.server_fastmcp"]
}
}
}Features:
- Each agent gets its own server process
- No network configuration needed
- More secure (local only)
- Faster startup (~100ms)
Generated Config (JSON):
{
"mcpServers": {
"skill-seeker": {
"url": "http://localhost:3000/sse"
}
}
}Generated Config (XML for IntelliJ):
<?xml version="1.0" encoding="UTF-8"?>
<application>
<component name="MCPSettings">
<servers>
<server>
<name>skill-seeker</name>
<url>http://localhost:3000</url>
<enabled>true</enabled>
</server>
</servers>
</component>
</application>Features:
- Single server process for all agents
- Network-based (can be remote)
- Health monitoring endpoint
- Requires server to be running
The setup script preserves existing MCP server configurations:
Before (existing config):
{
"mcpServers": {
"filesystem": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-filesystem", "/tmp"]
}
}
}After (merged config):
{
"mcpServers": {
"filesystem": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-filesystem", "/tmp"]
},
"skill-seeker": {
"command": "python",
"args": ["-m", "skill_seekers.mcp.server_fastmcp"]
}
}
}Safety Features:
- ✅ Creates timestamped backups before modifying
- ✅ Detects if skill-seeker already exists
- ✅ Asks for confirmation before overwriting
- ✅ Validates JSON after writing
Option 1: During setup (recommended)
./setup_mcp.sh
# Choose option 1 when prompted for HTTP serverOption 2: Manual start
# Foreground (for testing)
python3 -m skill_seekers.mcp.server_fastmcp --http --port 3000
# Background (for production)
nohup python3 -m skill_seekers.mcp.server_fastmcp --http --port 3000 > /tmp/skill-seekers-mcp.log 2>&1 &Health Check:
curl http://localhost:3000/healthResponse:
{
"status": "healthy",
"server": "skill-seeker-mcp",
"version": "2.1.1",
"transport": "http",
"endpoints": {
"health": "/health",
"sse": "/sse",
"messages": "/messages/"
}
}View Logs:
tail -f /tmp/skill-seekers-mcp.logStop Server:
# If you know the PID
kill 12345
# Find and kill
pkill -f "skill_seekers.mcp.server_fastmcp"Problem: Your agent is installed but not detected.
Solution:
-
Check if the agent's config directory exists:
# Claude Code (macOS) ls ~/Library/Application\ Support/Claude/ # Cursor (Linux) ls ~/.cursor/
-
If directory doesn't exist, the agent may not be installed or uses a different path.
-
Manual configuration:
- Note the actual config path
- Create the directory if needed
- Use manual configuration examples from setup script output
Problem: Error merging with existing config.
Solution:
-
Check the backup file:
cat ~/.config/claude-code/mcp.json.backup.20251223_143022 -
Manually edit the config:
nano ~/.config/claude-code/mcp.json -
Ensure valid JSON:
jq empty ~/.config/claude-code/mcp.json
Problem: HTTP server fails to start on configured port.
Solution:
-
Check if port is already in use:
lsof -i :3000
-
Kill process using the port:
lsof -ti:3000 | xargs kill -9
-
Use a different port:
python3 -m skill_seekers.mcp.server_fastmcp --http --port 8080
-
Update agent configs with new port.
Problem: HTTP-based agent shows connection errors.
Solution:
-
Verify server is running:
curl http://localhost:3000/health
-
Check server logs:
tail -f /tmp/skill-seekers-mcp.log
-
Restart the server:
pkill -f skill_seekers.mcp.server_fastmcp python3 -m skill_seekers.mcp.server_fastmcp --http --port 3000 & -
Check firewall settings (if remote connection).
# During setup, enter custom port when prompted
Enter HTTP server port [default: 3000]: 8080
# Or modify config manually after setup
{
"mcpServers": {
"skill-seeker": {
"url": "http://localhost:8080/sse"
}
}
}Virtual Environment (Recommended):
# Setup creates/activates venv automatically
./setup_mcp.sh
# Config uses Python module execution
"command": "python",
"args": ["-m", "skill_seekers.mcp.server_fastmcp"]System Install:
# Install globally via pip
pip install skill-seekers
# Config uses CLI command
"command": "skill-seekers",
"args": ["mcp"]If you need different ports for different agents:
-
Start multiple server instances:
# Server 1 for Cursor python3 -m skill_seekers.mcp.server_fastmcp --http --port 3000 & # Server 2 for Windsurf python3 -m skill_seekers.mcp.server_fastmcp --http --port 3001 &
-
Configure each agent with its own port:
// Cursor config {"url": "http://localhost:3000/sse"} // Windsurf config {"url": "http://localhost:3001/sse"}
Note: Usually not necessary - one HTTP server can handle multiple clients.
Use the Python API directly:
from skill_seekers.mcp.agent_detector import AgentDetector
detector = AgentDetector()
# Detect all installed agents
agents = detector.detect_agents()
print(f"Found {len(agents)} agents:")
for agent in agents:
print(f" - {agent['name']} ({agent['transport']})")
# Generate config for specific agent
config = detector.generate_config(
agent_id="cursor",
server_command="skill-seekers mcp",
http_port=3000
)
print(config)
# Check if agent is installed
if detector.is_agent_installed("claude-code"):
print("Claude Code detected!")After setup completes:
Important: Completely quit and reopen (don't just close window).
Try these commands in your agent:
List all available configs
Expected: List of 24+ preset configurations
Generate config for React at https://react.dev
Expected: Generated React configuration
Validate configs/godot.json
Expected: Validation results
Estimate pages for configs/react.json
Scrape documentation using configs/vue.json with max 20 pages
Package the skill at output/react/
# Check server health
curl http://localhost:3000/health
# Expected output:
{
"status": "healthy",
"server": "skill-seeker-mcp",
"version": "2.1.1",
"transport": "http"
}If you previously used setup_mcp.sh, the new version is fully backward compatible:
Old behavior:
- Only configured Claude Code
- Manual stdio configuration
- No HTTP support
New behavior:
- Detects and configures multiple agents
- Automatic transport selection
- HTTP server management
- Config merging (preserves existing servers)
Migration steps:
- Run
./setup_mcp.sh - Choose "All detected agents"
- Your existing configs will be backed up and merged
- No manual intervention needed
After successful setup:
- Read the MCP Setup Guide: docs/MCP_SETUP.md
- Learn HTTP Transport: docs/HTTP_TRANSPORT.md
- Explore Agent Detection: src/skill_seekers/mcp/agent_detector.py
- Try the Quick Start: QUICKSTART.md
- MCP Setup Guide - Detailed MCP integration guide
- HTTP Transport - HTTP transport documentation
- Agent Detector API - Python API reference
- README - Main documentation
For issues or questions:
- GitHub Issues: https://github.com/yusufkaraaslan/Skill_Seekers/issues
- GitHub Discussions: https://github.com/yusufkaraaslan/Skill_Seekers/discussions
- MCP Documentation: https://modelcontextprotocol.io/
- ✅ Multi-agent auto-detection
- ✅ Smart configuration merging
- ✅ HTTP server management
- ✅ Backup and safety features
- ✅ Cross-platform support (Linux, macOS, Windows)
- ✅ 5 supported agents (Claude Code, Cursor, Windsurf, VS Code + Cline, IntelliJ)
- ✅ Automatic transport selection (stdio vs HTTP)
- ✅ Interactive and non-interactive modes