Skip to main content

An MCP server providing tools to control web browsers using the Amazon Nova Act SDK

Project description

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.1.0

  • Simplified Tool Structure: New tools start_session, execute_instruction, end_session for clearer interaction flow
  • On-Demand Visual Feedback: inspect_browser tool for explicit screenshots only when needed
  • Progress Notifications: Improved start_session with Inspector UI compatibility
  • AI Agent Usability: Enhanced error handling and clearer responses
  • Reduced Token Usage: Browser actions no longer automatically include screenshots by default

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nova_act_mcp_server-3.1.0.tar.gz (35.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nova_act_mcp_server-3.1.0-py3-none-any.whl (44.8 kB view details)

Uploaded Python 3

File details

Details for the file nova_act_mcp_server-3.1.0.tar.gz.

File metadata

  • Download URL: nova_act_mcp_server-3.1.0.tar.gz
  • Upload date:
  • Size: 35.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for nova_act_mcp_server-3.1.0.tar.gz
Algorithm Hash digest
SHA256 408cecf149c4a9e44dc04602b7dac2bd71c4a7f203ecf08e219a54cf81cac2af
MD5 d4c82c90d6fe6e159a4dbf12e6bd0376
BLAKE2b-256 c484340358bd6338c390fde6cb879bd5b70013e7420bfdcbb21cd249f170b4e9

See more details on using hashes here.

Provenance

The following attestation bundles were made for nova_act_mcp_server-3.1.0.tar.gz:

Publisher: ci.yml on madtank/nova-act-mcp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file nova_act_mcp_server-3.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for nova_act_mcp_server-3.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9df7d0f9fb7cd84bb271bc556788880cb49fe3cb61f181029a5ebea8e7ac4c11
MD5 6b585f6d807dbf9fbe455fcaea493b09
BLAKE2b-256 cca9ff931b4beefde03e130168b173609fe615fb8cebb5aaf4d0802f74d2a7ed

See more details on using hashes here.

Provenance

The following attestation bundles were made for nova_act_mcp_server-3.1.0-py3-none-any.whl:

Publisher: ci.yml on madtank/nova-act-mcp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page