# Nephis MCP Setup

Use the published `nephis-mcp-server` package with a provider-issued key. This guide only covers configuration; the available tools and operations depend on the server version and gateway deployment.

## Cursor, Claude Desktop, Windsurf, or another MCP client

Configure the client to launch the server over stdio:

```json
{
  "mcpServers": {
    "nephis": {
      "command": "npx",
      "args": ["-y", "nephis-mcp-server"],
      "env": {
        "NEPHIS_API_KEY": "YOUR_PROVIDER_ISSUED_KEY",
        "NEPHIS_BASE_URL": "https://nephis.theeducode.com"
      }
    }
  }
}
```

Restart the MCP client after saving the configuration. Keep the real key in a local secret store or environment setting; do not commit it.

## Verify tool availability

Ask the MCP client to list the server's tools, or use its MCP inspector to call `tools/list`. The tool list depends on the installed package version. This repository's docs do not promise fixed tool counts or claim that every tool is implemented by the live gateway.

Before metered operations, check `GET /v1/auth/me` and `GET /v1/billing/rate-card`. Calls may deduct credits. A key is not automatically issued by this MCP setup.

## Current API limitations

- Mnemon branch time-travel creation and branch schema diff return `501 Not Implemented` in the current local control plane.
- Thanaton `/v1/sandboxes` maps to project list/create. A successful release response does not prove physical VM destruction.
- Use the live API response as the source of truth for operation availability and billing.

See [MCP and agent integration](MCP_AND_AGENT_INTEGRATION_GUIDE.md), [API reference](API_REFERENCE.md), and [billing and credits](BILLING_AND_CREDITS.md).
