Skip to main content

nova-act-mcp-server

PyPI

nova‑act‑mcp‑server is a zero‑install Model Context Protocol (MCP) server that exposes Amazon Nova Act browser‑automation tools for AI agents.

What's New in v3.2.0

  • File-Based Screenshots: Screenshots now save to files instead of inline base64, eliminating MCP message size limits
  • Optimized Image Quality: Reduced screenshot quality (60/30) for smaller file sizes (~50KB vs 500KB+)
  • Enhanced Error Handling: Improved exception handling for browser operations
  • Better Testing: Comprehensive test coverage for screenshot functionality
  • MCP Inspector Integration: New testing script for easy validation

Quick Start (uvx)

Step 1: Get a Nova Act API Key

Obtain your API key from Nova Act.

Step 2: Add to MCP Client Configuration

{
  "mcpServers": {
    "nova_act_browser_tools": {
      "command": "uvx",
      "args": ["nova-act-mcp-server"],
      "env": { "NOVA_ACT_API_KEY": "YOUR_NOVA_ACT_API_KEY_HERE" }
    }
  }
}

Step 3: Start Using Browser Tools

AI agents can now call tools like start_session, execute_instruction, etc. through any MCP-compatible client such as Claude Desktop or VS Code.

Core Tools Overview

Tool Description Key Parameters
start_session Starts a new browser session url, headless=True
execute_instruction Runs a natural language instruction in the browser session_id, instruction
inspect_browser Gets a screenshot and state of the current browser session_id, include_screenshot=True
end_session Closes a browser session and cleans up resources session_id
list_browser_sessions Lists all active browser sessions None

Local Development & Testing

Setup

# Clone the repository
git clone https://github.com/madtank/nova-act-mcp.git
cd nova-act-mcp

# Create and activate virtual environment
uv venv
source .venv/bin/activate  # On Windows: .venv\Scripts\activate

# Install with development dependencies
uv pip install -e .[dev]

Running Tests

# Run all tests (integration tests require NOVA_ACT_API_KEY)
pytest

# Run only unit tests (no API key required)
pytest tests/unit

# Run integration tests (requires API key)
NOVA_ACT_API_KEY="your_key_here" pytest tests/integration

Running Locally with MCP Inspector UI

# Start the server with the MCP Inspector
npx @modelcontextprotocol/inspector -e PYTHONUNBUFFERED=1 -e NOVA_ACT_API_KEY="YOUR_KEY" -- python -m nova_mcp_server

Then visit http://localhost:6274 in your browser. For optimal experience, set the Inspector UI timeout to 60 seconds for start_session operations.

Advanced Tools

Tool Description
fetch_file Downloads a file from the current page
view_html_log Gets the HTML content of the current page
compress_logs Creates and returns a ZIP of session logs and screenshots

License

MIT

Metadata

Release files for nova-act-mcp-server 3.2.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for nova-act-mcp-server 3.2.2
File Size Uploaded
nova_act_mcp_server-3.2.2.tar.gz 37.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for nova-act-mcp-server 3.2.2
File Interpreter ABI Platform
nova_act_mcp_server-3.2.2-py3-none-any.whl Python 3 none any Details

Total release size: 84.2 kB

Release files / nova_act_mcp_server-3.2.2.tar.gz

Download URL nova_act_mcp_server-3.2.2.tar.gz
Size 37.3 kB
Tags Source
SHA-256 checksum
How to use checksums
edb457342dd8fa407fd5120df25a9e4bc0252164090c6fdeaaa2f2e2905a9446
BLAKE2b-256 checksum
How to use checksums
494b9591fca261b75d3e58fda191c5e49d3ad16515ef0f3acb50df0747fa6271
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 5, 2025.

Transparency log

Release files / nova_act_mcp_server-3.2.2-py3-none-any.whl

Download URL nova_act_mcp_server-3.2.2-py3-none-any.whl
Size 46.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
aaad30049a8937b962c13e26829a253814197ba1f5e4fbc938d3ce418d51ff9d
BLAKE2b-256 checksum
How to use checksums
408e96037c11485a7b1ab7c4f7167dff01381cdb63763b6ef3ef5c7c9f717628
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 5, 2025.

Transparency log

Release history Release notifications | RSS feed

This release

3.2.2 This release

2 release files

3.2.1

2 release files

3.2.0

2 release files

3.1.1

2 release files

3.1.0

2 release files

3.0.0

2 release files

0.2.9

2 release files

0.2.8

2 release files

0.2.7

2 release files

0.2.6

2 release files

0.2.5

2 release files

0.2.4

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page