LoopGrid MCP란?
LoopGrid은(는) MCP server입니다. AI 클라이언트가 중요한 에이전트 작업에 대해 서명된 변조 방지 결정 증거를 기록하고 검색할 수 있게 합니다.
프로젝트 README에서 생성된 요약
LoopGrid MCP server 정보
LoopGrid MCP는 AI 호스트와 LoopGrid 증거 플레인 사이의 가교 역할을 하여 에이전트 결정에 대한 검증 가능한 기록을 생성합니다. 개발자는 MCP 레이어가 실제 비즈니스 로직을 실행하지 않고도 중요한 작업에 대해 서명된 변조 방지 증거를 캡처할 수 있습니다. 이러한 분리를 통해 AI는 Stripe 또는 Salesforce와 같은 외부 시스템을 직접 수정할 권한 없이도, 무엇을 하려고 했는지와 실제로 어떤 일이 일어났는지를 기록할 수 있습니다.
이 서버는 로컬 stdio 전송을 통해 작동하며, Docker 컨테이너를 사용하여 로컬에서 실행할 수 있는 접근 가능한 LoopGrid 서비스가 필요합니다. 데이터베이스에 직접 액세스하는 대신 REST API를 통해 코어 런타임과 통신합니다. 사용자는 환경 변수를 사용하여 base URL, workspace, 서비스 키와 같은 설정을 관리할 수 있습니다. 시스템은 초기 결정부터 최종 결과 및 검증에 이르기까지 작업의 라이프사이클을 관리하기 위한 6가지 특정 도구를 제공합니다.
보안은 주요 초점이며, 사람의 검토 도구는 기본적으로 비활성화되어 있고 명시적으로 활성화하지 않는 한 원시 페이로드 내보내기가 제한됩니다. 따라서 결정 로그에 대해 높은 수준의 책임성과 암호화 무결성이 필요한 에이전트를 구축하는 개발자에게 적합합니다.
활용 사례
- 1에이전트 결정 기록AI 에이전트가 작업을 실행하기 전에 제안된 작업과 그 권한을 변조 방지 원장에 기록할 수 있습니다.
- 2작업 및 결과 증거 로그개발자는 서버를 사용하여 특정 도구가 실행되었다는 증거를 추가하고 결과 상태를 기록할 수 있습니다.
- 3결정 무결성 검증AI 클라이언트는 서명된 워크스페이스 체인이 유효하게 유지되는지 확인하기 위해 서비스 측 검증을 트리거할 수 있습니다.
- 4증거 번들 내보내기사용자는 외부 감사 또는 저장 용도로 결정 증거가 포함된 휴대용 ZIP 파일을 다운로드할 수 있습니다.
프로젝트의 README를 바탕으로 작성되었습니다. 모든 활용 사례는 해당 내용의 인용문과 대조하여 확인합니다.
LoopGrid MCP 설치 방법
형식 확인: 2026년 11월 10일Cursor에 추가Goose에 추가Claude Code에 LoopGrid MCP 설치
$ claude mcp add --env 'LOOPGRID_SERVICE_KEY=<YOUR_LOOPGRID_SERVICE_KEY>' loopgrid-mcp -- uvx loopgrid-mcpCursor에 LoopGrid MCP 설치
~/.cursor/mcp.json
{
"mcpServers": {
"loopgrid-mcp": {
"command": "uvx",
"args": [
"loopgrid-mcp"
],
"env": {
"LOOPGRID_SERVICE_KEY": "<YOUR_LOOPGRID_SERVICE_KEY>"
}
}
}
}VS Code에 LoopGrid MCP 설치
.vscode/mcp.json
{
"servers": {
"loopgrid-mcp": {
"type": "stdio",
"command": "uvx",
"args": [
"loopgrid-mcp"
],
"env": {
"LOOPGRID_SERVICE_KEY": "<YOUR_LOOPGRID_SERVICE_KEY>"
}
}
}
}VS Code CLI에 LoopGrid MCP 설치
$ code --add-mcp '{"name":"loopgrid-mcp","type":"stdio","command":"uvx","args":["loopgrid-mcp"],"env":{"LOOPGRID_SERVICE_KEY":"<YOUR_LOOPGRID_SERVICE_KEY>"}}'Claude Desktop에 LoopGrid MCP 설치
claude_desktop_config.json
{
"mcpServers": {
"loopgrid-mcp": {
"command": "uvx",
"args": [
"loopgrid-mcp"
],
"env": {
"LOOPGRID_SERVICE_KEY": "<YOUR_LOOPGRID_SERVICE_KEY>"
}
}
}
}Codex에 LoopGrid MCP 설치
$ codex mcp add loopgrid-mcp --env 'LOOPGRID_SERVICE_KEY=<YOUR_LOOPGRID_SERVICE_KEY>' -- uvx loopgrid-mcpCodex config.toml에 LoopGrid MCP 설치
~/.codex/config.toml
[mcp_servers.loopgrid-mcp] command = "uvx" args = ["loopgrid-mcp"] [mcp_servers.loopgrid-mcp.env] LOOPGRID_SERVICE_KEY = "<YOUR_LOOPGRID_SERVICE_KEY>"
Gemini CLI에 LoopGrid MCP 설치
$ gemini mcp add -s user -e 'LOOPGRID_SERVICE_KEY=<YOUR_LOOPGRID_SERVICE_KEY>' loopgrid-mcp uvx -- loopgrid-mcpGemini settings.json에 LoopGrid MCP 설치
~/.gemini/settings.json
{
"mcpServers": {
"loopgrid-mcp": {
"command": "uvx",
"args": [
"loopgrid-mcp"
],
"env": {
"LOOPGRID_SERVICE_KEY": "<YOUR_LOOPGRID_SERVICE_KEY>"
}
}
}
}구성
LOOPGRID_SERVICE_KEY비밀Scoped LoopGrid service API key when authentication is enabled
LOOPGRID_BASE_URLBase URL of the LoopGrid service
LOOPGRID_WORKSPACELoopGrid workspace id
| 이름 | 설명 | 유형 |
|---|---|---|
| LOOPGRID_SERVICE_KEY | Scoped LoopGrid service API key when authentication is enabled | 비밀 |
| LOOPGRID_BASE_URL | Base URL of the LoopGrid service | |
| LOOPGRID_WORKSPACE | LoopGrid workspace id |
자동 검사
2026년 11월 14일에 실행됨전체 보고서 →자동 검사를 통과했습니다. 이는 보안 감사가 아닙니다. 코드를 직접 읽고 서버에 필요한 최소한의 권한만 부여하십시오. 검사 방식
- 소스 저장소 연결 및 접근 가능loopgridio/loopgrid-mcp is public and reachablegithub.com/loopgridio/loopgrid-mcp ↗통과
- 패키지가 이 저장소를 소스로 명시loopgrid-mcp names loopgridio/loopgrid-mcp as sourcepypi.org/project/loopgrid-mcp/ ↗통과
- 빌드 출처(Sigstore 증명)Sigstore attestation for loopgrid-mcppypi.org/project/loopgrid-mcp/ ↗통과
- 오픈 소스 라이선스 (OSI)Apache-2.0spdx.org/licenses/Apache-2.0.html ↗통과
- 최근 1년 내 커밋 또는 릴리스Last commit or release 2026-09-25github.com/loopgridio/loopgrid-mcp ↗통과
- OpenSSF Scorecard검사되지 않음
- 패키지 이름이 인기 패키지와 유사하지 않음No popular package one edit away from loopgrid-mcp통과
- 패키지 및 해당 종속성에 중요한 보안 권고 없음32 resolved dependencies checked; no critical advisoryosv.dev ↗통과
- 모델에 대한 숨겨진 지침 없음0 tool descriptions and the README read; no override phrases, credential paths or hidden characters통과
- 파괴적인 도구에 라벨 표시됨검사되지 않음
- 원격 엔드포인트가 MCP 핸드셰이크에 응답검사되지 않음
README
GitHub에서 보기LoopGrid MCP Server — v0.1 design preview
MCP access to the LoopGrid evidence plane for consequential AI and agent decisions.
loopgrid-mcp is a thin Model Context Protocol (MCP) bridge for LoopGrid.
It lets an MCP-compatible AI host record and retrieve signed, tamper-evident decision evidence through six MCP tools while keeping the MCP layer separate from the LoopGrid core runtime.
The bridge communicates with LoopGrid exclusively through its REST API. It does not import LoopGrid internals, access the LoopGrid database directly, change signing logic, alter the evidence schema, or modify the existing LoopGrid SDK contracts.
Public release
Current version:
0.1.0
Available through:
- PyPI:
loopgrid-mcp - GitHub:
github.com/loopgridio/loopgrid-mcp - MCP Registry:
io.github.loopgridio/loopgrid-mcp
The official MCP Registry entry is active and currently points to the PyPI 0.1.0 package using local stdio transport.
Architecture
MCP-compatible AI host/client
|
| stdio MCP
v
loopgrid-mcp
|
| LoopGrid REST API
v
LoopGrid
|
v
signed, tamper-evident
decision evidence
The v0.1 release uses local stdio transport.
No separate hosted MCP service, Railway deployment, Render deployment, AWS service, or MCP-specific database is required.
MCP tools
The server exposes six tools:
loopgrid.record_decisionloopgrid.record_reviewloopgrid.record_actionloopgrid.record_outcomeloopgrid.get_evidenceloopgrid.verify_evidence
Important safety boundary
LoopGrid MCP is an evidence bridge, not a business-action executor.
loopgrid.record_action does not issue a Stripe refund, modify Salesforce, change ServiceNow, or invoke another external business system. It records evidence supplied by the calling integration that an external action occurred.
Likewise, loopgrid.record_outcome records an outcome reported by the calling integration.
LoopGrid can cryptographically verify the integrity of the captured record. That verification does not independently prove that every external-world claim in the record is true and does not determine legal or regulatory compliance.
Human review receives additional protection. loopgrid.record_review is registered as an MCP tool but is disabled by default. To enable it, an operator must explicitly configure both the review flag and reviewer identity. The model cannot choose the configured reviewer identity.
Raw FULL-mode disclosure payloads are also excluded from MCP evidence export by default.
Requirements
- Python 3.10+
- A reachable LoopGrid v0.8.x service
- For local evaluation, the public LoopGrid GHCR image is sufficient
Normal use of the Python stdio server does not require Node.js.
Node.js is only needed for optional browser-based MCP Inspector tooling.
The project uses the official MCP Python SDK v2 line:
mcp>=2,<3
Quick start
1. Start LoopGrid
For local evaluation using Docker:
docker run --rm `
--platform linux/amd64 `
-p 8000:8000 `
-v loopgrid_demo_data:/app/data `
ghcr.io/cybertechsoft/loopgrid:edge
Leave the LoopGrid container running.
By default, LoopGrid MCP expects the service at:
http://127.0.0.1:8000
2. Install LoopGrid MCP from PyPI
Create a Python virtual environment:
py -3.12 -m venv .venv
.\.venv\Scripts\Activate.ps1
python -m pip install --upgrade pip
Install the published package:
pip install loopgrid-mcp
3. Check connectivity
Run:
loopgrid-mcp-doctor
Expected shape:
[OK] LoopGrid reachable: http://127.0.0.1:8000
[OK] version: 0.8.1-design-partner
[OK] evidence profile: 3.0-draft
[OK] database: ok
[OK] signer: local_ed25519
[OK] MCP workspace: default
The local evaluation configuration does not require a service key when LoopGrid authentication is disabled.
4. Start the MCP server
Run:
loopgrid-mcp
Because this is a stdio MCP server, running it directly normally causes it to wait for MCP messages on standard input.
In normal use, an MCP-compatible host starts this command for you.
Generic MCP client configuration
A generic client configuration looks like:
{
"mcpServers": {
"loopgrid": {
"command": "loopgrid-mcp",
"env": {
"LOOPGRID_BASE_URL": "http://127.0.0.1:8000",
"LOOPGRID_WORKSPACE": "default"
}
}
}
}
On Windows, some MCP hosts may require the full path to the executable, for example:
.venv\Scripts\loopgrid-mcp.exe
See:
examples/mcp-client-config.windows.json
for an example.
Install from source
For development or repository validation:
git clone https://github.com/loopgridio/loopgrid-mcp.git
cd loopgrid-mcp
py -3.12 -m venv .venv
.\.venv\Scripts\Activate.ps1
python -m pip install --upgrade pip
python -m pip install -e ".[dev]"
Then verify connectivity:
loopgrid-mcp-doctor
Development and validation
Unit and protocol tests
Run:
python -m pytest -ra
Repository release check
Run:
python .\scripts\release_check.py
REST smoke test
Run:
python .\scripts\smoke_test.py
The smoke test creates a synthetic decision, records synthetic action and outcome evidence, verifies the decision, and downloads an evidence ZIP.
It does not call a real external business system.
Real stdio MCP client test
Run:
python .\scripts\mcp_stdio_test.py
This launches loopgrid-mcp as a child stdio server using the official MCP Python client and verifies:
connect
-> discover all 6 tools
-> record decision
-> record action evidence
-> record outcome evidence
-> service-side verification
-> evidence ZIP export
-> review tool remains disabled by default
A successful run ends with:
[PASS] Real stdio MCP client test completed successfully.
This is the recommended automated release-gate test for the MCP protocol path.
Optional MCP Inspector
The browser-based MCP Inspector can be useful for manual exploration, but it is not required to run or validate LoopGrid MCP.
The canonical automated protocol test in this repository remains:
python .\scripts\mcp_stdio_test.py
If your installed MCP development tooling supports the Inspector cleanly, you can also try:
mcp dev .\src\loopgrid_mcp\server.py
Tool behavior
loopgrid.record_decision
Captures a decision through the LoopGrid REST API.
Optional inputs can also append model evidence and evaluate an existing LoopGrid policy.
It never executes proposed_action.
Example:
{
"decision_type": "customer_refund",
"agent_id": "support-agent",
"agent_version": "1.0",
"proposed_action": {
"tool": "stripe.refunds.create",
"amount": 720,
"currency": "USD"
},
"model": {
"provider": "openai",
"name": "gpt-5"
},
"authority": {
"acting_for": "Acme",
"limit_usd": 1500,
"scope": ["refund:create"]
}
}
loopgrid.record_review
Records an approve/reject review through the LoopGrid review endpoint.
This tool is disabled by default.
To enable it deliberately:
$env:LOOPGRID_MCP_ENABLE_REVIEW_TOOL="true"
$env:LOOPGRID_MCP_REVIEWER_ID="reviewer@example.com"
When LoopGrid authentication is enabled, the configured service key must also have the appropriate review scope.
loopgrid.record_action
Appends tool_executed evidence to the decision record.
It does not execute the external tool.
Canonical fields such as the tool name cannot be overwritten by free-form details.
loopgrid.record_outcome
Appends outcome_observed evidence.
The calling integration is responsible for obtaining the real downstream outcome.
Canonical fields such as status and verified_against cannot be overwritten by free-form details.
loopgrid.get_evidence
Downloads the portable LoopGrid evidence ZIP to:
LOOPGRID_EVIDENCE_DIR
The default directory is:
./loopgrid-evidence
Raw disclosure payloads are blocked from MCP evidence export unless explicitly enabled:
$env:LOOPGRID_MCP_ALLOW_PAYLOAD_EXPORT="true"
loopgrid.verify_evidence
Asks the connected LoopGrid service to verify the decision's signed workspace chain.
This is service-side verification.
Independent/offline verification of an exported evidence bundle should use the corresponding LoopGrid evidence-verification workflow rather than duplicating that verifier inside the MCP bridge.
Authenticated LoopGrid deployments
For local evaluation with LoopGrid authentication disabled, no service key is required.
When authentication is enabled:
$env:LOOPGRID_SERVICE_KEY="<scoped-service-key>"
Use the minimum scopes required by the MCP tools you enable.
Do not use an administrative key unless administration is genuinely required.
Configuration
See:
.env.example
for the complete supported environment-variable configuration.
Common settings include:
LOOPGRID_BASE_URL
LOOPGRID_WORKSPACE
LOOPGRID_SERVICE_KEY
LOOPGRID_EVIDENCE_DIR
LOOPGRID_MCP_TIMEOUT_SECONDS
LOOPGRID_MCP_ENABLE_REVIEW_TOOL
LOOPGRID_MCP_REVIEWER_ID
LOOPGRID_MCP_ALLOW_PAYLOAD_EXPORT
The bridge does not automatically load .env.
The MCP host should inject environment variables, or the operator should configure them in the environment that starts the server.
The LoopGrid service URL is operator configuration rather than an MCP tool argument. This prevents a model from redirecting the bridge to an arbitrary LoopGrid host through a tool call.
Privacy and disclosure defaults
LoopGrid supports evidence workflows with different disclosure levels.
The MCP bridge follows conservative defaults:
- human review recording is disabled unless explicitly enabled;
- reviewer identity is operator-configured;
- raw FULL-mode payload export is disabled by default;
- authenticated deployments should use scoped service keys;
- external business actions are never executed by the MCP bridge itself.
Repository boundary
LoopGrid core and LoopGrid MCP intentionally remain separate:
github.com/cybertechsoft/loopgrid
core LoopGrid evidence infrastructure
github.com/loopgridio/loopgrid-mcp
MCP protocol bridge
The MCP bridge communicates with the LoopGrid core runtime only over HTTP.
Validation status
LoopGrid MCP 0.1.0 has been validated on Windows against the public LoopGrid 0.8.1-design-partner container.
Validation included:
- clean repository installation;
- Python unit/protocol tests;
- REST connectivity;
- synthetic decision creation;
- action evidence recording;
- outcome evidence recording;
- service-side cryptographic verification;
- portable evidence ZIP export;
- official MCP Python client stdio negotiation;
- discovery of all six MCP tools;
- confirmation that the review tool remains disabled by default.
The official MCP Python client successfully negotiated MCP protocol:
2026-07-28
See VALIDATION.md for the detailed release-gate record.
MCP Registry
LoopGrid MCP is published in the official MCP Registry as:
io.github.loopgridio/loopgrid-mcp
Current Registry version:
0.1.0
Registry metadata:
Status: active
Latest: true
Package registry: PyPI
Package: loopgrid-mcp
Transport: stdio
The Registry entry is publicly discoverable and points to:
https://github.com/loopgridio/loopgrid-mcp
The corresponding Python package is published as:
loopgrid-mcp==0.1.0
The hidden ownership marker near the top of this README:
<!-- mcp-name: io.github.loopgridio/loopgrid-mcp -->
is intentionally retained because it is used for MCP Registry package ownership verification.
For future releases:
- update the package version;
- update
server.jsonto the same version; - run the repository validation suite;
- publish the new version to PyPI;
- confirm the package is publicly installable;
- validate
server.jsonwithmcp-publisher; - publish the corresponding version to the MCP Registry.
Release posture
0.1.0 is a design preview, not Production GA.
It is intended to validate a clean MCP integration path for LoopGrid v0.8.x without changing LoopGrid's signing, hash-chain, evidence-bundle, verification, or SDK contracts.
LoopGrid provides signed, tamper-evident evidence and append-only decision history. Verification confirms the integrity of the captured record; it does not determine legal compliance.
License
Apache-2.0.
See LICENSE.
LoopGrid MCP 질문
LoopGrid MCP를 Claude Code에 추가하려면 어떻게 하나요?
터미널에서 claude mcp add --env 'LOOPGRID_SERVICE_KEY=<YOUR_LOOPGRID_SERVICE_KEY>' loopgrid-mcp -- uvx loopgrid-mcp를 실행합니다. 모든 프로젝트에서 사용할 수 있게 하려면 --scope user를 추가합니다.
LoopGrid MCP를 Cursor에 추가하려면 어떻게 하나요?
~/.cursor/mcp.json를 열고 mcpServers 아래에 서버를 추가합니다. 위 설치 섹션에 표시된 Cursor 구성을 사용합니다.
사람의 검토 기능이 기본적으로 활성화되어 있나요?
아니요, 사람의 검토 도구는 기본적으로 비활성화되어 있으며, 검토 플래그와 검토자 신원을 명시적으로 설정해야 합니다.
기록된 증거의 무결성을 어떻게 확인할 수 있나요?
verify_evidence 도구를 사용하여 연결된 LoopGrid 서비스에 결정의 서명된 워크스페이스 체인 검증을 요청할 수 있습니다.