aik-mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@aik-mcpsearch for typescript conventions"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
aik-mcp is an MCP server that turns a directory of Markdown files into a queryable knowledge base for any MCP-compatible AI agent — opencode, Claude Code, Cline, and others.
Write rules, skills, workflows, and templates as plain Markdown files with frontmatter. Your AI agent can then discover, read, search, and install them at runtime.
Table of Contents
Related MCP server: MinerU Document Explorer
Installation
# Run directly (no install)
npx aik-mcp
# Install globally
npm install -g aik-mcp
aik-mcp
# From a local build
git clone https://github.com/openhoat/aik-mcp.git
cd aik-mcp
npm install
npm run buildQuick start
1. Create a content directory
mkdir -p my-knowledge/rules my-knowledge/skills my-knowledge/workflows2. Add a rule
cat > my-knowledge/rules/typescript.md << 'EOF'
---
title: TypeScript Conventions
description: Coding standards for TypeScript projects
tags: [typescript, conventions]
version: "1.0.0"
compatibility: [opencode, claude-code, cline]
---
# TypeScript Conventions
- Use explicit types for public API surfaces
- Prefer `interface` over `type` for object shapes
- Use `const` assertions for literal values
EOF3. Start the server
AIK_CONTENT_DIR=./my-knowledge aik-mcp4. Configure your AI agent
See Client configuration below.
5. Ask your agent
Once connected, your agent can use tools like aik_search and aik_get to find and apply your knowledge.
Client configuration
opencode
Add to your project's .mcp.json:
{
"mcpServers": {
"aik": {
"command": "npx",
"args": ["aik-mcp"],
"env": {
"AIK_CONTENT_DIR": "/path/to/your/content",
"LOG_LEVEL": "info"
}
}
}
}Claude Code
Add to your project's .mcp.json (or ~/.claude/settings.json for global use):
{
"mcpServers": {
"aik": {
"command": "npx",
"args": ["aik-mcp"],
"env": {
"AIK_CONTENT_DIR": "/path/to/your/content",
"LOG_LEVEL": "info"
}
}
}
}Cline
Add to your cline.json or project .mcp.json:
{
"mcpServers": {
"aik": {
"command": "npx",
"args": ["aik-mcp"],
"env": {
"AIK_CONTENT_DIR": "/path/to/your/content",
"LOG_LEVEL": "info"
}
}
}
}Tip: Set
AIK_CONTENT_DIRto a shared location (Dropbox, git repo, etc.) to use the same knowledge base across projects and agents.
Environment
Variable | Description |
| Path to the content directory (default: current working directory) |
| Log level: |
CLI options
Flag | Description |
| Start in HTTP mode (default: stdio) |
| HTTP port (default: 3456) |
| Disable file watching |
MCP tools
Tool | Description |
| List content items, optionally filtered by category or tag |
| Retrieve a specific item by path (e.g. |
| Full-text fuzzy search across all content |
| Create or update a content item |
| Delete a content item |
| Install an item into the project's agent config |
| Uninstall + reinstall the latest version of an item |
| Remove an installed item from the project |
| Remove all aik-installed items from the project |
| List items currently installed in the project |
Resources
aik://{category}— list items in a category (e.g.aik://rules)aik://search?q=...— search items by keyword
When working on a task
Use
aik_listoraik_searchto find relevant contentUse
aik_getto read specific itemsApply the relevant rules, follow the workflows, and invoke skills as needed
Content structure
Content items are organized by category:
Directory | Content |
| Coding standards, workflows, conventions |
| Reusable instruction blocks |
| Multi-step workflow definitions |
| Specialized agent definitions |
| Custom command definitions |
| Project/component templates |
Adding content
Create a .md file with frontmatter in the appropriate category directory:
---
title: "My Rule"
description: "Description of the rule"
tags: [tag1, tag2]
version: "1.0.0"
compatibility: [opencode, claude-code, cline]
---
# My Rule
Content here...Development
npm install
npm run build
npm run test
npm run qaCommands reference
Script | Description |
| Compile TypeScript to |
| Run Jest test suite |
| Lint + format check (Biome + markdownlint) |
| Auto-fix lint and formatting issues |
| Run qa + build + test (same as CI) |
Contributing
Contributions are welcome! Please open an issue or submit a PR.
See the changelog for release history.
License
MIT
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/openhoat/aik-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server