AgentStack
MCP verified MIT Self-run

Tkcli

mcp-faruheaisha-tkcli · by faruheaisha

AI coding context that stays accurate for the life of your project — scaffold 14 stacks (incl. MCP servers) with per-stack CLAUDE.md/AGENTS.md/cursor/windsurf/copilot rules, then keep them synced as the project evolves.

No reviews yet
0 installs
0 views
view→install

Install

$ agentstack add mcp-faruheaisha-tkcli

✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

Are you the author of Tkcli? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

English | [简体中文](README.zh.md)

tk - AI-ready project scaffolding that stays in sync

[](https://github.com/faruheaisha/tkcli/actions/workflows/ci.yml) [](https://www.npmjs.com/package/@faruhe/tkcli) [](LICENSE) [](https://nodejs.org)

tk scaffolds real projects and the AI context files that help coding agents work inside them: CLAUDE.md, AGENTS.md, Cursor rules, Windsurf rules, GitHub Copilot instructions, and Claude Code permissions.

The important part is what happens after day one: tk sync refreshes the managed region of CLAUDE.md from your real project structure and commands, while preserving your own notes.

Quick Start

npx @faruhe/tkcli quick my-app --stack nextjs
npx @faruhe/tkcli quick my-api --stack express --addons docker,ci
npx @faruhe/tkcli quick my-tool --stack mcp-server --ai-tool claude,cursor

Install globally if you use it often:

npm install -g @faruhe/tkcli
tk quick my-app --stack node-ts

What tk Generates

my-app/
|-- src/ or app/                 # Stack-specific source layout
|-- tests/                       # Starter tests where the stack uses them
|-- CLAUDE.md                    # Managed project context + user notes
|-- AGENTS.md                    # Agent operating instructions
|-- .claude/settings.json        # Claude Code permissions
|-- .cursorrules                 # Cursor rules
|-- .windsurfrules               # Windsurf rules
|-- .github/copilot-instructions.md
|-- .gitignore
|-- .editorconfig
`-- package.json / pyproject.toml / Cargo.toml / go.mod / pubspec.yaml

Use --ai-tool to keep only the rule files you actually need:

tk quick my-app --stack express --ai-tool claude
tk quick my-app --stack express --ai-tool cursor
tk quick my-app --stack express --ai-tool claude,copilot

Supported Stacks

tk supports 13 primary stacks, plus component/add-on modules such as express-prisma, docker, ci, and security.

| Stack | Dev command | Best for | |-------|-------------|----------| | node-ts | npm run dev | TypeScript services | | react-spa | npm run dev | React + Vite apps | | vue | npm run dev | Vue 3 apps | | nuxt | npm run dev | Nuxt apps | | express | npm run dev | Express APIs | | nextjs | npm run dev | Next.js full-stack apps | | fastapi | uvicorn src.main:app --reload | Python APIs | | rust | cargo run | Rust CLIs and services | | go | go run ./cmd/server | Go services | | flutter | flutter run | Flutter apps | | cli-ts | npm run dev -- hello | TypeScript CLIs | | mcp-server | npm run dev | Model Context Protocol servers | | python | python src/main.py | Python scripts and libraries |

Commands

tk quick [name]                 Scaffold a new project
tk init                         Add AI context files to an existing project
tk add                  Add a component or infra module
tk update                       Re-render maintained template files
tk sync                         Refresh CLAUDE.md from real structure
tk refresh                      Run update + sync together
tk diff                         Preview what tk update would change
tk doctor                       Diagnose a tk-managed project
tk list                         List stacks and modules
tk info                         Show version and system info

Context That Stays Accurate

CLAUDE.md is split into two regions:


**Stack:** Next.js | **Dev:** `npm run dev` | **Test:** `npm test`

## Commands
## Project Structure

## Project Notes

- Your domain rules, decisions, gotchas, and local context live here.

Run tk sync whenever the project changes, or opt into automatic syncing for Claude Code:

tk quick my-app --stack express --auto-sync

That writes a per-developer .claude/settings.local.json SessionStart hook. The file is meant to stay local, so teammates can opt in independently.

Why It Helps

Most scaffolders generate files once. tk treats AI context as something that should be maintained, because agents work better when their project map is current.

Compared with generic scaffolding tools, tk focuses on:

  • AI context files for Claude Code, Codex-compatible AGENTS.md, Cursor, Windsurf, and GitHub Copilot.
  • Per-stack Claude Code permissions, so generated settings match the project toolchain.
  • A sync loop that refreshes commands and structure from real files.
  • Existing-project support through tk init, tk update, tk sync, and tk doctor.

Development

npm run dev -- quick my-test-app
npm run build
npm test

Node.js 20 or newer is required.

License

MIT

Source & license

This open-source MCP server is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet — be the first.

Versions

  • v0.1.0 Imported from the upstream source.