# Connect Vismatix to an AI client

Choose the path supported by your client. Remote MCP is preferred for MCP clients; GPT Actions use the public REST API and OpenAPI schema.

Use the production primary host for production accounts. Never mix nightly and production credentials. Create or scope API keys in Vismatix Settings → API; keep keys in the client’s secure credential store and never paste them into prompts, shared files, or screenshots.

## Claude Desktop

In Claude Desktop, open the connector or MCP settings available to your account and add `https://vismatix.online/mcp` as the remote server. Choose OAuth sign-in when offered, then review and approve requested scopes in Vismatix. For a local checkout, use the stdio example below and keep its API key in a protected environment variable outside source control.

## Cursor

Open Cursor MCP settings and add `https://vismatix.online/mcp` as a remote HTTP server; complete OAuth if prompted. For project configuration, use the `mcpServers` JSON example below in `.cursor/mcp.json` when supported by your installed Cursor version. Reload tools and test a read-only query before allowing writes.

## Windsurf

Open Cascade MCP server settings and add `https://vismatix.online/mcp` as a remote HTTP server; complete OAuth if prompted. Alternatively, download the MCP config from the Agent Pack page and use the format accepted by your installed Windsurf version. Verify the connected account and workspace before allowing write-capable workflows.

## Custom GPT / GPT Actions

If GPT creation and Actions are enabled for your account or workspace, open the GPT editor and add an Action from the public OpenAPI 3.1 schema at `https://vismatix.online/api/v3/openapi.json`. Configure authentication supported by the builder: a Vismatix Bearer API key or `X-API-Key`. Store the secret in the builder credential field, not in the schema or instructions. Prefer a project-restricted `vmtx_p_` key; use `vmtx_u_` only for required account-level operations. API post/project creation requires Plus or higher; AI API routes require verified access. Keep only needed operations, review write effects, and require confirmation for externally visible actions. GPT Actions are REST integrations, not MCP connectors. See `https://vismatix.online/docs/developer/keys` for key scope details.

## Portable MCP configuration example

Client config formats differ and can change by version. Use current client settings or its dedicated Agent Pack config. Never place a real secret in shareable JSON.

```json
{
    "mcpServers": {
        "vismatix": {
            "url": "https://vismatix.online/mcp"
        }
    }
}
```

## Optional local stdio bridge

Use only in a trusted local Vismatix checkout where PHP and dependencies are installed. Configure the key outside source control.

```json
{
    "mcpServers": {
        "vismatix": {
            "command": "php",
            "args": [
                "artisan",
                "vismatix:mcp"
            ],
            "env": {
                "VISMATIX_API_KEY": "vmtx_u_YOUR_API_KEY"
            }
        }
    }
}
```

## Developer artifacts

- MCP endpoint: `https://vismatix.online/mcp`

- Public pre-login docs MCP: `https://vismatix.online/mcp/public`

- MCP tool schemas and API route catalog: `https://vismatix.online/docs/agent-pack?target=tools`

- OpenAPI 3.1: `https://vismatix.online/api/v3/openapi.json`

- API key scope documentation: `https://vismatix.online/docs/developer/keys`

- MCP setup and OAuth documentation: `https://vismatix.online/docs/developer/agents`
