Fire in da houseTop Tip:Paying $100+ per month for Perplexity, MidJourney, Runway, ChatGPT and other tools is crazy - get all your AI tools in one site starting at $15 per month with Galaxy AI Fire in da houseCheck it out free

sar-mcp

MCP.Pizza Chef: MitchyBAwesome

sar-mcp is an MCP server that enables programmatic access to the AWS Programmatic Service Authorization Reference. It allows users to list AWS services, retrieve API actions, condition keys, and resource types supported by specific AWS API actions. This server facilitates integration of AWS service metadata into AI workflows, enabling detailed AWS service exploration and automation within MCP-enabled environments.

Use This MCP server To

List all available AWS services programmatically Retrieve API actions for specific AWS services Fetch condition keys for AWS API actions Get resource types supported by AWS API actions Integrate AWS service metadata into AI workflows Automate AWS service reference lookups in development tools

README

AWS Service Reference MCP Server

This MCP server provides tools to interact with the AWS Programmatic Service Reference, allowing you to:

  • List all available AWS services
  • Get API actions for specific AWS services
  • Get condition keys supported by specific API actions
  • Get resource types supported by specific API actions

Installation

  1. Make sure you have Python 3.10 or higher installed
  2. Clone this repository
  3. Install the required dependencies:
# Create and activate a virtual environment (recommended)
python -m venv .venv
source .venv/bin/activate  # On Unix/macOS
.venv\Scripts\activate     # On Windows

# Install dependencies
pip install -r requirements.txt

Usage

Running the Server

You can run the server directly:

python aws_service_reference.py

Using with Claude Desktop

  1. Open your Claude Desktop configuration file:

    • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
    • Windows: %APPDATA%\Claude\claude_desktop_config.json
  2. Add the server configuration:

{
    "mcpServers": {
        "aws-service-reference": {
            "command": "python",
            "args": ["/ABSOLUTE/PATH/TO/aws_service_reference.py"]
        }
    }
}

Replace /ABSOLUTE/PATH/TO/ with the actual path to where you saved the server file.

  1. Restart Claude Desktop

Available Tools

The server provides four tools:

  1. list_aws_services: Lists all available AWS services
  2. get_service_actions: Gets API actions for a specific AWS service
  3. get_action_condition_keys: Gets condition keys supported by a specific API action
  4. get_action_resource_types: Gets resource types supported by a specific API action

Example Usage in Claude

Once connected, you can ask Claude questions like:

  • "What AWS services are available?"
  • "Show me all the API actions for the S3 service"
  • "What condition keys are supported by the s3:PutObject action?"
  • "What resource types can I use with the ec2:RunInstances action?"

Development

Testing with MCP Inspector

You can test the server using the MCP Inspector:

mcp dev aws_service_reference.py

Dependencies

The project uses the following dependencies (specified in requirements.txt):

  • mcp[cli]>=0.1.0: The Model Context Protocol SDK with CLI tools
  • httpx>=0.26.0: Modern HTTP client for making API requests

Troubleshooting

If you encounter issues:

  1. Verify your Python version is 3.10 or higher
  2. Ensure all dependencies are installed correctly:
    pip install -r requirements.txt
  3. Check the Claude Desktop logs:
    • macOS: ~/Library/Logs/Claude/mcp*.log
    • Windows: %APPDATA%\Claude\logs\mcp*.log
  4. Make sure you're using absolute paths in the Claude Desktop configuration

License

This project is licensed under the MIT License.

sar-mcp FAQ

How do I install sar-mcp?
Install Python 3.10+, clone the repo, create a virtual environment, and run 'pip install -r requirements.txt'.
How do I run the sar-mcp server?
Run the server using 'python aws_service_reference.py' from the cloned repository.
Can sar-mcp be integrated with AI clients like Claude Desktop?
Yes, sar-mcp supports integration with AI clients such as Claude Desktop for enhanced AWS service reference querying.
What AWS data can sar-mcp provide?
It provides lists of AWS services, API actions, condition keys, and resource types for AWS APIs.
Is sar-mcp limited to specific AWS regions or services?
No, it provides programmatic access to all AWS services documented in the AWS Programmatic Service Authorization Reference.
What Python version is required for sar-mcp?
Python 3.10 or higher is required to run sar-mcp.
Does sar-mcp require internet access to function?
Yes, it requires internet access to fetch the latest AWS service reference data.
Can sar-mcp be used with other LLM providers besides Claude?
Yes, it can be integrated with other LLM providers like OpenAI and Gemini for AWS service data querying.