プロトタイプ · プレビュー版:公式レジストリのすべてのサーバーを掲載し、30分ごとに同期しています。レビューとアカウント機能は今後のステップで始まります。
PopNx MCPAIを使う人のためのMCPサーバー · やさしい言葉で解説

Shift MCP Server

作者:cyanheadsバージョン 0.2.0i★ –iパソコンで動く
レジストリ名io.github.cyanheads/shift-mcp-server

インストール

概要

作者による説明(英語の原文)

Lightweight coordination layer for multiple AI agents working on the same codebase simultaneously.

PopNx MCPの3つの柱

この3つを1つのスコアにまとめることはしません。意見、測定、人気はそれぞれ別のものだからです。

できること

このサーバーのやさしい解説はまだ書いていません。以下はレジストリから読み取った事実です。

  • 接続方法: パソコンで動く
  • トランスポート: stdio, Streamable HTTP
  • カテゴリ: 開発者ツール

インストール

使っているAIアプリを選んで、設定をコピーしてください。

インストールの前に

  • 基本チェック:1項目中1項目に合格
  • あなたのパソコンで、あなたのユーザーと同じ権限(ファイル、ネットワーク、アプリ)で動きます。
  • 自分で入力するもの: SHIFT_WORKSPACE, SHIFT_STATE_DIR, MCP_LOG_LEVEL

必要なもの

  • npmNode.jsのインストール(npxコマンドに必要)

どのアプリを使っていますか?

上でアプリを選んでください。選んだアプリを覚えておくので、次からはボタンに「…にインストール」と表示されます。

Claude Desktop → Settings → Developer → Edit Config を開き、claude_desktop_config.json にこれを貼り付けます

{
  "mcpServers": {
    "shift": {
      "command": "npx",
      "args": [
        "-y",
        "@cyanheads/shift-mcp-server"
      ],
      "env": {
        "SHIFT_WORKSPACE": "your-value",
        "SHIFT_STATE_DIR": "your-value",
        "MCP_LOG_LEVEL": "your-value"
      }
    }
  }
}

ターミナルでこれを実行します

claude mcp add shift --env SHIFT_WORKSPACE=your-value --env SHIFT_STATE_DIR=your-value --env MCP_LOG_LEVEL=your-value -- npx -y @cyanheads/shift-mcp-server

動かす前に、空欄の値を入力してください。

Cursorで開く

または、設定を自分でコピーする

プロジェクトの .cursor/mcp.json、または ~/.cursor/mcp.json に貼り付けます

{
  "mcpServers": {
    "shift": {
      "command": "npx",
      "args": [
        "-y",
        "@cyanheads/shift-mcp-server"
      ],
      "env": {
        "SHIFT_WORKSPACE": "your-value",
        "SHIFT_STATE_DIR": "your-value",
        "MCP_LOG_LEVEL": "your-value"
      }
    }
  }
}

ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。

VS Codeで開く

または、設定を自分でコピーする

プロジェクトの .vscode/mcp.json に貼り付けます

{
  "servers": {
    "shift": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@cyanheads/shift-mcp-server"
      ],
      "env": {
        "SHIFT_WORKSPACE": "your-value",
        "SHIFT_STATE_DIR": "your-value",
        "MCP_LOG_LEVEL": "your-value"
      }
    }
  }
}

ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。

これはパソコンで動くサーバーですが、ChatGPTがつなげるのはインターネット上のサーバーだけです。ほかのアプリを選んでください。

選んだアプリは、この端末のCookieに保存されます。アカウントは不要です。

自分で入力する値

  • SHIFT_WORKSPACE env
    Shared exact-match workspace namespace; defaults to the launch Git root or cwd.
  • SHIFT_STATE_DIR env
    Shared writable SQLite directory; defaults to ~/.local/state/shift-mcp-server.
  • MCP_LOG_LEVEL env
    Sets the minimum log level for output (e.g., 'debug', 'info', 'warn').

この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。

できること

パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。

基本チェックi

誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月7日にチェック

  • ✓ 合格

    作者とリポジトリが一致

    レジストリ名は、リポジトリを所有するGitHubアカウント cyanheads で確認済みです

  • … 未チェック

    今もメンテナンスされている

    このリポジトリはまだGitHubから読み取っていません

  • … 未チェック

    ライセンスがある

    このリポジトリはまだGitHubから読み取っていません

  • – 対象外

    エンドポイントが応答する

    これはパソコンで動くため、インターネット上のエンドポイントはありません

  • – 対象外

    OAuthでサインイン

    パソコンで動き、代わりにローカルの設定を使います

  • … 未チェック

    ツールの説明に隠れた指示がない

    パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです

開発者ツールのほかのサーバーとの比較i

  • このカテゴリのほかの1393件のうち0%よりスターが多い
  • このカテゴリのほかの1393件のうち70%より最近レジストリに公開
  • 基本チェックの結果が、このカテゴリのほかの1393件のうち100%と同じかそれ以上

レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。

よくある質問

Shift MCP Serverは安全ですか?

当てはまる基本チェック1項目のうち1項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。

どんなキーやコードが必要ですか?

レジストリには必須のキーは載っていません。ただし、最初に使うときにサインインを求めるサーバーもあります。

パソコンで動きますか、それともクラウドですか?

あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。

今もメンテナンスされていますか?

GitHubリポジトリの最終更新は–、最新バージョン(0.2.0)がレジストリに届いたのは20 日前です。

どのアプリで使えますか?

Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにNode.jsも必要です。

代わりに使えるものは?

同じカテゴリには:GitHub, Desktop Commander, Cloudflare MCP

代わりの候補

同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。

カードの見方:★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i

GitHub

作者:github

Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.

パソコンでもクラウドでも★ 34,245MIT3 日前更新
インストール

Desktop Commander

作者:wonderwhy-er

MCP server for terminal commands, file operations, and process management

パソコンで動く★ 10,225MIT15 日前更新
インストール

作者のREADME

READMEを開く

作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。

@cyanheads/shift-mcp-server Lightweight coordination layer for multiple AI agents working on the same codebase simultaneously. 2 Tools • 1 Resource • 1 Resource Template


Overview

Coordination layer for multiple AI agents working on the same codebase at once. Check in with a gist of your task and the files you expect to touch, see the full roster of active peers, and check out when finished.

Tools
ToolDescription
shift_check_inRegister or update a worker session. Returns a worker ID, the coordination protocol, and the active peers.
shift_check_outEnd a working session and remove it from the active worker list.
Resources
ResourceDescription
shift://statusAll currently active workers with their gists, declared files, and check-in timestamps.
shift://status{?workspace}The roster for an explicit workspace; use the statusUri returned by either tool.

The same roster is returned inline by shift_check_in. Modern subscriptions/listen streams receive one update per committed check-in, session update, or actual removal at the workspace-qualified URI; the bare alias is also published for the server's default workspace. Mutations from either protocol era publish through the same server event bus. This framework's legacy delivery adapter requires polling; that limitation is not inherent to the 2025 protocol. Notifications stay within one process; reads always observe committed state from other processes.

Capability reference

shift_check_in tool
  • Required gist plus optional files, workspace, and workerId (six ASCII letters/digits, case-insensitive) to update a session. IDs are stored and returned uppercase.
  • Returns your session, activeWorkers, resolved workspace, and qualified statusUri. Updates preserve omitted files and the original checkedInAt; an explicit empty files array clears the declaration.
  • The coordination protocol and applicable solo-worker notice are delivered once as notice in structured output and as a text trailer.
  • An unknown workerId fails with reason unknown_worker (NotFound), a recovery hint, and the current roster.

shift_check_out tool
  • Required workerId (six ASCII letters/digits, case-insensitive), optional workspace and one-sentence summary.
  • Returns removed, resolved workspace, qualified statusUri, and the ID/summary. An unknown or already-removed ID succeeds with removed: false and points to that roster without guessing why the ID is absent.
  • Publishes a resource update only when a session actually existed and was removed.

shift://status resource
  • Returns text/markdown — the active-workers table, or "No agents are currently active." when the roster is empty
  • workerId comes from shift_check_in
  • The bare resource reads the process default workspace. The qualified template reads the exact identifier encoded in its URI.
  • Table cells escape backslashes and pipes and flatten CRLF/LF/CR; stored values and structured output remain unchanged.

Features

Built on @cyanheads/mcp-ts-core: stdio and Streamable HTTP transports, pluggable auth (none / jwt / oauth), swappable storage (in-memory, filesystem, Supabase, Cloudflare KV/R2/D1), structured logging with optional OpenTelemetry tracing.

Coordination-specific:

  • Per-user SQLite roster shared across processes, isolated by workspace, durable across restarts until explicitly checked out
  • The coordination protocol ships in every check-in response, so ground rules reach the agent without client-side configuration
  • The active-workers table rides along with every check-in for situational awareness
  • Patch semantics on session updates — only the fields provided change

Agent-friendly output:

  • Both client surfaces carry the same data — structuredContent from the output schema, markdown from format()
  • shift_check_in declares a typed error contract, so an unknown worker ID arrives with data.reason and a recovery hint
  • Failure responses embed the current roster, so an agent recovers in the same turn instead of calling again to orient

Getting started

Add the following to your MCP client configuration file:

{

"mcpServers": { "shift-mcp-server": { "type": "stdio", "command": "bunx", "args": ["@cyanheads/shift-mcp-server@latest"], "env": { "MCP_TRANSPORT_TYPE": "stdio", "MCP_LOG_LEVEL": "info", "SHIFT_WORKSPACE": "my-project" } } } }

Or with npx (no Bun required):

{

"mcpServers": { "shift-mcp-server": { "type": "stdio", "command": "npx", "args": ["-y", "@cyanheads/shift-mcp-server@latest"], "env": { "MCP_TRANSPORT_TYPE": "stdio", "MCP_LOG_LEVEL": "info", "SHIFT_WORKSPACE": "my-project" } } } }

Or with Docker:

{

"mcpServers": { "shift-mcp-server": { "type": "stdio", "command": "docker", "args": [ "run", "-i", "--rm", "-e", "MCP_TRANSPORT_TYPE=stdio", "-e", "SHIFT_WORKSPACE=my-project", "-v", "shift-state:/var/lib/shift-mcp-server", "ghcr.io/cyanheads/shift-mcp-server:latest" ] } } }

Set the same SHIFT_WORKSPACE and use the same state directory for every agent working together. Native processes for one OS user share ~/.local/state/shift-mcp-server by default. An explicit identifier is opaque and exact-match: my-project and /path/my-project are different namespaces. Native and Docker clients can share a roster by bind-mounting the native state directory into the container instead of using a named volume.

Without SHIFT_WORKSPACE, either transport uses the real path of the enclosing Git worktree root, or the launch cwd outside Git. An empty tool workspace selector uses this default too; nonempty identifiers remain exact. Launching from a subdirectory or symlink converges on the same root. Desktop clients and install badges may launch outside your project: configure SHIFT_WORKSPACE after installation, or pass workspace in every tool call. The Desktop bundle prompts for a workspace. The Codex plugin forwards SHIFT_WORKSPACE and SHIFT_STATE_DIR from your environment; the Claude plugin exposes matching configuration options.

A shared HTTP process uses its own launch directory as the default; multiplexed clients must pass an explicit workspace for their project:

SHIFT_WORKSPACE=my-project MCP_TRANSPORT_TYPE=http MCP_HTTP_PORT=3010 bun run start:http

Server listens at http://localhost:3010/mcp

Prerequisites
  • Bun v1.4.3 or higher (or Node.js v24+).
  • No API keys, accounts, or external services.
Installation
  1. Clone the repository:
git clone https://github.com/cyanheads/shift-mcp-server.git
  1. Navigate into the directory:
cd shift-mcp-server
  1. Install dependencies:
bun install
  1. Configure environment:
cp .env.example .env

edit .env if you need to override a framework default

Configuration

The roster uses SQLite independently of the framework's STORAGE_PROVIDER_TYPE. State persists until check-out; restarting does not clear abandoned sessions. There is no TTL or automatic reaping. Workspace names and worker IDs are coordination selectors, not authentication boundaries.

WAL and BEGIN IMMEDIATE serialize mutations, ID allocation, and the returned roster snapshot. Startup retries SQLite lock contention within one 3-second deadline; a busy mutation also waits at most 3 seconds. Busy, corrupt, or unwritable storage fails visibly without an in-memory fallback. Use a local filesystem supporting SQLite locking for the shared state directory.

VariableDescriptionDefault
SHIFT_WORKSPACEOpaque default workspace namespace; tools can override it.Real Git root or launch cwd
SHIFT_STATE_DIRShared writable local directory containing roster.sqlite.~/.local/state/shift-mcp-server
MCP_TRANSPORT_TYPETransport: stdio or http.stdio
MCP_HTTP_PORTPort for the HTTP server.3010
MCP_HTTP_HOSTHostname for the HTTP server.127.0.0.1
MCP_SESSION_MODEHTTP session handling: auto, stateful, or stateless. The server declares stateless in createApp(), since no handler needs a session; setting this variable overrides that.stateless
MCP_AUTH_MODEAuth mode: none, jwt, or oauth.none
MCP_LOG_LEVELLog level (RFC 5424).info
LOGS_DIRDirectory for log files (Node.js only). /logs
OTEL_ENABLEDEnable OpenTelemetry instrumentation.false

See .env.example for the full list of optional overrides.

Running the server

Local development
  • Build and run:
  bun run rebuild

bun run start:stdio

or

bun run start:http

  • Run checks and tests:
  bun run devcheck   # Lint, format, typecheck, security, packaging

bun run test # Vitest suites: unit, smoke, integration, fuzz bun run lint:mcp # Validate MCP definitions against spec

Docker
docker build -t shift-mcp-server .

docker run --rm -p 127.0.0.1:3010:3010 -e SHIFT_WORKSPACE=my-project -v shift-state:/var/lib/shift-mcp-server shift-mcp-server

The Dockerfile defaults to HTTP transport, stateless session mode, logs at /var/log/shift-mcp-server, and roster state at /var/lib/shift-mcp-server. Reuse the same writable volume and workspace for every coordinating container. A host bind mount must be writable by the image's bun user. OpenTelemetry peer dependencies are installed by default — build with --build-arg OTEL_ENABLED=false to omit them.

Project structure

DirectoryPurpose

| src/index.ts | createApp() entry point — definitions, storage setup/teardown, serv

冒頭だけを表示しています。続きはリポジトリで読めます

PopNxに聞く