JSPM

  • Created
  • Published
  • Downloads 8
  • Score
    100M100P100Q73356F
  • License Apache-2.0

Agent Input Compiler — local-first MCP server for context compilation (Cursor, Claude Code, and other MCP clients)

Package Exports

  • @jatbas/aic
  • @jatbas/aic/dist/server.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@jatbas/aic) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

@jatbas/aic

Agent Input Compiler — a local-first MCP server that compiles intent-specific project context for AI coding agents.

AIC sits between your editor and the AI model. On every message, it scans your codebase, selects only the files relevant to the current intent, and compresses them into a token-efficient prompt — so the model sees the right context without blowing the budget.

Install

Cursor (one click)

Install in Cursor

Or add manually to your global MCP config (~/.cursor/mcp.json):

{
  "mcpServers": {
    "aic": {
      "command": "npx",
      "args": ["-y", "@jatbas/aic@latest"]
    }
  }
}
/plugin marketplace add Jatbas/agent-input-compiler
/plugin install aic@aic-tools

The plugin auto-starts the MCP server and registers hooks so every project gets compiled context automatically. See Installation — Claude Code for prerequisites, direct installer, and troubleshooting.

What it does

  • Classifies intent from the user's message
  • Selects and scores files by relevance
  • Blocks secrets, excluded paths, and prompt injection strings
  • Compresses content to fit a token budget
  • Returns a bounded context package the model can reason over
  • Caches results for fast recompilation

License

Apache-2.0