project-intelligence-skill
v1.2.0
Published
MCP server for intelligent next-action suggestions, strategic questioning, and planning
Maintainers
Readme
Project Intelligence Skill
Local-first MCP server that inspects your repository and returns prioritized next actions, strategic questions, and phased implementation plans — with copy-paste prompts your AI assistant can run immediately.
Works with Cursor, Claude Desktop, Windsurf, VS Code, Cline, and Claude Code.
Table of contents
- Quick start
- What it does
- Tools
- Prompts
- Installation
- Manual configuration
- Supported clients
- Troubleshooting
- Development
- Privacy
- Contributing
- License
Quick start
# Install and auto-configure detected IDEs (recommended)
npm install -g project-intelligence-skill
# Or try without installing globally
npx -y project-intelligence-skill setupRestart your editor, then ask your AI assistant to use Project Intelligence — for example:
"Run a project health check on this repo and suggest the top 5 next actions."
No API keys required. Analysis runs locally against files on disk.
What it does
Your repo → Project Analyzer → Generators → MCP tools / prompts
│ │
├─ structure ├─ prioritized actions
├─ security ├─ strategic questions
├─ tests / CI └─ phased plans + risks
└─ dependenciesThe server reads project files (respecting .gitignore), detects framework and maturity signals, and produces actionable output — not generic advice.
Tools
| Tool | Description |
|------|-------------|
| suggest_next_actions | 4–5 prioritized improvements with full implementation prompts (security, testing, CI, UX, performance, …) |
| generate_strategic_questions | Clarifying questions in planning, agent, or asking mode |
| generate_plan | Phased plan for a goal with pre-planning questions, risks, and mitigations |
suggest_next_actions
{
"projectPath": "/path/to/your/project",
"count": 5,
"focusArea": "all",
"currentTask": "adding authentication"
}focusArea: security · performance · testing · deployment · ui-ux · feature · all
generate_strategic_questions
{
"projectPath": "/path/to/your/project",
"mode": "planning",
"count": 5,
"topic": "deployment strategy",
"userInput": "We need to ship to production next week"
}mode: planning (strategy) · agent (implementation) · asking (requirements)
generate_plan
{
"projectPath": "/path/to/your/project",
"goal": "Add comprehensive test coverage",
"timeframe": "this-sprint",
"constraints": "Solo developer, no staging environment"
}timeframe: today · this-week · this-sprint · this-month · this-quarter
Prompts
Built-in MCP prompts wrap the tools for faster discovery in compatible clients:
| Prompt | Use when |
|--------|----------|
| plan-feature | You have a goal and need a phased implementation plan |
| discover-requirements | You need requirements-clarification questions before building |
| project-health-check | You want a full audit and prioritized next actions |
Installation
Prerequisites
- Node.js 18+ (download)
- An MCP-compatible editor (see supported clients)
npm (recommended)
Global — available in every project:
npm install -g project-intelligence-skillPer-project — writes config into the current repo:
npm install project-intelligence-skillAuto-setup
postinstall detects your OS and installed editors, then merges a server entry into the right MCP config files — without removing your existing servers.
| Install type | Where config is written |
|--------------|-------------------------|
| Global (-g) | User-level paths (~/.cursor/mcp.json, Claude Desktop, …) |
| Local | Project paths (.cursor/mcp.json, .vscode/mcp.json, …) plus global desktop apps |
Opt out (CI, corporate machines, manual control):
PROJECT_INTELLIGENCE_SKIP_SETUP=1 npm install project-intelligence-skillManual setup (preview, single client, or force overwrite):
npx project-intelligence-skill setup
npx project-intelligence-skill setup --dry-run # preview changes
npx project-intelligence-skill setup --force # overwrite existing entry
npx project-intelligence-skill setup --client cursorImportant: Restart your IDE after install or setup so it reloads MCP configuration.
From source
git clone https://github.com/imgul/project-intelligence-skill.git
cd project-intelligence-skill
npm install
npm run build
npm run setupManual configuration
Use this if auto-setup was skipped or you prefer to edit configs yourself.
Cursor / Claude Desktop / Windsurf / Claude Code (mcpServers):
{
"mcpServers": {
"project-intelligence": {
"command": "npx",
"args": ["-y", "[email protected]"],
"description": "AI-powered project intelligence: next actions, strategic questions, and planning"
}
}
}VS Code workspace (.vscode/mcp.json — note servers, not mcpServers):
{
"servers": {
"project-intelligence": {
"type": "stdio",
"command": "npx",
"args": ["-y", "[email protected]"]
}
}
}Ready-made samples: docs/cursor-config.json · docs/claude-desktop-config.json · docs/.vscode/mcp.json
Supported clients
| Client | Global config | Project config | Schema key |
|--------|---------------|----------------|------------|
| Cursor | ~/.cursor/mcp.json | .cursor/mcp.json | mcpServers |
| Claude Desktop | %APPDATA%/Claude/claude_desktop_config.json (Windows) · ~/Library/Application Support/Claude/… (macOS) | — | mcpServers |
| Windsurf | ~/.codeium/windsurf/mcp_config.json | .windsurf/mcp.json | mcpServers |
| VS Code | settings.json → mcp.servers | .vscode/mcp.json | servers |
| Cline | VS Code globalStorage/…/cline_mcp_settings.json | — | mcpServers |
| Claude Code | ~/.claude/settings.json | .claude/settings.json | mcpServers |
Auto-setup uses deep merge: sibling servers and unrelated config keys are preserved. Existing project-intelligence entries are left untouched unless you pass --force.
Troubleshooting
| Symptom | What to try |
|---------|-------------|
| Server missing after install | Restart IDE; run npx project-intelligence-skill setup --dry-run |
| Entry already exists | npx project-intelligence-skill setup --force |
| spawn npx ENOENT | Install Node.js globally or set the full path to node in your MCP config |
| Auto-setup skipped in CI | Expected — run setup locally on your machine |
| Tools not listed in chat | Enable MCP tools in your client (e.g. Cursor Settings → Tools & MCP) |
| Red / error status in MCP panel | Check client MCP logs; verify node and npx are on the PATH your IDE sees |
Development
npm run dev # MCP server via ts-node
npm run build # Compile to dist/
npm test # Vitest
npm run lint # ESLint
npm run format:check # Prettier
npm run typecheck # tsc --noEmit
npm run setup # Configure detected IDEsProject layout
src/
analyzers/ # Project, security, UI analysis
generators/ # Actions and questions
install/ # Cross-client MCP auto-setup
tools/ # MCP tool handlers
utils/ # File scan, git, dependencies
context/ # Shared types
tests/ # Vitest + fixtures
docs/ # Sample MCP configsPrivacy
- Local analysis only — reads files from the
projectPathyou provide; no telemetry or external API calls. - Stdio transport — standard MCP over stdin/stdout; no network listener.
- Config writes — auto-setup only touches MCP JSON files; timestamped backups are created before overwrite.
Contributing
Contributions are welcome. Please:
- Fork the repo and create a feature branch
- Run
npm test,npm run lint, andnpm run format:check - Open a pull request with a clear description
See CHANGELOG.md for release history.
Releasing (maintainers)
npm publishes only when a GitHub Release is published — not on every push to main.
- Bump version in
package.jsonand updateCHANGELOG.md - Push to
mainand create a release tag matching the version (e.g.v1.2.0) - GitHub Actions runs tests and publishes to npm (requires
NPM_TOKENrepository secret)
License
MIT © contributors
