
Fedramp Docs Mcp
io.github.ethanolivertroy由 GitHub 账号 ethanolivertroy 发布v0.2.2更新于 Oct 24, 2026
Query FedRAMP 20x KSIs, NIST controls, and compliance docs via 20 MCP tools.
概览
一个本地 MCP 服务器,为 FedRAMP 文档建立索引,让助手查询 KSI、NIST 控制项映射、定义与合规指南。
- 可以做什么
- 列出并读取已索引的 FRMR 文档及其版本,查看各文档类型的摘要,并检查索引健康状态。按 ID、影响级别或主题浏览关键安全指标(KSI),并获取合规证据示例建议。将要求映射到 NIST 控制项,列出某个控制项对应的要求,并分析各控制族在 FedRAMP 中的覆盖情况。对 FedRAMP Markdown 文档做全文检索与阅读,检索定义,并按 ID 获取任意要求。比较不同版本的 FRMR 数据集,在 Markdown 中定位控制项引用,并获取整理好的重大变更指南。按关键词或类别发现服务器自身的工具,并强制刷新缓存的文档。
- 适用场景
- 适合处理 FedRAMP 20x 合规工作、希望助手基于官方文档而非记忆来回答 KSI、控制项映射、定义或重大变更指南问题的场景。适用于合规分析师、审计人员和准备授权证据的工程师。
- 运行要求
- 以 npm 包形式通过 stdio 在本地运行,需要 Node.js 18 或更高版本以及 npm 8 或更高版本。无需账号或 API 密钥。启动时会克隆 FedRAMP 文档仓库到缓存目录,除非用 FEDRAMP_DOCS_PATH 指向已有的检出副本,因此首次克隆和更新需要网络访问。可通过 FEDRAMP_DOCS_PATH、FEDRAMP_DOCS_AUTO_UPDATE 和 FEDRAMP_DOCS_UPDATE_CHECK_HOURS 调整行为。
安装
在 SourceWeft 中
- 打开 控制台中的 Fedramp Docs Mcp,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
FedRAMP Docs MCP Server
⚠️ This project is sunsetting
This MCP server is no longer under active development. The FedRAMP search and FRMR parsing capabilities are being folded into GRC Clanker and myctrl.tools, where they live inside an actual GRC workflow instead of as a standalone subprocess.
The npm package and this repository remain available for existing users, but no new features will land here. For the reasoning and post-mortem, see the project writeup.
— Ethan (2026-04-15)
Disclaimer: This is an unofficial, community project and is not affiliated with, endorsed by, or associated with FedRAMP or the U.S. federal government. The author is not officially affiliated with FedRAMP. The FedRAMP name and any related marks are property of their respective owners.
Custom Model Context Protocol (MCP) server that makes the FedRAMP/docs repository queryable with FRMR-aware tooling. The server scans FRMR JSON datasets and supporting markdown guidance, exposes structured tools for analysis, and can optionally clone and cache the upstream repository for you.
Demo
See the FedRAMP Docs MCP Server in action with Claude Desktop:
https://github.com/user-attachments/assets/653c3956-0bfb-46c4-9e72-8a6d75e3a80d
Documentation
Additional resources:
- Local Development - Build from source
- Docker Setup - Container deployment
- Security Hardening - Production configurations
- Contributing - How to contribute
Prerequisites
- Node.js 18 or higher
- npm 8 or higher
Features
- Auto-detects all 12 FRMR JSON document types and builds typed metadata.
- Extracts KSI entries, flattened control mappings, and Significant Change references.
- Fast markdown search via an inverted index backed by Lunr with snippets and line numbers.
- Indexes 62+ markdown files from
tools/site/content/(Zensical static site content). - Structured diffing between FRMR versions, including per-item change detection.
- Health check, version listing, and curated Significant Change guidance aggregator.
- Claude Plugin with slash commands, agent skills, and compliance analyst agent.
- Docker support with security hardening following 2025 best practices.
Supported Document Types
Getting Started
Local Development
- Install dependencies:
- Build the project:
- Run the server:
Global Installation
To install globally and use the fedramp-docs-mcp command:
Note: Global installation is required if you want to use fedramp-docs-mcp as the command in MCP client configurations (Claude Desktop, Goose, etc.). Alternatively, you can use the full path to the built server: node /path/to/fedramp-docs-mcp/dist/index.js
CLI Commands
The package includes helpful CLI commands:
During startup the server ensures a FedRAMP/docs repository is available, indexes FRMR JSON and markdown content, then begins serving requests on MCP stdio.
Configuration
Environment variables control repository discovery and indexing behaviour:
Set FEDRAMP_DOCS_PATH if you maintain a local clone. Otherwise leave it unset and allow the server to create a shallow cached copy.
Keeping Data Up-to-Date
The server includes automatic update checking to keep the FedRAMP docs current:
Automatic Updates (Default Behavior):
- Every 24 hours (configurable), the server checks if the cached repository needs updating
- If updates are available, they're fetched automatically on server startup
- This ensures you always have recent FedRAMP data without manual intervention
Manual Updates:
- Use the
update_repositorytool to force an immediate update - Example query in Claude Desktop: "Update the FedRAMP docs repository"
- Useful when you know new requirements or guidance has been published
Disabling Auto-Update:
Custom Update Frequency (check every 6 hours):
Available Tools
The server provides 21 tools organized into categories. All tools follow the error model and respond with JSON payloads.
Document Discovery
KSI (Key Security Indicators)
Control Mapping
Search & Lookup
Analysis
System
Evidence Collection Suggestions
The get_evidence_examples tool provides community-suggested evidence examples for each KSI. These are automation-friendly suggestions showing how to programmatically collect compliance evidence via APIs, CLI commands, and security tools.
Important: These are NOT official FedRAMP guidance. Always verify requirements with official FedRAMP documentation.
What's Included
For each of the 72 KSI indicators, we provide:
- Evidence types: API calls, reports, scans, logs, configurations, documentation
- Automation sources: AWS, Azure, GCP, Okta, Splunk, Terraform, GitHub Actions, etc.
- Example commands: Ready-to-use CLI commands and API endpoints
Example Evidence Sources by Theme
Usage Example
See src/tools/ for the precise schemas implemented with Zod. Each tool returns either a successful object or an error payload containing code, message, and optional hint.
Usage Examples
When using the MCP server with Claude Desktop or other MCP clients, here are some example queries:
Getting KSI Information:
Searching Documentation:
Working with Controls:
Analyzing Changes:
Advanced Queries: Dashboard & Architecture Insights
These prompts combine FedRAMP data with Claude's analytical capabilities to help you design compliance dashboards and features:
Dashboard Architecture:
Visualization Design:
Feature Planning:
Data Modeling:
Executive Reporting:
Tool Search & Deferred Loading
With 21 tools, this MCP server is a great candidate for deferred tool loading (also known as tool search). Instead of loading all tools upfront, clients can load a small set of essential tools and discover the rest on demand via the search_tools tool.
The search_tools Tool
The search_tools tool lets clients discover available tools by keyword or category:
Recommended Non-Deferred Tools
When using deferred loading, keep these 5 tools always loaded:
Claude API Configuration with Deferred Loading
When using the Claude API with mcp_toolset, you can configure deferred loading:
The Claude API will use tool annotations (readOnlyHint, destructiveHint, etc.) to make informed decisions about tool selection. All 21 tools include annotations.
MCP Client Configuration
The FedRAMP Docs MCP server works with any MCP-compatible client. Below are setup instructions for the most popular and reliable clients.
Recommended clients:
- Claude Desktop - Most mature MCP integration, excellent tool discovery
- Claude Code CLI - Official Anthropic CLI tool, great for terminal workflows
- Cursor - AI-powered IDE with native MCP support
- VS Code + GitHub Copilot - Native MCP support, no extensions required
- Windsurf - AI-powered IDE with native MCP support
- Codex (OpenAI) - Open-source coding agent with MCP support
- Gemini CLI - Google's command-line AI agent with MCP support
- LM Studio - Native MCP support, works with local models for privacy
- OpenCode - Terminal-based coding agent with MCP support
- Goose - Experimental support, may have tool discovery issues
Claude Desktop
Add the server to your Claude Desktop configuration file:
Location: ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
Option 1: Using npx (Recommended - no install required)
Option 2: Global installation
After updating the config, restart Claude Desktop. The FedRAMP Docs tools will appear in your conversations.
Claude Code CLI
Claude Code is Anthropic's official CLI tool with built-in MCP support.
Method 1: Using CLI (Recommended)
Method 2: Configuration File
Claude Code supports three configuration scopes:
- Project-scoped (recommended for teams):
.mcp.jsonin project root - User-scoped:
~/.claude/settings.local.json - Project-local:
.claude/settings.local.jsonin project root
Example .mcp.json (project-scoped, can be version-controlled):
With environment variable expansion:
Testing:
- Restart Claude Code after configuration changes
- Use
/mcpcommand for interactive management - Use
--mcp-debugflag for troubleshooting:claude --mcp-debug - Verify with:
claude mcp list
Note: Project-scoped configurations in .mcp.json enable team collaboration by ensuring all team members have access to the same MCP tools.
LM Studio
LM Studio (v0.3.17+) has native MCP support and works great with local models for privacy-focused workflows.
Setup Instructions
- Open LM Studio and click the Program tab (terminal icon >_) in the right sidebar
- Click "Edit mcp.json" under the Install section
- Add the FedRAMP Docs configuration:
Config file location:
- macOS/Linux:
~/.lmstudio/mcp.json - Windows:
%USERPROFILE%\.lmstudio\mcp.json
Basic configuration:
Using full path (recommended if command not found):
- Save the file - LM Studio will automatically load the server
- Start chatting - Open a chat with any local model
- Test it - Ask: "List all FedRAMP FRMR documents"
- Approve tool calls - LM Studio will show a confirmation dialog before executing each tool
Note: Requires global installation (npm install -g .) or use the full path to the executable. Find your path with: which fedramp-docs-mcp
OpenCode
OpenCode is a powerful AI coding agent built for the terminal with native MCP support.
Setup Instructions
- Create or edit your OpenCode configuration file:
Config file location:
- Global:
~/.config/opencode/opencode.json - Project:
opencode.json(in your project root)
- Add the FedRAMP Docs MCP server:
Basic configuration:
With full path:
With environment variables:
- Restart OpenCode to load the MCP server
- Test it - The FedRAMP tools will be automatically available alongside built-in tools
Note: MCP servers add to your context, so enable only the ones you need. Use "enabled": false to temporarily disable a server without removing it.
Goose
Goose is Block's open-source AI agent. You can add the FedRAMP Docs MCP server using any of these methods:
Method 1: Via Goose CLI (Recommended)
Then select:
Add ExtensionCommand-line Extension- Enter the following details:
- Name:
FedRAMP Docs - Command:
fedramp-docs-mcp - Timeout:
300
- Name:
Method 2: Via Goose Desktop App
- Open Goose Desktop
- Click Extensions in the sidebar
- Click Add custom extension
- Fill in the form:
- Extension Name:
FedRAMP Docs - Type:
STDIO - Command:
fedramp-docs-mcp - Timeout:
300 - Environment Variables: (optional)
FEDRAMP_DOCS_PATH:/path/to/FedRAMP/docsFEDRAMP_DOCS_AUTO_UPDATE:true
- Extension Name:
Method 3: Via Config File
Edit ~/.config/goose/config.yaml (Linux/macOS) or %USERPROFILE%\.config\goose\config.yaml (Windows):
After configuration, restart Goose or reload extensions. You can test by asking: "What FedRAMP tools are available?"
Note: Goose's MCP support is still maturing and may have issues discovering tools from stdio servers. If you experience problems with tool discovery, consider using Claude Desktop, Claude Code CLI, LM Studio, or OpenCode instead.
Kiro
Kiro is AWS's spec-driven IDE with native MCP support.
Setup Instructions
-
Open Kiro MCP settings:
- Global:
~/.kiro/settings/mcp.json - Project:
.kiro/settings/mcp.json(takes precedence)
- Global:
-
Add the FedRAMP Docs configuration:
With global installation:
- Save the file - Kiro automatically loads MCP servers on config change
- Test it - Ask Kiro: "List all FedRAMP FRMR documents"
Note: Requires global installation (npm install -g fedramp-docs-mcp) or use npx. Find your path with: which fedramp-docs-mcp
Cursor
Cursor supports MCP servers via project or global configuration.
Config file location: .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)
Restart Cursor after saving. You can also configure via Cursor Settings > MCP.
VS Code + GitHub Copilot
VS Code has native MCP support through GitHub Copilot (no extensions required).
Config file location: .vscode/mcp.json (workspace-scoped)
Note: VS Code uses servers (not mcpServers) and requires "type": "stdio".
After saving, Copilot will detect the new server automatically. Manage MCP servers from the Command Palette (Ctrl+Shift+P > "MCP: List Servers").
Windsurf
Windsurf is an AI-powered IDE with native MCP support.
Config file location: ~/.codeium/windsurf/mcp_config.json
Restart Windsurf after saving.
Codex (OpenAI)
Codex is OpenAI's open-source coding agent with MCP support via TOML configuration.
Config file location: ~/.codex/config.toml (global) or .codex/config.toml (project)
You can also manage MCP servers via codex mcp.
Gemini CLI
Gemini CLI is Google's command-line AI agent with MCP support.
Config file location: ~/.gemini/settings.json (global) or .gemini/settings.json (project)
Restart Gemini CLI after saving.
MCP Inspector (Debugging)
The MCP Inspector is an official tool for testing and debugging MCP servers. It provides a visual UI to interactively call tools and explore resources.
Requirements: Node.js 22.7.5 or later
Interactive UI:
Open http://localhost:6274 to access the UI, then test tools like:
health_check- Verify the server is workinglist_frmr_documents- See all indexed FedRAMP documentslist_ksi- Browse Key Security Indicators
CLI Mode (Quick Testing):
Export Configuration: The Inspector UI includes buttons to copy server configurations for Claude Desktop, Cursor, and other MCP clients.
Claude Plugin
The repository includes a Claude Code plugin that provides slash commands, agent skills, and a specialized compliance analyst agent.
Quick Install
In Claude Code, run:
That's it! The plugin is ready to use.
Alternative: Manual Installation
Or add an alias to your shell profile:
Available Commands
Agent Skills
- frmr-analysis - Automatically invoked when analyzing FRMR documents or control mappings
- control-mapping - Automatically invoked when mapping NIST controls to FedRAMP requirements
See plugin/README.md for full documentation.
Docker
Run the MCP server in a security-hardened Docker container.
Quick Start
Docker Compose
Claude Desktop with Docker
Configure Claude Desktop to use the Docker container:
Security Features
The Docker setup follows 2025 MCP security best practices:
- Non-root user: Runs as
mcpuser(UID 1001) - Read-only filesystem: Prevents unauthorized modifications
- Dropped capabilities:
--cap-drop ALLremoves all Linux capabilities - No new privileges: Prevents privilege escalation
- Resource limits: Memory and CPU constraints
- Network isolation: Internal network with no external access by default
Development
Running in Development Mode
Use tsx for rapid iteration without building:
This runs the TypeScript source directly, automatically recompiling on changes.
Running Tests
The repository includes Vitest-based unit and contract tests with small fixtures:
Tests set FEDRAMP_DOCS_PATH to tests/fixtures/repo, ensuring the indexer, search, and diff logic run deterministically without needing the real FedRAMP repo.
Integration tests validate the indexer against the real upstream FedRAMP/docs clone:
These tests clone and index the actual upstream repository, verifying that the parser handles current upstream data correctly. Set FEDRAMP_DOCS_PATH to skip the clone and use an existing checkout. When using your own checkout, also set FEDRAMP_DOCS_AUTO_UPDATE=false to prevent the test from modifying it.
Code Structure
The codebase uses:
- TypeScript 5.4+ with strict mode enabled
- ES Modules (
"type": "module"in package.json) - Node.js module resolution (
moduleResolution: "NodeNext") - Zod for runtime schema validation
- MCP SDK v1.24+ for server implementation
Project Structure
Fixtures live under tests/fixtures, while Vitest specs reside in tests/.
Version History
Tracks FedRAMP FRMR v0.9.2-beta documents. See CHANGELOG.md for full details.
Troubleshooting
Build Errors
Error: Cannot find module '@modelcontextprotocol/sdk'
Ensure you have the correct SDK version installed:
Error: Module not found or import errors
The project uses ES modules with NodeNext resolution. Make sure you're using Node.js 18+ and that your TypeScript configuration matches:
Runtime Errors
Error: REPO_CLONE_FAILED
The server couldn't clone the FedRAMP docs repository. Check:
- Network connectivity
- Set
FEDRAMP_DOCS_PATHto an existing local clone, or - Ensure
FEDRAMP_DOCS_ALLOW_AUTO_CLONE=true(default)
Server starts but no tools appear
Verify the build completed successfully:
Development Issues
TypeScript errors about missing types
Install all development dependencies:
Required type packages:
@types/node@types/fs-extra@types/lunr@types/glob
来源:README.md,提交 bb0ff93
工具
0版本历史
1- v0.2.2最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分