OSCAL Tools

v1.0.0Securitystable

OSCAL tools for AI agents

compliance-as-codecompliance-automationcontinuous-compliancemcp-serveroscal
Share:
43
Stars
0
Downloads
0
Weekly
0/5

What is OSCAL Tools?

OSCAL Tools is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to oscal tools for ai agents

OSCAL tools for AI agents

This server falls under the Security category on MCPgee, the world's largest MCP server directory with 33,000+ servers.

Features

  • OSCAL tools for AI agents

Use Cases

Automate compliance documentation with OSCAL framework.
Integrate compliance-as-code into your workflow.
awslabs

Maintainer

LicenseApache-2.0
Languagepython
Versionv1.0.0
UpdatedMay 7, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx for-oscal

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

How to Set Up and Use OSCAL Tools

The MCP Server for OSCAL (Open Security Controls Assessment Language) is an AWS Labs tool that gives AI agents instant access to OSCAL schemas, documentation, model listings, open-source OSCAL catalogs, and AWS component definitions. It bundles NIST OSCAL schemas and AWS component definitions directly, with SHA-256 integrity verification, and supports custom OSCAL document indexing via environment configuration. Security engineers and compliance teams use it to generate OSCAL templates, query component definitions, and automate compliance-as-code workflows without manually navigating NIST documentation.

Prerequisites

  • Python 3.10+ with uv or uvx installed (recommended) or pip
  • An MCP-compatible client such as Claude Desktop, Cursor, or VS Code with MCP support
  • Optional: a directory of custom OSCAL JSON documents if you want to index your own content
1

Install uvx (if not already installed)

uvx is the recommended way to run the server in an isolated environment without a permanent installation. Install it via the uv installer.

curl -LsSf https://astral.sh/uv/install.sh | sh
2

Add the server to your MCP client configuration

Edit your MCP client configuration file to add the OSCAL server. The server requires no API keys — all bundled content is self-contained.

{
  "mcpServers": {
    "oscal": {
      "command": "uvx",
      "args": ["mcp-server-for-oscal@latest"]
    }
  }
}
3

Configure custom OSCAL document directory (optional)

If you have your own OSCAL JSON documents, point the server to your directory so they are indexed and queryable alongside the bundled content.

{
  "mcpServers": {
    "oscal": {
      "command": "uvx",
      "args": ["mcp-server-for-oscal@latest"],
      "env": {
        "OSCAL_DOCUMENTS_DIR": "/path/to/your/oscal-documents",
        "OSCAL_STORE_DB_PATH": "/path/to/oscal-index.sqlite",
        "OSCAL_STORE_CACHE_SIZE": "100"
      }
    }
  }
}
4

Restart your MCP client

Save the configuration and restart Claude Desktop or your IDE. The server will start automatically via uvx when your client connects.

5

Verify by querying available OSCAL models

Ask your AI assistant to list available OSCAL models to confirm the server is running and bundled content is accessible.

OSCAL Tools Examples

Client configuration

Example claude_desktop_config.json for the OSCAL MCP server with a custom documents directory.

{
  "mcpServers": {
    "oscal": {
      "command": "uvx",
      "args": ["mcp-server-for-oscal@latest"],
      "env": {
        "OSCAL_DOCUMENTS_DIR": "/Users/you/oscal-documents",
        "OSCAL_STORE_DB_PATH": "/Users/you/.oscal/index.sqlite",
        "OSCAL_STORE_CACHE_SIZE": "100"
      }
    }
  }
}

Prompts to try

Example prompts for OSCAL compliance automation and documentation.

- "How many GA OSCAL models are there and what are their names?"
- "Generate a minimum, valid OSCAL System Security Plan (SSP) in JSON as a template."
- "What open source OSCAL catalogs are available?"
- "What components are available for AWS Cognito in the component definitions?"
- "Show me everything in the EC2 component definition."
- "What is the OSCAL schema for a catalog document?"

Troubleshooting OSCAL Tools

uvx command not found when starting the server

Install uv with 'curl -LsSf https://astral.sh/uv/install.sh | sh' and restart your terminal to update PATH. Verify with 'which uvx'. Alternatively, install via pip: 'pip install mcp-server-for-oscal' and use 'mcp-server-for-oscal' as the command.

Custom OSCAL documents are not appearing in query results

Ensure OSCAL_DOCUMENTS_DIR points to a directory containing valid OSCAL JSON files. The server validates content integrity; malformed JSON files will be skipped. Check server startup logs for indexing errors.

Component definition queries return no results for expected AWS services

The bundled AWS component definitions may not cover all services. Use list_components first to see what is available. Use list_oscal_resources to discover additional community-contributed OSCAL content you can download and add to your OSCAL_DOCUMENTS_DIR.

Frequently Asked Questions about OSCAL Tools

What is OSCAL Tools?

OSCAL Tools is a Model Context Protocol (MCP) server that oscal tools for ai agents It connects AI assistants to external tools and data sources through a standardized interface.

How do I install OSCAL Tools?

Follow the installation instructions on the OSCAL Tools GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.

Which AI clients work with OSCAL Tools?

OSCAL Tools works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.

Is OSCAL Tools free to use?

Yes, OSCAL Tools is open source and available under the Apache-2.0 license. You can use it freely in both personal and commercial projects.

OSCAL Tools Alternatives — Similar Security Servers

Looking for alternatives to OSCAL Tools? Here are other popular security servers you can use with Claude, Cursor, and VS Code.

Casdoor

13.6k

An open-source Agent-first Identity and Access Management (IAM) /LLM MCP & agent gateway and auth server with web UI supporting OpenClaw, MCP, OAuth, OIDC, SAML, CAS, LDAP, SCIM, WebAuthn, TOTP, MFA, Face ID, Google Workspace, Azure AD

ghidraMCP

9.0k

An Model Context Protocol server that enables LLMs to autonomously reverse engineer applications by exposing Ghidra's decompilation and analysis tools. It allows AI agents to list code structures, rename methods, and analyze binaries directly through

HexStrike AI

8.9k

HexStrike AI MCP Agents is an advanced MCP server that lets AI agents (Claude, GPT, Copilot, etc.) autonomously run 150+ cybersecurity tools for automated pentesting, vulnerability discovery, bug bounty automation, and security research. Seamlessly b

IDA Pro MCP

8.7k

Enables AI-assisted reverse engineering in IDA Pro by providing tools to analyze binaries, decompile functions, manage comments, search patterns, and interact with the IDA database through natural language.

Anthropic Cybersecurity Skills

6.6k

754 structured cybersecurity skills for AI agents · Mapped to 5 frameworks: MITRE ATT&CK, NIST CSF 2.0, MITRE ATLAS, D3FEND & NIST AI RMF · agentskills.io standard · Works with Claude Code, GitHub Copilot, Codex CLI, Cursor, Gemini CLI & 20+ platform

Hooker

5.1k

🔥🔥 hooker is a Frida-based reverse engineering toolkit for Android. It offers a user-friendly CLI, universal scripts, auto hook generation, memory roaming to detect activities/services, one-click SOCKS5 proxy setup, Frida JustTrustMe, and BoringSSL u

Browse More Security MCP Servers

Explore all security servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.

Quick Config Preview

{ "mcpServers": { "for-oscal": { "command": "npx", "args": ["-y", "for-oscal"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

Ready to use OSCAL Tools?

Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.

33,000+ ServersFree & Open SourceStep-by-Step Guides