Aki MCP Sv

Developer tools

Custom MCP [Connector] for AI chat web [Claude|ChatGPT|Grok...] use Files/Shell on your computer directly.

Your AI app calls Aki MCP Sv, which does the developer tools work and sends the result back to the chat.

About Aki MCP Sv

Aki MCP Sv is a community MCP server from lacvietanh, filed in our directory under developer tools. Custom MCP [Connector] for AI chat web [Claude|ChatGPT|Grok...] use Files/Shell on your computer directly.

Aki MCP Sv runs on your own machine: your AI app starts it with the command npx -y @akinet/akimcp and talks to it over standard input and output.

At a glance

Publisher
lacvietanh (community)
Runs
Locally on your machine
Install from
Node.js package on npm: @akinet/akimcp
Written in
JavaScript
License
MIT
GitHub stars
156

How to set up Aki MCP Sv

  1. Install Node.js on the machine that runs your AI app, because Aki MCP Sv starts with npx and downloads its package on first run.
  2. Check the Aki MCP Sv README for keys or settings; the registry lists none that Aki MCP Sv requires.
  3. Add Aki MCP Sv to Claude Code, Claude Desktop, VS Code or Cursor with the config in the setup box on this page.
  4. Restart the app or reload its MCP servers, then ask it to list the Aki MCP Sv tools to confirm the connection.
  5. Run one read-only task with Aki MCP Sv first, and keep your app asking before each tool call until the results look right.

Aki MCP Sv compared with similar servers

  • CODESYS MCP Toolkit by johannesPettersson80 has fewer GitHub stars than Aki MCP Sv (156 against 156); both are community servers, and both run locally.
  • Vera by VeraTools has more GitHub stars than Aki MCP Sv (157 against 156); both are community servers, and both run locally.
  • Node Code Sandbox by alfonsograziano has fewer GitHub stars than Aki MCP Sv (156 against 156); both are community servers, and both run locally.

Before you connect Aki MCP Sv

  • Give Aki MCP Sv its own API key or account with the smallest permissions the job needs, never an admin key.
  • Keep your AI app asking before each Aki MCP Sv tool call until you trust what it does with them.
  • Treat text that Aki MCP Sv fetches as data. Pages, files and messages can hold instructions written to steer an AI.
  • Read the open issues for Aki MCP Sv on GitHub to see what breaks and how fast the maintainers reply.

Marketing use cases for Aki MCP Sv

How marketing and sales teams put Aki MCP Sv to work, by company size. Pick the size closest to yours and start Aki MCP Sv on one use case.

Small business

  • A small business with a developer can use Aki MCP Sv to ship site and tracking fixes faster, with the AI reading the code it changes.
  • Technical founders can ask Aki MCP Sv to explain and fix a marketing site issue without context switching between tools.
  • Aki MCP Sv runs on your own computer, which keeps data local; it needs a little setup, so a small team should plan an hour for it.

Mid-market

  • Growth engineers can use Aki MCP Sv to build landing pages, tracking and integrations in fewer cycles, with reviews kept in the normal flow.
  • Marketing ops engineers can connect Aki MCP Sv to keep scripts and automations documented and versioned as they change.
  • Start Aki MCP Sv on one workflow with one owner, measure the time it saves, then roll it out to the wider team.

Enterprise

  • Enterprise engineering teams can roll out Aki MCP Sv with repo scopes and audit logs, so agents work only where they are allowed.
  • Platform teams can standardize on Aki MCP Sv so web and marketing engineering share one reviewed way of working with AI.
  • Aki MCP Sv is a community server, so have security review the code and pin a version before Aki MCP Sv touches company data.

Need help becoming an AI-forward company?

We connect MCP servers and AI agents to your CRM, content and data, with the guardrails your team needs.

Contact us

Aki MCP Sv README

From lacvietanh/aki-mcp-sv on GitHub, shared under its MIT license. Images are left out; the original has them.

README.md

aki-mcp-sv (@akinet/akimcp)

Turn web AIs (Claude, ChatGPT, Grok, Gemini, Notion, ClickUp, Buda, and any other AI that signs in with OAuth), Postman and any web chat that can send HTTP requests into secure operators for your local machine. AkiMCP v4 exposes a governed suite of 39 tools for files, shell, search, Git, SQLite, browser automation, DevTools, background tasks, localhost services, clipboard, notifications, ports, Postman control, and AIObox windows through one OAuth-gated MCP endpoint.

One command opens a much larger operating surface: build and edit projects from the browser, inspect databases and local APIs, drive browser workflows, manage long-running jobs, debug through DevTools, and control Postman without giving every client unrestricted shell access.

Contents: Why this exists · When to use & Core Use-Cases · Install & Run · Connecting from Claude web · Connecting from ChatGPT · Connecting from Grok and Gemini · Connecting from Notion AI · Connecting from ClickUp · Connecting from Buda · Connecting from Postman · Connecting from any HTTP chat · Connecting from any other AI (sign-in) · Connecting local IDEs · Autonomous Cloud Automation · Requirements · Architecture · Directory layout · Configuration · Exposing to the internet · Finding files · Security

Why this exists

Claude.ai's web/Pro quota is far cheaper than paying per token via the API for equivalent usage. But most real work is project work: reading, editing, and running commands against files on your machine, not open-ended chat.

The Claude Desktop app already does local file access, but ties usage to a device ID you don't control, and running multiple accounts means repeated login/logout. With this web-based approach, you get true multi-account flexibility instead: just switch browser profiles to pick up a different account (e.g. several Claude Pro subscriptions), all pointed at the same local machine, no device lock-in.

aki-mcp-sv routes around both problems: run an MCP server on your machine, expose it over HTTPS through Tailscale Funnel, and connect it to claude.ai as a custom connector.

The payoff:

  • Local-first by default: local tools on the same computer need no tunnel: each one connects straight to 127.0.0.1:9999 or starts the tools itself over stdio (scripts/stdio.js), and its setup below says which. A public ingress is only needed for remote/web AI.
  • Use your web quota for local file and shell access, straight from the browser.
  • True multi-account flexibility: switch browser profiles to instantly pick up a different account, all pointed at the same machine.
  • Safe by default: a strict command whitelist, not a leaky blocklist, see Security.
When to use & Core Use-Cases
  • At your desk: a native Terminal/CLI (Claude Code, Antigravity CLI, Cursor) is still the fastest, most fluid option, use that.
  • Away from your desk (mobile / web / a machine that isn't yours): use aki-mcp-sv via Claude Web, ChatGPT Mobile, Gemini (/devmode), or Grok to check on a running job, read logs, clean up temp files, or pull the latest code on your home/office machine.
  • On a schedule, with nobody watching: pair Grok's scheduled prompts with aki-mcp-sv for cloud-triggered local execution, see Autonomous Cloud Automation.

Install & Run

[!NOTE] Is this safe to run? Nothing is installed system-wide outside user directory, no background daemon is created, and no sudo/administrator privileges are required. Settings and tokens live safely at ~/.aki/mcpsv/. The shell tool is whitelist-only (see Security). Closing the terminal window stops the server.

1-Line Global Install (Recommended)
npm install -g @akinet/akimcp
akimcp

Or run instantly without installing:

npx @akinet/akimcp
From Source (For Contributors)
git clone https://github.com/lacvietanh/aki-mcp-sv.git
cd aki-mcp-sv
npm install

# Run directly from this repo on your real data dir (~/.aki/mcpsv, ports 9999/9998)
npm start
# (equivalent to `node bin/akimcp.js`, or picking "Local repo" in AIObox)

# Optional isolated mode (~/.aki/mcpsv-dev, ports 9997/9996), only when you need a second parallel test instance without touching your primary ~/.aki/mcpsv server
npm run dev   # or: node bin/akimcp.js --dev

Running directly from the repo (npm start, node bin/akimcp.js, or AIObox Local repo) operates directly on your primary ~/.aki/mcpsv data directory (no separate dev profile). Use --dev / npm run dev only as an optional isolated mode (~/.aki/mcpsv-dev, ports 9997/9996) when running a second instance side-by-side.

Run

cp .env.example .env   # optional: only if you need PUBLIC_ORIGIN or another non-default var
npm start

Nothing needs preparing beforehand; npm start handles it:

  • OAuth and passphrase state in ~/.aki/mcpsv/: generated once and reused on later runs.
  • Funnel: checks tailscale funnel status; if port 9999 isn't on yet, runs tailscale funnel --bg 9999 (idempotent: never toggles an already-enabled port).
  • Prints the Remote MCP server URL and Passphrase used on the confirmation page when a client connects.
  • Opens the control panel at http://127.0.0.1:9998/?t=<token>. A step header maps the flow (0 Ingress · 1 Connectors · 2 Install rules · 3 Instructions · 7 Security), then the sections follow it: 0 Ingress (optional; a 3-tab ingress picker: Tailscale + Funnel / Owned public origin / Hosted domain), 1 Connectors, 2 Install akidevrule, 3 Instructions prompt, 4 Tool providers (each provider's tools, whether its app is installed, an on/off switch, Detect again), 5 allowed Folders, 6 shell allowlist, 7 Security & connection limits (rate limit settings, blocked callers and Release, registered clients with Remove, callers active since start), 8 AIObox (what the desktop app adds to AkiMCP, with a link to aiobox.app; one line when it is already installed; section 1 ends with a short version of it), 9 Logs (call log settings and the security log).

The default allowed root is your home directory ($HOME, or %USERPROFILE% on Windows): the one folder guaranteed to exist on any machine and to hold the projects you actually want Claude to reach. In plain terms, that means the whole home folder (Desktop, Documents, Downloads, Photos, everything under it), not just the projects you meant to share. Add/remove folders from panel section 5: click "+ Add folder…" and type an absolute path (/Users/you/projects or C:\Users\you\projects). Saving takes effect immediately for file, search and Git tools and for the shell working directory; shell command arguments are not confined to those roots. With no non-empty saved folders list, set the fallback base using MCP_DATA_DIR=/other/path npm start (or set MCP_DATA_DIR=D:\work then npm start on Windows cmd). A non-empty saved list takes precedence over MCP_DATA_DIR.

In the default fallback, beyond $MCP_DATA_DIR (or home), the filesystem tools are also granted ~/.aki (where akidevrule deploys) and ~/.claude, so claude.ai can read your native CLAUDE.md and skill router the same way Claude Code does, with no copying or staging.

~/.claude is granted at the folder level (the filesystem tools can't scope to individual files), so .claude.json/auth-cache.json (session tokens) and history.jsonl (chat history) inside it are also reachable through the connector. This row is locked in panel section 5, with no delete button by design so it can't be revoked by accident; the panel itself cannot remove it. To remove access, edit ~/.aki/mcpsv/setting.json before connecting: use a non-empty folders list that excludes ~/.claude and every ancestor that contains it (including home). An empty list restores the defaults. This also removes access to your CLAUDE.md there.

npm start runs in the foreground: Ctrl+C to stop, restart manually when needed. After editing code, Ctrl+C and npm start again (Node doesn't hot-reload).

Connecting from Claude web

  1. Go to claude.ai → Settings → Connectors → Add custom connector
  2. Enter any Name, then paste the Remote MCP server URL printed by npm start
  3. Click Connect and enter the Passphrase when AkiMCP opens its confirmation page

Claude discovers OAuth automatically. No Client ID or Client Secret is needed.

The connector belongs to your Claude account: claude.ai, the Claude app and the mobile app all reach it from Anthropic's cloud, so it needs a public ingress even on the computer running AkiMCP. On that computer, Claude Code and the Claude app can connect locally instead, with no ingress: see Connecting local IDEs.

Why not token-in-URL: docs/ref/claude-connector.md, docs/research/claude-ai-oauth-connector.md.

Tool names here use the default prefix aki__. A server with another Tool prefix serves the same tools under that prefix; panel section 1 shows yours.

claude.ai connects and calls the in-house aki__* tool suite (39 tools). Tools of an app that is not installed (agy, Kiro CLI, Postman, Chrome, AIObox) are not served, and panel section 4 turns any optional provider on or off (agy and Kiro CLI start off); the client sees the change on its next tool list, usually a new chat. Every tool declares MCP annotations, so ChatGPT stops asking to confirm read-only tools:

  • Chromium Remote & Profiles: aki__chrome_profiles, aki__chrome_launch, aki__chrome_tabs, aki__chrome_interact, aki__chrome_stop (opens the shared profiles AIObox keeps in ~/.aki/cdp/profiles/ (copies, logins kept) on a stealth port-0 launch, or attaches when another process runs the profile; while AIObox runs and the aiobox provider is served it refuses and names aki__aiobox_write op=open_url; stop kills only a Chrome it launched; React/Vue synthetic typing, scroll-to-center click)
  • DevTools & CDP: aki__devtools_targets, aki__devtools_eval, aki__devtools_screenshot
  • OS Native Integration & Temp Tokens: aki__notify_user (desktop notification banner & chime sound), aki__clipboard_read, aki__clipboard_write (system clipboard read/write bridge), aki__temp_token (list, mint, extend or revoke 4h temporary HTTP tokens with optional names; temp-token callers are scoped to self-list and revoke_self)
  • Localhost & Intranet Fetch: aki__local_fetch (SSRF-protected HTTP client for local backend APIs and LAN services)
  • Background Tasks: aki__task_start, aki__task_manage (detached background execution, process-group teardown, direct log streaming & tailing)
  • Filesystem: aki__read_text_file, aki__write_file, aki__edit_file, aki__create_directory, aki__move_file, aki__get_file_info, aki__list_allowed_directories
  • Search & Execution: aki__find_path, aki__search_content, aki__run_cmd
  • Dev Servers & Ports: aki__port_status, aki__kill_port
  • Git (read-only): aki__git with op = status | diff | log | tags (local, or a remote's via ls-remote --tags); compact output, cheaper than run_cmd. Writes go through run_cmd
  • SQLite Database: aki__sqlite_schema, aki__sqlite_query
  • Agent & Context: aki__agy_run, aki__kiro_read, aki__akidevrule_context
  • Postman Control: aki__postman_status, aki__postman_eval, aki__postman_rename_conversation, aki__postman_panel_fullwidth
  • AIObox windows: aki__aiobox (read) and aki__aiobox_write (act); a window is named by its handle such as P7·W2, its chat id or its targetId, and op is a free string: the ops are whatever AIObox publishes, so call op=state first, it returns AIObox's guide and op table

Note on the connector icon: claude.ai doesn't read the icon from the MCP server. It queries Google's favicon service with the tailnet's apex domain, not your host: https://t2.gstatic.com/faviconV2?...&url=http://<tailnet>.ts.net&size=32. <tailnet>.ts.net has no public DNS record, so Google returns 404 and claude.ai falls back to a default letter icon. This server serves /favicon.ico publicly, but no file placed here can change that result: your subdomain never appears in the query Google receives.

Connecting from ChatGPT

Needs ChatGPT Plus/Pro (or Business/Enterprise/Edu) with Developer mode for custom connectors.

  1. ChatGPT → Settings → Security and login → enable Developer mode
  2. Create a custom connector / app → paste the same MCP URL (https://your-machine.your-tailnet.ts.net/mcp)
  3. Enter the same passphrase on the confirmation page

ChatGPT self-registers via DCR (RFC 7591, PKCE, no secret) from /.well-known/openid-configuration. It uses the same folder allowlist and shell allowlist as Claude.

Connecting from Grok and Gemini

Both ride the same MCP URL and passphrase flow, no separate transport or auth. The connector panel (section 1) lists the steps for each.

Grok, verified, production-ready: self-registers via the /register DCR path like ChatGPT, paste only the MCP URL, no Client ID. Its real redirect_uri https://grok.com/connectors-oauth-exchange-code/ was observed live 2026-08-09 and is a built-in callback (scripts/oauth-callbacks.js). Verified working end to end (authorize → token 200). If a future Grok change moves that callback, the refused address shows in the panel's Other AI (sign-in) tab, where one click adds it.

Gemini, verified via Developer Mode (/devmode) (for Google AI Pro or AI Ultra; a cold load of /devmode can redirect to /app even on paid accounts, when that happens, open Settings → Developer Mode from the bottom-left Gemini sidebar; Free Google accounts omit Developer Mode in Settings, and direct /devmode access on Free is unguaranteed/locale-dependent): open https://gemini.google.com/devmode (strictly no trailing slash, /devmode/ returns HTTP 404; /u/<n>/devmode also works), click Choose an app → Create new, paste the MCP URL and click Next, tick the risk acknowledgment checkbox and click Connect, click Agree and continue on the Google Account Linking notice (myaccount.google.com), enter the Passphrase on AkiMCP's confirmation page and click Approve, then set the name to the panel's Display name (AkiMCP by default) in Save your custom app and click Connect (or Save). Gemini self-registers via the /register DCR path (PKCE, no Client ID or Secret to paste), its callback on Google's shared sign-in relay oauth-redirect*.googleusercontent.com is built into scripts/oauth-callbacks.js, and it refreshes on its own after Roll token (after Roll & sign out all clients, open the Authentication tab in /devmode and click Disconnect account / Use a different account, or Reconnect). All enabled aki__* tools (aki__ by default; 39 in the full surface, 37 enabled by default) load in the Tool schemas tab; read-only tool calls can run directly, while actions requiring confirmation show an inline card with Allow once / Always allow (Always allow persists server-side per custom app).

Connecting from Notion AI

Notion needs a public ingress and workspace permission to use custom MCP servers. The panel's Notion tab walks through the setup.

  1. Enable custom MCP servers in your Notion workspace settings.
  2. Open Notion connections and add an approved Custom MCP server with the MCP URL from the panel.
  3. Enter the Passphrase when AkiMCP opens its confirmation page.
  4. Add the connection inside an agent, then republish the agent so the published agent can use it.

Notion self-registers through OAuth, so there is no Client ID or Client secret to paste, and it refreshes on its own after Roll token. It uses the same tool suite and folder and shell allowlists as the other connectors. Protocol details and revocation: docs/feat/security.md § Remote auth.

Connecting from ClickUp

ClickUp needs a public ingress. The panel's ClickUp tab walks through the setup.

  1. In ClickUp, open Settings → App Center → MCP Servers → Connect an MCP Server.
  2. Set Name and URL from the panel, Authentication Method = OAuth, leave Advanced configuration closed, click Next.
  3. Enter the Passphrase in the tab ClickUp opens and approve.

ClickUp self-registers through OAuth, so there is no Client ID, secret or token to paste. After Roll token, reconnect the ClickUp connector once if it stops answering. ClickUp Brain then calls the tools when a request needs them, without a mention.

Connecting from Buda

Buda needs a public ingress and connects with the shared access token in a header, not the passphrase. The panel's Buda tab holds every value ready to copy.

  1. In Buda, open Agent Settings → your Agent → Integrations → Add MCP server.
  2. Set Name from the panel, Connection type = Remote HTTP, HTTPS endpoint = the MCP URL.
  3. Under Authentication headers, add the header Authorization with the value Bearer <access token> from the panel.
  4. Click Save, then start a new chat to load the tools.

After Roll token, paste the new header value into Buda again.

Connecting from Postman

Postman's AI Agent (Flows / Connected Accounts) has no OAuth redirect for third-party MCP servers and no persistent system-prompt field.

  1. In the panel's Postman tab, click the filled JSON to copy. It targets the local loopback endpoint (http://127.0.0.1:9999/mcp) and carries a real minted access token, not the passphrase. Postman runs on this machine, so it connects over loopback and needs no tunnel.
  2. In Postman, add a new MCP server (Settings → Connected Accounts) and paste the JSON.
  3. Send the instruction into each new chat, since Postman doesn't persist one across sessions: after Launch, the Aki MCP for Postman overlay's Prompt instruction box has Send now, or tick Auto-inject into each new chat (off by default). It is a separate, Postman-specific text (scripts/postman/prompts/postman.md), worded as a polite request because Postman's safety check flags directive-style instructions. When a chat grows long, Summarize to a new chat waits until the assistant has finished, asks it for a handoff summary, copies the reply, opens a new chat and pastes the summary there unsent, so you read it before you send it; with Auto-inject into each new chat on, the instruction is sent in the new chat first. Tick Auto-summarize to a new chat when the Context bar reaches [90] % (off by default; the percent is set beside it, 100% being the red mark) to have it run once for you when the chat you are working in crosses that mark. It waits as long as the assistant is working or a tool approval is waiting for you, and gives up only after 5 minutes with no sign the assistant is working (no Stop button, no tool approval waiting) and the next step still not done. It then leaves what it has: the prompt in the box, or the summary as the last reply in the old chat (also on the clipboard when the copy worked; a failed copy shows as an [⚡ AutoRun] line in the log).

The Postman tab also has a Launch button that attaches control to the Postman desktop app itself, auto-clicking Approve/Continue/Run/Try again and toggling Thinking/Auto-run inside the Postman window, on top of opening it if it isn't already running. Quit stops that control daemon; New window asks it to open another Postman window. None of this runs at npm start boot, it starts only when Launch is clicked. The in-app overlay it injects is the Aki MCP for Postman panel (opened from a status-bar button): it shows the running version and an akimcp.top link under the title, keeps the New Browser Tab control in the ANTI-BOT section, and opens every external link, akimcp.top, the AkiDevRule Repo button, and each team's View, in your OS default browser through Postman's own link handler.

Connecting from any HTTP chat

For a web chat with no custom MCP connector whose AI can still send HTTP requests: a sandbox with curl, a fetch tool, a Postman agent (WorkBuddy, CodeBuddy and similar). The AI becomes the MCP client itself, using a temporary token made for that one chat. It needs a public ingress.

  1. In the panel, section 1 → Web · needs ingress → Any HTTP chat, optionally type a name (such as aistudio-p60 or postman, up to 48 characters, unique among active temporary tokens) and click Mint temp token & copy kickoff, or run akimcp temp-token mint --name <name> from a terminal, or call aki__temp_token (op="mint") from an already-connected owner session.
  2. Paste the copied block into the chat. It names the guide (akimcp.top/guide/mcp-http.md), the MCP URL, the token, and optional token name, and asks the AI to connect. In a chat VM with a shell, the guide has the AI keep active session state in one private 0600 JSON file outside the app/repo workspace ($HOME/.akimcp/token.json or /tmp/akimcp/token.json) beside a small reusable helper script, and delete both on revoke.
  3. Give the AI your task.
  4. When the work is done, tell the AI so: it sends one DELETE to the MCP URL, or, for POST-only clients on AkiMCP 4.3.0+, calls aki__temp_token with op="revoke_self", deletes or scrubs its state file, and the token stops working. Or click Revoke beside the token in the panel, or run akimcp temp-token revoke <name|id>.

Each token in the panel list (and in akimcp temp-token list or aki__temp_token op="list") shows its name, short ID, when it was last used and from which address and app. From any live row in the panel you can Rename inline (or run akimcp temp-token rename <name|id> <new-name|--clear>), Copy kickoff, Copy token, or click +30 min (or akimcp temp-token extend <name|id> / aki__temp_token op="extend") to extend it by 30 minutes, up to 7 days from now; an expired or revoked token stays dead.

A temporary token lasts 4 hours unless extended (up to 64 active temporary tokens at once), lives only in memory (restarting AkiMCP revokes every one) and never touches the shared access token, so your other connectors keep working. A chat authenticated with a temporary token can only inspect (op="list") or revoke (op="revoke_self") its own token, it cannot mint, extend or revoke other temporary tokens. Roll & sign out all clients also revokes every temporary token.

Connecting from any other AI (sign-in)

For an AI that has its own custom connector and signs in with OAuth but has no tab of its own in the panel. It needs a public ingress. Adding a new AI needs the computer running AkiMCP once; after that, no AkiMCP update is needed for it.

  1. In your AI, add a custom connector with the MCP URL from the panel.
  2. If it cannot connect, open the panel, section 1 → Web · needs ingress → Other AI (sign-in). Its refused sign-in address shows under Refused since AkiMCP started: click Add, or Add as prefix to allow every address under that folder. An address AkiMCP cannot use (http, localhost, an IP address) shows the reason instead.
  3. Connect again and enter the Passphrase. The confirmation page names where the sign-in returns, so check that address before you approve.

If nothing shows as refused, the AI never reached AkiMCP: check section 0. You can also type an address into the form at the bottom of the tab (exact, or a prefix ending in /), or write it into setting.json under oauth.callbacks; the change applies to the next sign-in, no restart. Remove stops new sign-ins through that address; to cut off an AI already connected through it, use Revoke & roll on it in section 7 Clients, or Roll & sign out all clients. Details: docs/feat/security.md § Remote auth.

Connecting local IDEs (Cursor, Claude Code, Claude app, AGY, Codex)

Local tools run on the same machine as AkiMCP, so they need no tunnel and no WAN round-trip: Cursor, Claude Code and Codex connect straight to the loopback engine at http://127.0.0.1:9999/mcp, and the Claude app and AGY start the tools themselves over stdio (scripts/stdio.js), with no token. The Gatekeeper binds 127.0.0.1:9999 from the moment you run akimcp, whether or not a public ingress is configured. Bearer-token auth is still enforced on loopback (see Security); grab the token from the panel at http://127.0.0.1:9998 (the Any MCP app tab shows the filled JSON, which Postman, Cursor and any other app that takes an mcpServers entry with url and headers accept as is; one access token serves every client, and panel section 1 can roll it if it leaks), or copy a config below and replace YOUR_LOCAL_ACCESS_TOKEN. (Ports are defaults; --dev mode uses 9997/9996, the panel always shows the live values.) Older AkiMCP versions used the name aki-mcp; the Apply buttons remove that entry, and with a hand-pasted config you delete it yourself if it is still there.

Cursor, click Apply to Cursor in the panel's Cursor tab to write ~/.cursor/mcp.json with the current token (other servers untouched), or paste this by hand (Settings → MCP Servers). After Roll token, click Apply again:

{
  "mcpServers": {
    "akimcp": {
      "url": "http://127.0.0.1:9999/mcp",
      "headers": { "Authorization": "Bearer YOUR_LOCAL_ACCESS_TOKEN" }
    }
  }
}

Claude Code CLI, click Apply to Claude Code in the panel's Claude Code & app tab: it registers the server in user scope (works from every project) with the current token, replacing any old entry, including one an older setup left inside a single project. After Roll token, click Apply again. To do it by hand, run both lines, the remove first, because a bare claude mcp add refuses when the entry already exists and keeps the old token; if one project still gets 401, also run claude mcp remove aki-mcp -s local inside it:

claude mcp remove akimcp -s user
claude mcp add --transport http -s user akimcp http://127.0.0.1:9999/mcp --header "Authorization: Bearer YOUR_LOCAL_ACCESS_TOKEN"

Claude app (desktop), set up separately from Claude Code; one does not connect the other. Open Settings → Developer → Edit Config in the app, merge this under mcpServers in the claude_desktop_config.json it opens, then quit the app completely and reopen it. The app spawns scripts/stdio.js (the same tools, over stdio) with no token, so Roll token changes nothing; the panel's Claude Code & app tab shows the entry with your path filled in. If the server fails to start, replace node with the full path from which node (Windows: where node).

{
  "mcpServers": {
    "akimcp": {
      "command": "node",
      "args": ["/absolute/path/to/aki-mcp-sv/scripts/stdio.js"]
    }
  }
}

Antigravity (AGY) CLI and IDE, no token: they spawn scripts/stdio.js (the same tools, over stdio). Click Apply to AGY CLI in the panel's AGY tab, or merge this into ~/.gemini/config/mcp_config.json (the file both read) and restart:

{
  "mcpServers": {
    "akimcp": {
      "command": "node",
      "args": ["/absolute/path/to/aki-mcp-sv/scripts/stdio.js"]
    }
  }
}

The button also pre-allows the server for the CLI; the IDE asks for its own approval on the first tool call. Details: docs/ref/fact-agy-mcp-config.md.

Any other client that spawns MCP servers over stdio can run the package the same way, with no gateway, tunnel or token: npx -y @akinet/akimcp --stdio.

Codex CLI, click Apply to Codex in the panel's Codex tab: it writes the [mcp_servers.akimcp] table into ~/.codex/config.toml with the current token, replacing it in place (other tables untouched). After Roll token, click Apply again. To edit by hand, replace any existing [mcp_servers.akimcp] table, do not add a second one (duplicate tables are invalid TOML). Codex reaches the local engine over streamable HTTP, token inlined so there's no env var to export:

[mcp_servers.akimcp]
url = "http://127.0.0.1:9999/mcp"
http_headers = { "Authorization" = "Bearer YOUR_LOCAL_ACCESS_TOKEN" }

Postman Desktop uses the same loopback URL, see Connecting from Postman.

Use the literal 127.0.0.1, not localhost: on macOS localhost can resolve to IPv6 ::1 while the server listens on IPv4 only.

Autonomous Cloud Automation (Grok + Local MCP)

Grok's scheduled prompts turn your machine into a headless "personal remote AI node": no browser tab, no desktop app, just npm start running in the background.

  • Cloud-triggered local execution: set up a scheduled prompt in Grok (Automation) that fires at a fixed time.
  • Headless: Grok's cloud service sends the request to /mcp over your Tailscale Funnel URL, and aki-mcp-sv runs the task, health check, log sweep, git pull, cleanup, with nothing open on your end.
  • Zero UI required: as long as the process is running, no browser or app needs to be open for the scheduled task to execute.

Requirements

  • Node.js 22, on Windows, Linux, or macOS.
  • Windows only: install Git for Windows with its default options, nothing else to set up. The shell/search tools start Unix binaries (ls cat grep head tail wc file stat ps df du whoami uname) that ship in Git's usr\bin; akimcp finds that folder from git and adds it to its own PATH at start. npm and npx run through Node directly, since their .cmd shims cannot be started without a shell. Same category of prerequisite as Tailscale below, not a code dependency.
  • Tailscale (one-time setup):
    1. Install Tailscale and sign in (on macOS, the app or brew install tailscale both work as long as tailscale is on PATH)
    2. Enable Funnel for your tailnet: free on every plan, a one-time toggle via the login.tailscale.com/f/funnel link npm start prints if it isn't on yet

After that, npm start enables Funnel on port 9999 automatically every run.

Architecture

Claude web / ChatGPT
      │  HTTPS + OAuth 2.1 (Claude and ChatGPT: DCR self-register, URL + passphrase only)
      ▼
Tailscale Funnel        (https://your-machine.your-tailnet.ts.net)
      │
      ▼
gatekeeper.js, loopback port 127.0.0.1:9999 (public ingress forwards here)
      │           /.well-known/oauth-* + openid-configuration  metadata (openid is an alias for ChatGPT discovery)
      │           /authorize, /token    minimal authorization server (scripts/oauth.js)
      │           /register         RFC 7591 dynamic client registration (ChatGPT self-registers here)
      │           /mcp                  requires a valid Bearer access token, else 401
      │                                 POST → real Streamable HTTP (scripts/streamable-bridge.js)
      ▼
tools-server.js, one shared McpServer, in-process (InMemoryTransport, no child, no SSE), tools mounted by provider-registry.js:
                                  search-mcp.js       (find_path/search_content, whole-tree in one call)
                                  shell-mcp.js        (allowlisted commands, inspection-first defaults)
                                  agy-mcp.js          (Antigravity CLI, plan mode by default)
                                  kiro-mcp.js         (kiro_read, read-only, needs kiro-cli on PATH)
                                  filesystem-mcp.js   (native read/write/edit inside the allowed folders)
                                  postman/postman-mcp.js (Postman daemon status/eval/rename/panel tools)
                                  rule-context-mcp.js (akidevrule_context handshake tool)
                                  chrome-mcp.js       (shared profile launch/attach, tabs, interact)
                                  chrome-profile.js   (Chrome/Brave/Edge discovery, shared-profile ownership)
                                  cdp-mcp.js          (devtools_targets/eval/screenshot over CDP)
                                  aiobox-mcp.js       (AIObox windows by handle: forwards the ops AIObox publishes)
                                  cdp-engine.js       (shared CDP target/eval engine)
                                  fetch-mcp.js        (SSRF-protected localhost/LAN HTTP fetch)
                                  task-mcp.js         (detached background task start/manage)
                                  port-mcp.js         (TCP port status/kill)
                                  git-mcp.js          (scope-checked git status/diff/log)
                                  system-mcp.js       (notify_user, clipboard read/write, temp_token)
                                  sqlite-mcp.js       (read-only node:sqlite schema/query)

panel.js, 127.0.0.1:9998, never exposed via Funnel
                 control UI: allowed folders, shell allowlist,
                 install akidevrule, generate the connector prompt

The ingress layer is swappable: Tailscale Funnel is the zero-config default, and the same /mcp endpoint can be served through your own Cloudflare named tunnel (recommended: steadier and faster) or any stable public HTTPS edge you already run, see Exposing to the internet. Everything below the ingress line (gatekeeper, OAuth) is unchanged whichever edge you pick.

OAuth (not token-in-URL) is used because claude.ai always attempts Dynamic Client Registration regardless of configuration (docs/research/claude-ai-oauth-connector.md). ChatGPT also expects OAuth; this server advertises /register (RFC 7591 DCR) so Claude, ChatGPT and Gemini self-register; the pre-issued Client ID/Secret is for a client that wants a static pair.

Read the rest of the Aki MCP Sv README on GitHub

Questions about Aki MCP Sv

What is the Aki MCP Sv MCP server?

Custom MCP [Connector] for AI chat web [Claude|ChatGPT|Grok...] use Files/Shell on your computer directly. Aki MCP Sv is maintained by lacvietanh on GitHub at lacvietanh/aki-mcp-sv, and works with AI apps that support the Model Context Protocol, such as Claude, Cursor and VS Code.

How do I install the Aki MCP Sv MCP server?

Add Aki MCP Sv to your AI app's MCP config with the command npx -y @akinet/akimcp. In Claude Code, run claude mcp add --transport stdio aki-mcp-sv -- npx -y @akinet/akimcp. To run Aki MCP Sv this way you need Node.js installed.

Does Aki MCP Sv need an API key?

The registry lists no required keys for Aki MCP Sv. Check the Aki MCP Sv README for optional settings, and expect a remote server to ask you to sign in the first time you connect.

Is Aki MCP Sv an official MCP server?

No. Aki MCP Sv is a community server maintained by lacvietanh. Community servers can be excellent; read the code and the open issues before you give Aki MCP Sv access to company data.

What license is Aki MCP Sv under?

Aki MCP Sv is released under the MIT license, according to its GitHub repository. The license covers the code of Aki MCP Sv; the service it connects to has its own terms.