ideconnect
v1.0.3
Published
Free, self-hosted MCP server for shared project context across AI IDEs
Maintainers
Readme
IDEConnect
A free, self-hosted Model Context Protocol (MCP) server that provides shared, persistent project context across multiple AI IDEs.
What Is IDEConnect?
IDEConnect creates a "shared project brain" so that all IDEs and AI agents understand the same project scope, architecture, constraints, and decisions without relying on chat history.
Key Concept: Project Context vs Chat History
IDEConnect provides project context (what your project is), not chat history (what you've discussed). Each IDE maintains separate conversations, but all IDEs understand your project the same way.
Example: You chat in Cursor about authentication → Chat stays in Cursor. You open Kiro → Kiro understands your project architecture (from IDEConnect) but does NOT see your Cursor chat.
What IDEConnect Offers
1. Consistent Project Understanding
All your AI IDEs (Cursor, Kiro, Antigravity, Claude Desktop) understand:
- Project Overview - Purpose, scope, goals, stakeholders
- Architecture - System design, components, data flow, patterns
- Constraints - Technical limits, business rules, resource constraints
- Decisions - Architectural decisions with rationale
- Roadmap - Future plans and milestones
2. Zero Manual Configuration
One command sets up everything - auto-detects IDEs, configures them automatically, creates templates, and generates file injection.
3. File-Based Storage
Deterministic, version-controlled, human-readable markdown files. No database needed - simple, reliable, portable.
4. IDE-Agnostic
Works with Cursor (native MCP), Claude Desktop (native MCP), Kiro (file injection), Antigravity (CLI adapter), and any IDE via adapters.
5. Free & Self-Hosted
No external services, no paid APIs, no cloud dependencies - 100% local and private.
Installation
Prerequisites: Node.js 18 or higher, npm or yarn
Install from npm (Recommended):
npm install -g ideconnectThen in your project directory:
ideconnect setupThis automatically:
- Checks Node.js version
- Installs all dependencies
- Creates
.ideconnect/directory - Initializes context file templates
- Auto-detects and configures your IDEs
- Generates file injection for non-MCP IDEs
After Installation:
Edit context files in
.ideconnect/to document your project:overview.md- Project purpose, scope, goalsarchitecture.md- System design, componentsconstraints.md- Technical and business limitsdecisions.md- Architectural decisionsroadmap.md- Future plans (optional)
Restart your IDE to load IDEConnect
Start using context-aware AI assistance!
IDE Configuration
The setup script automatically configures Cursor and Claude Desktop. If automatic configuration fails, manually add to your IDE's config:
Cursor - Edit ~/.cursor/mcp.json:
{
"mcpServers": {
"ideconnect": {
"command": "node",
"args": ["/absolute/path/to/ideconnect/server/index.js"]
}
}
}Claude Desktop - Edit your platform's config file:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json - Linux:
~/.config/claude/claude_desktop_config.json
{
"mcpServers": {
"ideconnect": {
"command": "node",
"args": ["/absolute/path/to/ideconnect/server/index.js"]
}
}
}Non-MCP IDEs (Kiro, Antigravity, etc.)
Option 1: File Injection - IDEConnect generates .ideconnect-context.json automatically. Your IDE can read this file.
Option 2: CLI Adapter:
node adapters/cli/ideconnect-cli.js get-overviewHow It Works
Architecture: AI IDEs → MCP Protocol → IDEConnect Server → .ideconnect/ Files
- IDE starts and calls MCP tools
- IDEConnect Server reads markdown files from
.ideconnect/ - Returns structured JSON with project context
- AI uses context for all responses
Context Files: IDEConnect reads from .ideconnect/ directory:
overview.md- Project overviewarchitecture.md- System architectureconstraints.md- Project constraintsdecisions.md- Architectural decisionsroadmap.md- Roadmap (optional)
Available MCP Tools:
get_project_context- Get complete project contextget_overview- Get project overviewget_architecture- Get architecture documentationget_constraints- Get project constraintsget_decisions- Get recorded decisionsget_roadmap- Get roadmap (optional)
Common Issues & Troubleshooting
Setup Fails - npm run install fails
- Check Node.js version:
node --version(must be 18+) - Ensure write permissions in project directory
- Try running with administrator/sudo if needed
- Check if
.ideconnect/directory already exists (delete and retry)
IDE Not Detected - Setup says "No IDEs detected"
- This is okay - setup will still attempt to configure common IDEs
- Manually configure your IDE (see IDE Configuration above)
- Verify IDE config file location exists
IDE Not Connecting - IDE doesn't connect to IDEConnect
- Verify MCP server path in IDE config matches actual location (use absolute path)
- Check server dependencies:
cd server && npm install - Test server manually:
node server/index.js(should start without errors) - Restart IDE after configuration changes
- Check IDE logs for connection errors
Context Files Not Found - MCP tools return "file not found"
- Verify
.ideconnect/directory exists:ls .ideconnect - Re-initialize context:
node scripts/init.js - Check you're in project root when running commands
- Verify file permissions - ensure files are readable
Server Won't Start - MCP server crashes or won't start
- Verify dependencies installed:
cd server && npm install - Check Node.js version:
node --version(must be 18+) - Test server directly:
node server/index.js(look for error messages) - Check file paths in server code match your system
IDE Shows Old Context - Changes to context files not reflected
- No restart needed - changes are immediate
- Verify file was saved correctly
- Check file encoding - should be UTF-8
- Restart IDE if still not working
File Injection Not Working - .ideconnect-context.json not generated
- Run manually:
node adapters/file-inject/inject.js - Check
.ideconnect/directory exists - Verify write permissions in project directory
Multiple Projects - How to use IDEConnect with multiple projects?
- Each project has its own
.ideconnect/directory - IDEConnect searches up directory tree to find context
- Works automatically - no configuration needed per project
Team Collaboration - How to share context with team?
- Commit
.ideconnect/to git (recommended) - Team members pull updates
- Context files are version controlled
- No sync needed - file-based, deterministic
Privacy Concerns - Worried about storing project context
- All local - no external services
- File-based - you control everything
- Version control - use
.gitignoreif needed - No chat history - only project context stored
Verification
Check that everything is working:
npm run verifyThis checks:
- ✅ Context files exist
- ✅ IDE configurations are correct
- ✅ MCP server is ready
- ✅ File injection is valid
Project Structure
ideconnect/
├── server/ # MCP server implementation
│ ├── index.js # Main server
│ ├── tools/ # Context tools
│ └── package.json # Dependencies
├── .ideconnect/ # Context storage (created by setup)
│ ├── overview.md
│ ├── architecture.md
│ ├── constraints.md
│ ├── decisions.md
│ └── roadmap.md
├── adapters/ # IDE adapters
│ ├── cli/ # CLI wrapper
│ └── file-inject/ # File injection
├── scripts/ # Setup scripts
│ ├── setup.js # Automated setup
│ ├── init.js # Initialize context
│ └── verify.js # Verification
└── README.md # This fileRequirements
- Node.js: 18 or higher
- npm: Any recent version
- Operating System: Windows, macOS, or Linux
License
MIT
Contributing
This is a self-hosted tool. Fork, modify, and use as needed for your projects.
Support
For issues:
- Check "Common Issues" section above
- Verify installation with
npm run verify - Check IDE logs for error messages
- Ensure Node.js 18+ is installed
