Likerts

v0.1.1
io.github.crosstabs/likerts Checked 1 day ago Published 2 months ago

Manage open-source in-product surveys, collections, responses and exports with scoped access.

Values you need

VariableWhat it is
LIKERTS_API_URLrequired Your Likerts API origin. Requires HTTPS outside exact loopback development hosts. Default: https://likerts-api.onrender.com
LIKERTS_TOKENrequired secret Workspace-bound service credential with only the scopes needed by this agent.
LIKERTS_COLLECTION_TOKENoptional secret Optional collection credential for collection configuration and response submission only.

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add likerts -e LIKERTS_API_URL=https://likerts-api.onrender.com -e 'LIKERTS_TOKEN=<LIKERTS_TOKEN>' -- npx -y --package=@likerts/mcp@0.1.0 likerts-mcp
Add to claude_desktop_config.json
{
  "mcpServers": {
    "likerts": {
      "args": [
        "-y",
        "--package=@likerts/mcp@0.1.0",
        "likerts-mcp"
      ],
      "command": "npx",
      "env": {
        "LIKERTS_API_URL": "https://likerts-api.onrender.com",
        "LIKERTS_TOKEN": "<LIKERTS_TOKEN>"
      }
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "likerts": {
      "args": [
        "-y",
        "--package=@likerts/mcp@0.1.0",
        "likerts-mcp"
      ],
      "command": "npx",
      "env": {
        "LIKERTS_API_URL": "https://likerts-api.onrender.com",
        "LIKERTS_TOKEN": "<LIKERTS_TOKEN>"
      }
    }
  }
}
Add to .vscode/mcp.json
{
  "inputs": [
    {
      "description": "LIKERTS_API_URL",
      "id": "likerts-api-url",
      "password": true,
      "type": "promptString"
    },
    {
      "description": "LIKERTS_TOKEN",
      "id": "likerts-token",
      "password": true,
      "type": "promptString"
    }
  ],
  "servers": {
    "likerts": {
      "args": [
        "-y",
        "--package=@likerts/mcp@0.1.0",
        "likerts-mcp"
      ],
      "command": "npx",
      "env": {
        "LIKERTS_API_URL": "${input:likerts-api-url}",
        "LIKERTS_TOKEN": "${input:likerts-token}"
      },
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.likerts]
command = "npx"
args = ["-y", "--package=@likerts/mcp@0.1.0", "likerts-mcp"]
env = { "LIKERTS_API_URL" = "https://likerts-api.onrender.com", "LIKERTS_TOKEN" = "<LIKERTS_TOKEN>" }

Remote (hosted)

Run in a terminal
claude mcp add --transport http likerts https://likerts-mcp.onrender.com/mcp/{workspaceId} --header 'Authorization: <Authorization>'
Add to Settings → Connectors → Add custom connector (or claude_desktop_config.json via mcp-remote)
{
  "mcpServers": {
    "likerts": {
      "args": [
        "-y",
        "mcp-remote",
        "https://likerts-mcp.onrender.com/mcp/{workspaceId}",
        "--header",
        "Authorization: <Authorization>"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "likerts": {
      "headers": {
        "Authorization": "<Authorization>"
      },
      "url": "https://likerts-mcp.onrender.com/mcp/{workspaceId}"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "likerts": {
      "headers": {
        "Authorization": "<Authorization>"
      },
      "type": "http",
      "url": "https://likerts-mcp.onrender.com/mcp/{workspaceId}"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.likerts]
command = "npx"
args = ["-y", "mcp-remote", "https://likerts-mcp.onrender.com/mcp/{workspaceId}", "--header", "Authorization: <Authorization>"]

For AI agents

  1. Ask the user for: LIKERTS_API_URL, LIKERTS_TOKEN. Never invent or guess these values; secrets go into the client config, not into chat logs.
  2. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  3. Restart or reload the client so it starts the server.
  4. Verify: the server should expose these tools: surveys_create, surveys_list, surveys_update, surveys_publish, collections_create, collections_update, collections_security_update, collections_get, ….
  5. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json