Imperal MCP
概要
作者による説明(英語の原文)
Build, validate, smoke-test & deploy Imperal declarative IR apps from any LLM or agent.
PopNx MCPの3つの柱
この3つを1つのスコアにまとめることはしません。意見、測定、人気はそれぞれ別のものだからです。
- 利用者の声iレビューはまだありませんレビューは今後のステップで、アカウント機能と一緒に始まります
- 私たちの基本チェックi1項目中1項目に合格公開情報からチェック。コードはまだスキャンしていません
- 利用状況i初期↓ 1673/週 · ★ –
できること
このサーバーのやさしい解説はまだ書いていません。以下はレジストリから読み取った事実です。
- 接続方法: パソコンで動く
- トランスポート: stdio
- カテゴリ: 検索・AIの記憶
- 入力が必要なもの:IMPERAL_TOKEN
インストール
使っているAIアプリを選んで、設定をコピーしてください。
インストールの前に
- 基本チェック:1項目中1項目に合格
- あなたのパソコンで、あなたのユーザーと同じ権限(ファイル、ネットワーク、アプリ)で動きます。
- 自分で入力するもの:
IMPERAL_API_URL,IMPERAL_TOKEN
「秘密」と表示された値は、あなたのアカウントの鍵です。絶対に人に教えたり、チャットに貼り付けたりしないでください。
必要なもの
- PyPIPythonのuvのインストール(uvxコマンドに必要)
どのアプリを使っていますか?
上でアプリを選んでください。選んだアプリを覚えておくので、次からはボタンに「…にインストール」と表示されます。
Claude Desktop → Settings → Developer → Edit Config を開き、claude_desktop_config.json にこれを貼り付けます
{
"mcpServers": {
"imperal": {
"command": "uvx",
"args": [
"imperal-mcp"
],
"env": {
"IMPERAL_API_URL": "your-value",
"IMPERAL_TOKEN": "your-value"
}
}
}
}ターミナルでこれを実行します
claude mcp add imperal --env IMPERAL_API_URL=your-value --env IMPERAL_TOKEN=your-value -- uvx imperal-mcp動かす前に、空欄の値を入力してください。
または、設定を自分でコピーする
プロジェクトの .cursor/mcp.json、または ~/.cursor/mcp.json に貼り付けます
{
"mcpServers": {
"imperal": {
"command": "uvx",
"args": [
"imperal-mcp"
],
"env": {
"IMPERAL_API_URL": "your-value",
"IMPERAL_TOKEN": "your-value"
}
}
}
}ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。
または、設定を自分でコピーする
プロジェクトの .vscode/mcp.json に貼り付けます
{
"servers": {
"imperal": {
"type": "stdio",
"command": "uvx",
"args": [
"imperal-mcp"
],
"env": {
"IMPERAL_API_URL": "your-value",
"IMPERAL_TOKEN": "your-value"
}
}
}
}ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。
これはパソコンで動くサーバーですが、ChatGPTがつなげるのはインターネット上のサーバーだけです。ほかのアプリを選んでください。
選んだアプリは、この端末のCookieに保存されます。アカウントは不要です。
自分で入力する値
IMPERAL_API_URLenvOverride the Imperal API base URL (default: https://auth.imperal.io). Leave unset for production.- Optional service token for CI or headless environments. When set, skips browser login. Obtain from panel.imperal.io → Developer → Access tokens.
この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。
できること
パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。
基本チェックi
誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月8日にチェック
- ✓ 合格
作者とリポジトリが一致
レジストリ名は、リポジトリを所有するGitHubアカウント imperalcloud で確認済みです
- … 未チェック
今もメンテナンスされている
このリポジトリはまだGitHubから読み取っていません
- … 未チェック
ライセンスがある
このリポジトリはまだGitHubから読み取っていません
- – 対象外
エンドポイントが応答する
これはパソコンで動くため、インターネット上のエンドポイントはありません
- – 対象外
OAuthでサインイン
パソコンで動き、代わりにローカルの設定を使います
- … 未チェック
ツールの説明に隠れた指示がない
パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです
検索・AIの記憶のほかのサーバーとの比較i
- このカテゴリのほかの5686件のうち0%よりスターが多い
- このカテゴリのほかの5686件のうち99%より最近レジストリに公開
- 基本チェックの結果が、このカテゴリのほかの5686件のうち100%と同じかそれ以上
レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。
よくある質問
Imperal MCPは安全ですか?
当てはまる基本チェック1項目のうち1項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。
どんなキーやコードが必要ですか?
入力が必要なもの:IMPERAL_TOKEN
パソコンで動きますか、それともクラウドですか?
あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。
今もメンテナンスされていますか?
GitHubリポジトリの最終更新は–、最新バージョン(0.9.11)がレジストリに届いたのは今日です。
どのアプリで使えますか?
Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにPython (uv)も必要です。
代わりに使えるものは?
同じカテゴリには:Context7, Codebase Memory, Exa
代わりの候補
同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。
カードの見方:↓ 週あたりのダウンロードi★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i
Codebase Memory
Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.
Exa
Connect AI agents to Exa for web search, content fetching, and multi-step research.
作者のREADME
READMEを開く
作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。
imperal-mcp - The Exoskeleton for Your AI Coding Agent 🐝
Stop babysitting your AI. Put it in an exoskeleton: it remembers everything, sees your whole codebase, can undo any change and can't fake a result - or hallucinate one past you. Fewer wasted tokens, fewer broken builds. Works with Claude Code, Cursor, OpenAI Codex, Gemini CLI, Windsurf, Claude Desktop, Cline and Goose.
pipx install "imperal-mcp[code]" && imperal-mcp login && imperal-mcp setup
Keep the quotes: zsh (the macOS default) reads [code] as a file pattern without them. No pipx yet? uv tool install "imperal-mcp[code]" does the same, or see Quick start.
The code tools work offline, no account needed. Memory across sessions, the kernel's frame and the hallucination check run on an Imperal Cloud account (imperal-mcp login) - sign-up is free, plans and credits: imperal.io/pricing.
The problem
AI coding agents are brilliant - and work blind:
- They forget. Every new session, every switch from Cursor to Claude Code, starts from zero. You explain your architecture again. And again.
- They burn tokens. To look at one function they read the whole 2,000-line file, then
grepthe repo and read three more files. - They hallucinate. A function that doesn't exist. A file it never opened. "I updated the caller" - which one? "All tests pass" - nobody ran them. Said with total confidence, and you only find out in production.
- They break things. They edit a shared helper without knowing who calls it, and a failed experiment leaves your working tree dirty.
The fix: put your agent in an exoskeleton
imperal-mcp wraps the agent you already use. Same model, new abilities:
| Your agent today | In the exoskeleton |
|---|---|
| Forgets everything between sessions and tools | Total memory - every step, finding and decision of every session, across terminals, IDEs, the web panel and Telegram |
| Reads whole files to find one function | X-ray vision - a live map of your code: it reads the 28 lines it needs, not 2,000 |
| Edits blind | Knows the blast radius - every caller and file a change reaches, *before* the edit |
| Leaves broken experiments behind | A safety net - invisible checkpoints; any change undone in one call, your .git untouched |
| Invents functions, files and results | Hallucination check - every name, file and result it states is matched against what it really read and ran |
| Says "done" when it isn't | A referee - a task closes only with proof the kernel saw: a diff, a check that passed, a finding with sources |
| Works alone | A team - sees your other agents working right now and talks to them |
An illustration of one task - your own numbers: token_savings() measures them in every session.
WITHOUT the exoskeleton
- cat service.py (1,800 lines) -> 72,000 chars dumped into context
- grep -rn "process_order" . -> 140 noisy matches
- read 3 more files to trace callers -> +95,000 chars burned
- edit a shared function blind -> 2 callers broken, a syntax error left behind
- "I also updated retry_backoff()" -> that function doesn't exist
- "Done, tests pass!" -> it never ran them
- open Cursor tomorrow -> total amnesia
WITH the exoskeleton
- frame -> the task, what is proven, the code around your focus, the world
- read_symbol("service.py", "Order.run") -> only the 28 lines that matter
- impact_of_change(["Order.run"]) -> every caller, before you touch a line
- checkpoint("before-refactor") -> undo in one call if it goes wrong
- task(goal, items) -> an item closes only when the kernel saw the proof
- "I also updated retry_backoff()" -> held back: no file it read holds that name
- tomorrow, any tool -> recall: the whole history is there
Hallucinations: caught before they reach you
You can't trust a sentence just because it sounds sure. So the exoskeleton doesn't trust the model's words - it checks them against the record of what actually happened in this task.
On every step, the names the agent's thinking leans on - functions, files, sizes - are matched against what the task really read, what its commands really returned and what your code map really holds. A name found nowhere comes back in the next frame as NAMED BUT NOT FOUND, before the agent builds on it.
On the final answer, the same check runs once more. Name a symbol nobody read, a file nobody opened, a size nobody measured - and the answer doesn't reach you. It goes back to the agent:
KERNEL FACTS: your answer states what the kernel did not see happen:
retry_backoff-- no file this task read and no output it got contains this name
Correct the answer to the facts, or do the missing work first.
The agent then reads the code it skipped, or corrects the claim. Either way, what you get is backed by something real.
On "done", words count for nothing: a plan item closes only on a proof the kernel measured - a diff, a check that exited 0, a finding with its sources. "Tests pass" without a test run is not a pass.
What it can't do - and we'd rather tell you: it doesn't make the model smarter. An agent can still draw a wrong conclusion from true facts. What it can no longer do is pass off what it never saw.
Powered by ICNLI - the new HTTP for AI
HTTP gave every computer one way to talk to every other. ICNLI gives people and AI agents - and agents among themselves - one way to work together that can be proven: whatever the model, whatever the tool.
[ICNLI](https://icnli.org) (Infrastructure Contextual Natural Language Interface) is the open protocol at the heart of the exoskeleton - and the reason it can promise honesty, not just speed.
Under ICNLI, an agent's work is a state the kernel can prove, not a story the model tells:
- Every step is measured. What a call read, changed or returned is recorded by the kernel - never taken from the model's words.
- Proven vs. claimed. The step frame shows what is proven and what is only claimed; a plan item is done only when its proof (a diff, a check that exited 0, a finding with sources) was seen.
- Decisions from facts. Progress, loops and stalls are computed from what the steps returned, and stated to the agent in plain words.
- One state, every surface. The same session state serves the terminal, the IDE, the web panel and Telegram.
MCP is how your agent talks to the exoskeleton. ICNLI is how the exoskeleton thinks. The specification is open (CC BY-SA 4.0) at icnli.org.
Quick start
# 1. Install (Python 3.7 - 3.14; the code map included) -- quotes required in zsh
pipx install "imperal-mcp[code]"
or: uv tool install "imperal-mcp[code]"
or: pip install "imperal-mcp[code]" only INSIDE a virtual environment: a bare pip install into the system
Python is refused on Debian 12+/Ubuntu 23.04+/Homebrew (error: externally-managed-environment)
no pipx? macOS: brew install pipx · Debian/Ubuntu: sudo apt install pipx · then: pipx ensurepath
2. Sign in to Imperal Cloud (memory, the kernel's frame, apps)
imperal-mcp login
3. Wire every shell found on this machine: server + hooks + protocol
imperal-mcp setup # Claude Code, Codex, Antigravity CLI, Gemini CLI
That's it. From the next prompt on, your agent starts each step from the kernel's frame, remembers across sessions and gets its final answer checked.
Other ways to connect
Claude Code only, in this project:
imperal-mcp claude-setup --with-hooks
Adds the imperal server to .mcp.json (keeps your entries, refuses to overwrite malformed JSON), appends the exoskeleton protocol to CLAUDE.md, and installs a PostToolUse hook that syntax-checks every Edit/Write.
Claude Code CLI:
claude mcp add imperal -- imperal-mcp
Cursor / Claude Desktop / Windsurf / Cline (.mcp.json or claude_desktop_config.json):
{
"mcpServers": { "imperal": { "command": "imperal-mcp", "args": [], "env": { "IMPERAL_WORKSPACE": "/absolute/path/to/your/repo" } } } }
Any other MCP stdio client: run imperal-mcp with IMPERAL_WORKSPACE set to your repository root.
Pricing: sign-up is free; plans and credits are on imperal.io/pricing. In imperal-mcp
only
framespends credits; every other tool is free, and the local code tools work offline.
For the geeks: how it works
The loop
- `frame` - at the start and after each change. The kernel's step frame: the task and plan with what is proven, the code around the focus from the exact graph, what the change reaches, the machines and repos, the path so far, and a DECISION section to act on first. With
imperal-mcp setup, the shell's prompt hook puts it in context automatically. - `task(goal, items)` - declare the request and the plan; an item closes only by a proof the kernel saw. An item that cannot be finished is marked blocked with the reason.
- Code -
orient->outline->read_symbol;search_code/grep_codefor exact text;impact_of_changebefore editing a shared symbol. The same tools reach a server's repo withtarget="host: "ortarget="ssh: ". - Safety -
checkpointbefore risky edits,checkpoint_diff,checkpoint_rollback;check_syntaxafter. - Memory - every call, thought and answer is written to the vault by the shell's hooks; look back with
recall,search_history,state_lens,vault_log_read. - The final check - the stop hook sends the final answer to the kernel: an answer that names a file, symbol or size the task never read is handed back to the agent, and open plan items are listed to you.
Hooks (installed by imperal-mcp setup)
| Event | What happens |
|---|---|
session-start | The session is bound to its kernel state; a missing install is reported |
prompt | Your request is recorded; the kernel's frame for this step is put in context |
post-tool | Every call and its result go to the vault; edits are syntax-checked |
stop | The final answer is checked against the facts; open plan items are named |
Tool catalog (34 tools, 4 resources, 1 prompt)
Kernel & task (Imperal Cloud)
| Tool | What it does |
|---|---|
frame(root?, target?) | The kernel's step frame - task, proofs, code around the focus, reach of the change, world, path |
task(goal, items?) | Declare the request and the plan; items close only by a measured proof |
| state_lens(section?, focus?, conversation?) | What the kernel holds, by section (law, plan, reality, memory, conversation, path) - yours or another live sessio
冒頭だけを表示しています。続きはリポジトリで読めます