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-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/ 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 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.