MCP Servers

模型上下文协议服务器、框架、SDK 和模板的综合目录。

MCP server by HA2614

创建于 5/8/2026
更新于 about 3 hours ago
Repository documentation and setup instructions

KiraAI-MCP

KiraAI-MCP is a local project workspace for planning, codebase analysis, file exploration, machine learning assisted prompt context, and reviewable code proposals.

The default deployment uses Docker Compose and starts:

  • KiraAI app: Node backend serving the React frontend
  • Postgres with pgvector
  • Redis

Prerequisites

  • Docker and Docker Compose
  • Optional: Node.js 22 for local development
  • Codex authentication for KiraAI Code Worker and Codex based learning

Quick Start

cp .env.example .env
docker compose up --build

Open:

http://localhost:4000

The app is bound to localhost by default. The Docker setup mounts ./workspace from this repo into the app container at /workspace.

Codex CLI

You do not need VS Code or a Codex extension on the target machine. Docker installs the Codex CLI inside the app image from the npm dependencies.

Authentication is separate. KiraAI mounts CODEX_HOME_HOST into the container at /root/.codex, so the new machine needs a Codex login there before Code Worker jobs can run.

Option A, use a host Codex login:

CODEX_HOME_HOST=C:/Users/your-user/.codex

Option B, create the login from Docker:

mkdir .codex-host
docker compose run --rm -it app /app/node_modules/.bin/codex login
docker compose up --build

If the browser callback fails inside Docker, run Codex login on the host and point CODEX_HOME_HOST at that host login directory.

Working On Projects

Place projects inside ./workspace, or set this in .env:

HOST_WORKSPACE_ROOT=/absolute/path/to/projects
CONTAINER_FS_ROOT=/workspace
VITE_DEFAULT_ROOT=/workspace

On Windows you can use a path such as:

HOST_WORKSPACE_ROOT=C:/

Keep the app private unless you intentionally want another machine to access your local filesystem through KiraAI.

Configuration

Copy .env.example to .env and adjust values as needed.

Common settings:

OPENAI_API_KEY=
ANTHROPIC_API_KEY=
CODE_AI_MODEL=gpt-5.5
ML_MIND_ENABLED=true
ML_AI_PROVIDER=codex_cli
ML_EMBEDDING_PROVIDER=local_hash

Do not commit .env.

Local Development

npm ci
npm run dev

Backend only:

npm --workspace backend run dev

Frontend only:

npm --workspace frontend run dev

Quality Checks

Run the full check before publishing changes:

npm run qa

This applies the schema, checks backend syntax, runs the KiraAI prompt-selection QA suite, exercises the website learning fixture, and builds the frontend.

Useful Commands

docker compose up --build
docker compose up -d
docker compose logs -f app
docker compose down
docker compose down -v

docker compose down -v removes database volumes.

Services

  • app: Backend API and built frontend
  • postgres: Project, analysis, job, and ML storage
  • redis: Cache and coordination

Public Repo Safety

Before pushing:

git status --short
npm run qa
docker compose config

Confirm these are not staged:

  • .env
  • .claude/
  • .codex-host/
  • node_modules/
  • frontend/dist/
  • local workspace content under workspace/
快速设置
此服务器的安装指南

安装包 (如果需要)

npx @modelcontextprotocol/server-kiraai-mcp

Cursor 配置 (mcp.json)

{ "mcpServers": { "ha2614-kiraai-mcp": { "command": "npx", "args": [ "ha2614-kiraai-mcp" ] } } }