Pit Officer MCPサーバー
コミット 2026年11月10日注文がブローカーに届く前にすべてのオーダーを検証し、AIトレーディングエージェントの取引前リスク制限を強制します。
別名 openpitkit/officer, officer
- スター
- 3
- ツール
- —
- ダウンロード数(30日間)
- —
- 最新バージョン
- 0.1.0
- 最終コミット
- 2026年11月10日
- ライセンス
- Apache-2.0
Pit Officer MCPとは
注文がブローカーに届く前にすべてのオーダーを検証し、AIトレーディングエージェントの取引前リスク制限を強制します。
プロジェクトのREADMEから生成された概要
Pit Officer MCP server について
Pit Officerは、自動取引のためのリスク管理レイヤーとして機能します。OpenPitリスクエンジンを介して注文をインターセプトし、ブローカーに届く前に、設定された制限を遵守しているかを確認します。このシステムは、複数の取引口座を管理し、すべてのトランザクションに対して厳格な安全パラメータを適用する必要がある、トレーディングソフトウェアやAIエージェントを利用する開発者向けに設計されています。
ユーザーはDockerを使用してサーバーをデプロイするか、serve、mcp、dashboardなどの特定のサブコマンドを使用して単一のバイナリとして実行できます。HTTP MCP接続とローカルのstdio MCP serverの両方をサポートしています。セットアップには、口座管理やリスク制限の設定を行うためのウェブパネルが含まれており、バックエンドがブローカーへの実際の接続を処理します。開発者は、安定版またはテスト目的のエッジ開発ビルドを選択できます。
できること
- 1複数の取引口座の管理開発者はウェブインターフェースを使用して、さまざまな証券口座を整理し、監視できます。
- 2ローカルMCP serverの実行stdioプロトコルを使用して、サーバーをローカルの開発環境に統合できます。
プロジェクトの README から作成されています。すべてのユースケースは、その引用と照らし合わせて確認されています。
設定
CGO_ENABLED
| 名前 | 説明 | 種類 |
|---|---|---|
| CGO_ENABLED | — |
自動チェック
実行日 2026年11月14日完全なレポート →まだ検証されていません。サーバーには80点のスコア、重大な問題がないこと、および検証に必要な十分なデータが必要です。 チェックの仕組み · 点数を上げるための改善点
- ソースリポジトリがリンクされており、アクセス可能openpitkit/officer is public and reachablegithub.com/openpitkit/officer ↗合格
- パッケージがこのリポジトリをソースとして指定未チェック
- ビルドの来歴 (Sigstore 証明)未チェック
- オープンソースライセンス (OSI)Apache-2.0spdx.org/licenses/Apache-2.0.html ↗合格
- 過去1年以内にコミットまたはリリースありLast commit or release 2026-11-10github.com/openpitkit/officer ↗合格
- OpenSSF Scorecard未チェック
- パッケージ名が有名なパッケージに酷似していない未チェック
- パッケージおよびその依存関係に重大な勧告なし未チェック
- モデルへの隠れた指示がない0 tool descriptions and the README read; no override phrases, credential paths or hidden characters合格
- 破壊的なツールがラベル付けされている未チェック
- リモートエンドポイントが MCP ハンドシェイクに応答未チェック
README
GitHubで見るPit Officer
Website: officer.openpit.dev
Contact: info@openpit.dev.
Pit Officer lets you manage trading accounts, set risk limits, connect to brokers, and send orders from a web panel. The OpenPit risk engine checks each order before Officer sends it through a trading connection. You can also use Officer from trading software or AI agents.
Run
Watch the video guide or follow the steps below. The quickstart covers stopping, ports and troubleshooting.
Install Docker, then run:
docker run -d --name pit-officer --restart unless-stopped -p 127.0.0.1:8787:8787 -v pit-officer-data:/data ghcr.io/openpitkit/officer:latest
Open http://127.0.0.1:8787. latest is the newest release; your data stays
in the pit-officer-data volume. Back up before every upgrade, and regularly,
from Service > Database > Database backup > Export in the panel.
To upgrade an installed Officer, see Upgrade Officer.
edge is the current development build, for quick tests only. Its data is
disposable. Stop the release container first, then use the same volume:
docker stop pit-officer
docker run -d --name pit-officer-edge --restart unless-stopped -p 127.0.0.1:8787:8787 -v pit-officer-data:/data ghcr.io/openpitkit/officer:edge
On its first start, the panel asks whether to copy the release data or start empty. It never changes the release database. See Trying the development build.
Build
Prerequisites: a C toolchain, which the OpenPit Go binding requires through
cgo; Go; and Node and npm for the dashboard bundle. Tool versions are pinned in
.github/ci-versions.env; just ensure-node installs the pinned Node into
.tmp/node.
From the repository root, build the dashboard before the binary so Go embeds the compiled assets:
npm --prefix web ci
npm --prefix web run build
CGO_ENABLED=1 go build -ldflags "-X go.openpit.dev/officer/framework/backend.buildCommit=$(git rev-parse HEAD)" -o pit-officer ./cmd/pit-officer
On Windows with PowerShell, set CGO_ENABLED=1 in your shell, build with
go build -ldflags "-X go.openpit.dev/officer/framework/backend.buildCommit=$(git rev-parse HEAD)" -o pit-officer.exe ./cmd/pit-officer, and run ./pit-officer.exe.
Run from source
A locally built binary behaves like edge: its first serve asks which
database to use, and it never changes the release database. Make that
choice before running mcp.
Pit Officer is a single binary with four subcommands: serve, mcp,
dashboard, healthcheck. After building it, run from the repository root:
./pit-officer serve # serve the dashboard, REST API, and HTTP MCP
./pit-officer dashboard # in another terminal, open the running instance
./pit-officer mcp # alternatively, run a local stdio MCP server
The subcommands, environment variables, flags, and authorization model are in the configuration reference. See the API notes for REST and MCP integration.
Local container build
To build and run a local container image with the settings in
docker-compose.yml:
. ./.github/ci-versions.env
docker build --build-arg GO_VERSION="$CI_GO" --build-arg OFFICER_COMMIT="$(git rev-parse HEAD)" -t pit-officer:local .
docker compose up
Optional Just shortcuts
Just provides a quicker alternative to the manual steps above. The recipes also require Python 3; the full check additionally uses golangci-lint and Semgrep, as described in the development notes.
just frontend-ci-install # npm ci in web/ from the committed lockfile
just build # build the SPA, then the pit-officer binary
just run-serve # build and serve
just dashboard # open the running instance in the browser
just run-mcp # build and run a local stdio MCP server
just docker-build # build the pit-officer:local container image
just check # format checks, linters, Semgrep, tests, frontend bundles
Composing your own Officer from the importable packages, building against a local Pit checkout, and the debug variants are covered in the development notes.
License
Apache License 2.0. See LICENSE.
Pit Officer MCPのよくある質問
Pit OfficerをMCP serverとして実行するにはどうすればよいですか?
mcpサブコマンドを使用して、ローカルのstdio MCP serverを実行できます:./pit-officer mcp。
取引データのバックアップはどうすればよいですか?
ウェブパネルから、Service > Database > Database backup > Exportの順に進むことで、定期的なバックアップを実行できます。
Pit OfficerをAIエージェントで使用できますか?
はい、このプラットフォームはトレーディングソフトウェアやAIエージェントで使用されることを想定して設計されています。