ai-company-mcp
by IM-D311
README.md
# AI Company MCP Server
> **AI Knowledge & Skills Server** โ Expose your entire AI knowledge base to any MCP client.
[](https://www.npmjs.com/package/ai-company-mcp)
[](LICENSE)
[](https://nodejs.org)
A production-ready [Model Context Protocol (MCP)](https://modelcontextprotocol.io) server that acts as your AI knowledge and skills hub. It automatically discovers, indexes, and serves your skill library to any MCP-compatible client.
## โจ Features
- ๐ **Automatic Skill Discovery** โ Drop folders into `knowledge/skills/` and they're instantly available
- ๐ **Full-Text Search** โ TF-IDF powered search with relevance ranking and filtering
- ๐ **Rich Metadata** โ YAML frontmatter parsing with automatic inference
- ๐ **Hot Reload** โ File watcher automatically reindexes on changes
- ๐ **17 MCP Tools** โ List, search, get, recommend, validate, export, and more
- ๐ **10 MCP Prompts** โ Frontend, backend, React, testing, architecture, and more
- ๐ฆ **MCP Resources** โ Browse skills, metadata, categories, tags via resource API
- โก **High Performance** โ In-memory index, caching, lazy loading
- ๐ **Cross-Platform** โ Windows, Linux, macOS
- ๐ **Runs Locally** โ No network, no external services, your data stays private
## ๐ Quick Start
```bash
# Run directly (no installation)
npx ai-company-mcp
```
Or install globally:
```
npm install -g ai-company-mcp
ai-company-mcp
```
## ๐ Skill Structure
Create skill directories in `knowledge/skills/`:
```
knowledge/skills/
โโโ react-patterns/
โโโ SKILL.md # Primary file
โโโ examples.md # Additional files
```
Each skill's markdown file supports YAML frontmatter:
```
---
name: react-patterns
description: Common React patterns and best practices
category: frontend
tags: [react, patterns, hooks]
priority: high
difficulty: intermediate
---
```
## ๐ Client Configuration
### OpenCode
```
{
"mcp": {
"ai-company": {
"command": "npx",
"args": ["-y", "ai-company-mcp"]
}
}
}
```
### Claude Desktop
```
{
"mcpServers": {
"ai-company": {
"command": "npx",
"args": ["-y", "ai-company-mcp"]
}
}
}
```
### Cursor / VS Code / Windsurf
See [`examples/`](https://./examples/) for all client configurations.
## ๐ Available Tools
| Tool โโพ | Description โโพ |
|---|---|
| โ`list_skills` | List all skills with filtering |
| โ`search_skills` | Full-text search with ranking |
| โ`get_skill` | Get complete skill details |
| โ`recommend_skills` | Find related skills |
| โ`list_categories` | List all categories |
| โ`list_tags` | List all tags |
| โ`reload_index` | Force reindex from disk |
| โ`validate_skill` | Validate skill structure |
| โ`summarize_skill` | Generate skill summary |
| โ`explain_skill` | Detailed skill explanation |
| โ`find_related_skills` | Tag-based related skills |
| `find_best_skill` | Best match for a task |
| `export_skill` | Export in markdown/JSON/text |
| `export_index` | Export full index as JSON |
| `statistics` | Knowledge base stats |
| `health` | Server health check |
| `ping` | Connectivity check |
โ
## โ๏ธ Configuration
```
# Environment variables
MCP_SKILLS_PATH=./my-skills
MCP_WATCH_ENABLED=true
MCP_LOG_LEVEL=debug
# CLI arguments
npx ai-company-mcp --skills-path=./my-skills --watch=false
# JSON config file (mcp-config.json)
{
"skillsPath": "./my-skills",
"watchEnabled": true,
"logLevel": "debug"
}
```
See [docs/configuration.md](https://./docs/configuration.md) for full options.
## ๐ Documentation
- [Usage Guide](https://./docs/usage.md)
- [Configuration](https://./docs/configuration.md)
- [Architecture](https://./docs/architecture.md)
- [Development](https://./docs/development.md)
- [Troubleshooting](https://./docs/troubleshooting.md)
## ๐งช Development
```
git clone <repo-url>
cd ai-company-mcp
npm install
npm run dev # Hot reload development mode
npm test # Run tests
npm run build # Production build
```
## ๐ License
MIT โ see [LICENSE](https://LICENSE) for details.
This server cannot be deployed
Maintenance
ActivityMaintained
ResponsivenessSyncing