# NexaLayer [Health: Active]

**Category:** 💻 Developer Tools  
**Repository:** https://github.com/NexaLayer/nexalayer-agent  
**GitHub Stars:** 1  
**npm Downloads (last month):** 374  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/nexalayer

## Description
Managed proxy sessions, health, rotation, usage, and spend controls for AI agents.

## Tools
Capabilities this server exposes over MCP:

- **nexalayer_list_products** — List a compact catalog of current products and prices before purchasing.
- **nexalayer_create_session** — Create a paid network session. This action incurs charges against the account balance. Configure a budget first and obtain owner approval for autonomous spend. The create API does not honor include_credentials and omits proxy credentials; read the session with include_credentials=true. Credentials are omitted unless include_credentials=true; never log them. PRICE_MISMATCH (409: re-read prices, retry once). BUDGET_EXCEEDED and INSUFFICIENT_BALANCE (402: ask the owner, don't retry).
- **nexalayer_get_session** — Read one session's status and proxy endpoint. Credentials are omitted unless include_credentials=true; never log them.
- **nexalayer_rotate_session** — Rotate a dynamic session after health or telemetry recommends rotation. Credentials are omitted unless include_credentials=true; never log them.
- **nexalayer_terminate_session** — Terminate a session and release its underlying network resource. Early termination does not imply a refund.
- **nexalayer_session_health** — Read health score and rotation recommendation for a session.
- **nexalayer_session_usage** — Read traffic and request usage for a session.
- **nexalayer_get_budget** — Read spend limits, current spend, pause state, and next daily reset.
- **nexalayer_set_budget** — Set key and daily spend limits. This is a consequential write and should require owner approval.
- **nexalayer_usage_alerts** — Read actionable budget threshold alerts.
- **nexalayer_get_balance** — Read the current account balance and trial-credit state.
- **nexalayer_list_transactions** — List billing transactions for audit and reconciliation.
- **nexalayer_check_status** — Check NexaLayer service status before retrying or filing a ticket. Returns each component (api, sessions, billing, catalog, upstream_network) as operational, degraded_performance, partial_outage, major_outage, or under_maintenance, plus active incidents and recent incident history. If the component your call depends on is not operational, wait and retry later instead of reporting an issue. No API key needed; no charge.
- **nexalayer_known_issues** — List known issues with machine-runnable workaround steps. Call this with the error_code from a failed tool call (for example UPSTREAM_UNAVAILABLE or BACKEND_ERROR) before filing a ticket; if an issue matches, run its workaround.steps instead of reporting. No API key needed; no charge.
- **nexalayer_report_issue** — File a support ticket with NexaLayer. Use only after following the error's suggested_action and checking nexalayer_check_status and nexalayer_known_issues. Recent request_ids and error codes seen by this MCP server are attached automatically, so you do not need to copy them. The server assigns severity (S1 outage or wrong billing, S2 broken with no workaround, S3 bug with a workaround, S4 question or feature request). Returns ticket_id and next_check_after_seconds; poll with nexalayer_get_ticket. Never include API keys, proxy passwords, or full_url: they are redacted and the ticket is escalated as a security issue. No charge.
- **nexalayer_get_ticket** — Read a NexaLayer support ticket: status (received, triaged, needs_info, in_progress, awaiting_approval, workaround_available, resolved, closed), severity, events, matched known issue with workaround steps, and resolution. Poll no sooner than next_check_after_seconds. No charge.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "nexalayer": {
    "command": "npx",
    "args": ["-y","@nexalayer/mcp"],
    "env": {
      "NEXALAYER_API_KEY": ""
    }
  }
}
```

**Requires environment variables:** `NEXALAYER_API_KEY` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation

## What NexaLayer does

NexaLayer exposes NexaLayer's network execution and account-management APIs through MCP over stdio. Agents can work with dynamic and static proxy sessions, inspect their state, request credentials when needed, rotate dynamic sessions, and release resources by terminating sessions. The service is intended for workflows such as browser automation, crawlers, Playwright, Puppeteer, Browser-use, and other AI-agent network operations.

The server also covers the operational side of paid sessions. Agents can read product availability and prices, account balance, trial-credit state, traffic usage, billing transactions, budget limits, pause state, daily resets, and threshold alerts. Support-oriented tools provide component health, incident history, known workarounds, and ticket status.

## How it works

The MCP process communicates with clients through standard input and output. Start it with the published npm package or run the repository's Docker image in interactive mode. API-backed operations use a NexaLayer API key; the process can still expose initialization and tool-discovery methods without one.

Creating a session is a paid operation and deducts from the account balance. Product prices should be read before purchase, and budget configuration and owner approval should precede autonomous spending. A price conflict requires rereading the catalog and retrying once. Budget exhaustion or insufficient balance should be escalated to the account owner rather than retried.

Session creation does not return proxy credentials even when credential inclusion is requested. After the session becomes available, read it with credential inclusion enabled only when a connection requires them. Session and rotation responses hide credentials by default, and returned credentials should never be logged. Early termination releases the network resource but does not imply a refund.

## Setup and configuration

Install and launch the stdio package with:

```bash
npx -y @nexalayer/mcp
```

Set `NEXALAYER_API_KEY` in the MCP client's environment for authenticated operations. `NEXALAYER_BASE_URL` can override the default API endpoint. Docker users can build the image from `./mcp` and run it with `-i --rm`; the image uses stdio and does not open a network port.

Claude Desktop and Cursor can register the server with an `mcpServers` entry that invokes `npx -y @nexalayer/mcp` and passes the API key through `env`.

## Tools and capabilities

- Browse the compact product catalog and current prices before creating a paid session.
- Create, inspect, rotate, and terminate dynamic or static sessions.
- Read health scores, rotation recommendations, traffic, and request usage.
- Configure and inspect API-key or daily spending limits, alerts, and pause behavior.
- Check balances, trial credits, and billing transactions for reconciliation.
- Inspect API, sessions, billing, catalog, and upstream-network status without an API key.
- Look up machine-readable known issues and workaround steps by error code.
- File support tickets and poll their status, severity, events, and resolutions.

Support tools should be used in sequence: check service status and known issues, follow any suggested action or workaround, then report an issue if it remains unresolved. Ticket polling should respect the returned `next_check_after_seconds` value.

## Limitations and notes

The server is a session-based network execution layer rather than a raw proxy-IP service. Creating sessions incurs charges, rotation may affect paid usage, and terminating a session does not promise a refund. Credentials are intentionally omitted unless explicitly requested during a read operation. Keep API keys, proxy passwords, and full proxy URLs out of support tickets and logs.

_Full upstream README: https://allmcps.com/mcp/nexalayer/readme_

