
Openlane MCP Server
io.github.GregDog由 GitHub 帳號 GregDog 發布v0.8.0更新於 Oct 24, 2026
MCP server for Openlane GRC: controls, evidence, policies, risks, workflows, and approvals.
概覽
針對 Openlane GRC 的非官方 MCP 伺服器,讓助理讀取控制項、證據、政策、風險、供應商與工作流程,並可選擇開啟寫入和刪除。
- 可以做什麼
- 列出、搜尋並取得控制項、專案、標準以及跨框架控制對應,取得類工具附帶關聯摘要,多數領域(供應商、風險、發現項、證據、評估、實作、資產、平台、聯絡人、群組、使用者)的清單支援篩選與分頁。讀取政策、任務、供應商風險審查,以及工作流程定義、執行個體、指派和中介資料。開啟寫入模式後可建立或更新控制項、對應、證據、政策、風險、任務、供應商、平台、聯絡人、風險審查和工作流程定義。對工作流程指派執行核准、拒絕、要求修改或重新指派,並讓政策走提交、核准、發布和退回草稿的流程。
- 適用情境
- 適合在 Openlane 進行治理、風險與合規工作的人,讓助理跨控制項、證據、風險、供應商和簽核回答問題,或在不切換主控台的情況下草擬和更新紀錄。預設為唯讀,無需額外開啟。
- 執行需求
- 以 Go 二進位檔、Docker 映像或原始碼建置(需 Go 1.27 以上)在本機透過 stdio(或選用 HTTP)執行。需要 OPENLANE_API_TOKEN 提供 Openlane API 權杖或 PAT,多組織權杖另需 OPENLANE_ORGANIZATION_ID,自架執行個體可選用 OPENLANE_BASE_URL。需要連線至 Openlane API 的網路。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Openlane MCP Server,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
Openlane MCP Server
A secure, open-source Model Context Protocol server for the Openlane GRC platform.
This project is not an official Openlane product and is not endorsed by theopenlane, Inc.
Overview
openlane-mcp lets MCP clients such as Cursor and Claude Desktop query Openlane over stdio (default) or Streamable HTTP. It talks to Openlane Cloud or a self-hosted instance through the official Openlane Go client.
The server is read-only by default. Write and delete tools are opt-in and independent. Openlane authorization still applies to every request.
Features
- Openlane MCP access for programs, controls, evidence, policies, risks, standards, tasks, entities (vendors), assets, platforms, contacts, findings, assessments, control implementations, groups, users, and workflows
- Enriched get tools with vendor/security fields and compact relationship summaries
- List filters on entities, risks, findings, evidence, programs, assessments, implementations, and workflows
- Opt-in create/update tools for controls, evidence, policies, risks, tasks, vendors/entities, contacts, vendor Risk Reviews, workflow definitions, workflow assignments, and native policy lifecycle
- Opt-in delete tools for the same domains plus workflow definitions (except programs and standards)
- Openlane Cloud and self-hosted Openlane (configurable base URL)
- stdio transport (default) and opt-in Streamable HTTP transport
- Native Go binary
- Docker image (published with GitHub Releases)
- MCP Registry listing on tagged releases (
io.github.GregDog/mcp-server-theopenlane)
Quick Start
Create an Openlane API token or PAT in console developer settings. Organization tokens start with tola_. Personal access tokens start with tolp_.
Then connect an MCP client. See Client configuration.
Installation
From source
Requires Go 1.27 or later.
GitHub Releases
Binary archives will be published on tagged GitHub Releases (linux/darwin amd64+arm64, windows amd64) with SHA256 checksums.
Docker
Images are published with GitHub Releases to ghcr.io/gregdog/mcp-server-theopenlane.
Client configuration
Cursor (stdio, recommended)
This repository's .cursor/mcp.json uses scripts/mcp-serve.sh, which loads .env and runs the local binary:
Or install globally and pass env vars directly:
Cursor (HTTP)
Start the server with bash scripts/mcp-http.sh (see HTTP transport), then use examples/cursor-http.mcp.json as a template.
Claude Desktop
Add to claude_desktop_config.json:
Prefer environment substitution or a local secrets store over committing tokens. Examples in this repository use fictional values only.
Security
Read tools are always available. Write tools require OPENLANE_ALLOW_WRITE=true or --allow-write. Delete tools require OPENLANE_ALLOW_DELETE=true or --allow-delete.
A successful read still requires:
- An Openlane token with the relevant
object:readscope (or equivalent PAT permissions) - Openlane authorization for that object in the selected organization
Writes and deletes additionally require server opt-in (OPENLANE_ALLOW_WRITE / OPENLANE_ALLOW_DELETE) and matching Openlane token permissions. Workflow definition writes, workflow assignment actions, native policy lifecycle actions, and workflow deletes also require confirm: true on the tool call.
Tokens are never logged. See docs/security.md.
Tool coverage
Write tools (require OPENLANE_ALLOW_WRITE=true or --allow-write):
Delete tools (require OPENLANE_ALLOW_DELETE=true or --allow-delete):
See docs/tools.md for full details. With all modes enabled there are 77 tools (44 read, 27 write, 6 delete).
Enriched get tools return bounded relationship summaries (count + items) so agents can answer program, vendor, control, and finding questions without chaining dozens of shallow calls.
List responses are paginated (items, next_cursor, has_more, total_count). Default page size is 20; maximum is 50.
There is no dedicated control search GraphQL operation in the current Openlane Go client. openlane_controls_search uses official ControlWhereInput contains-filters.
File contents and presigned download URLs are not returned from read tools. Write tools accept optional base64-encoded files[] on evidence create/update (default max 10 MiB decoded per file).
Linking evidence to controls
openlane_evidence_create accepts optional control_ids; openlane_evidence_update supports add_control_ids / remove_control_ids. Only org-owned controls (owner_id set) may be linked — system catalog copies are rejected (core#1647). Use openlane_controls_search with linkable_only: true to list linkable controls. Program-imported controls may still show source: FRAMEWORK when owner_id is set.
openlane_control_update accepts owner_id and delegate_id as user id, email, name, or group id; user identifiers resolve to managed personal groups (Openlane controlOwnerID / delegateID). Read responses include control_owner and delegate objects with resolved user_email — do not use openlane_user_get on group ids. See docs/openlane-assignee-ids.md (user vs group vs org; what is fixed globally vs controls-only).
For large files[] base64 uploads, prefer a direct MCP client or automation script that passes the payload machine-to-machine. Agent loops that copy content_base64 between tool calls may truncate or corrupt the data.
HTTP transport
By default the server uses stdio. For local HTTP testing:
The default bind is loopback only (127.0.0.1:8090). Do not use 0.0.0.0 or bare :port addresses unless you understand the exposure.
HTTP mode has no built-in authentication. Do not expose it directly to the public internet. Anyone who can reach the endpoint can use the server's Openlane token. For remote or shared-network deployment, place a trusted authentication reverse proxy (or equivalent private network controls) in front of the server. See docs/security.md.
Increase OPENLANE_MCP_HTTP_MAX_BODY_BYTES when uploading large evidence files over HTTP.
MCP Registry
Published to the MCP Registry as io.github.GregDog/mcp-server-theopenlane on each tagged release. The OCI package is ghcr.io/gregdog/mcp-server-theopenlane.
Development
See docs/development.md.
Contributing
See CONTRIBUTING.md. To add or extend an MCP tool, see docs/adding-tools.md.
Issues labeled good first issue or help wanted are a good place to start.
Licence
Apache License 2.0. See LICENSE.
Openlane names are used only to describe compatibility. Do not copy Openlane logos or imply official endorsement.
來源:README.md,提交 063e7e5
工具
0版本歷史
4- v0.8.0最新Sep 25, 2026
- v0.7.1Sep 23, 2026
- v0.6.0Sep 23, 2026
- v0.5.2Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分