ai-company-mcp
AI Company MCP Server
AI Knowledge & Skills Server โ Expose your entire AI knowledge base to any MCP client.
A production-ready Model Context Protocol (MCP) 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
# Run directly (no installation)
npx ai-company-mcpOr 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 filesEach 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/ for all client configurations.
๐ Available Tools
Tool โโพ | Description โโพ |
โ | List all skills with filtering |
โ | Full-text search with ranking |
โ | Get complete skill details |
โ | Find related skills |
โ | List all categories |
โ | List all tags |
โ | Force reindex from disk |
โ | Validate skill structure |
โ | Generate skill summary |
โ | Detailed skill explanation |
โ | Tag-based related skills |
| Best match for a task |
| Export in markdown/JSON/text |
| Export full index as JSON |
| Knowledge base stats |
| Server health check |
| 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 for full options.
๐ Documentation
๐งช 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 for details.