An MCP server providing tools to control web browsers using the Amazon Nova Act SDK
Project description
nova-act-mcp-server
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file iflow_mcp_madtank_nova_act_mcp_server-3.2.2.tar.gz.
File metadata
- Download URL: iflow_mcp_madtank_nova_act_mcp_server-3.2.2.tar.gz
- Upload date:
- Size: 37.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.30 {"installer":{"name":"uv","version":"0.9.30","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c94b821d0cbec527d0853053b651b236da8f0abdb02b38a5bf0b953ef4365167
|
|
| MD5 |
0bea6dd350be27988c47823120e4fb54
|
|
| BLAKE2b-256 |
72b191e4cc13c1425dc3db1b75de7b57b4f8cfea4d015ffb76e7580f4b5f87a3
|
File details
Details for the file iflow_mcp_madtank_nova_act_mcp_server-3.2.2-py3-none-any.whl.
File metadata
- Download URL: iflow_mcp_madtank_nova_act_mcp_server-3.2.2-py3-none-any.whl
- Upload date:
- Size: 47.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.30 {"installer":{"name":"uv","version":"0.9.30","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5ac8d021d919b283172e42b01610744277114e30f9acd355483e1f122106cd83
|
|
| MD5 |
910a80a52077d10e5b43c6d6620a54bb
|
|
| BLAKE2b-256 |
5e8c2e52d4ddf87e59f12afe5f06336f768dcdc42142847ea1a2e5c26516e89e
|