AskOne

v1.2.3
io.github.phuryn/askone Checked 3 days ago Published 1 month ago

Run AskOne live Q&A and polls with free AI moderation: start rooms, launch polls, draft a FAQ.

Values you need

VariableWhat it is
ASKONE_API_TOKENrequired secret AskOne API token (organization admin: Manage → API tokens)
ASKONE_URLoptional Only for a self-hosted AskOne Default: https://askone.org

npm (npx) discovery passed

Requires Node.js 18+

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

Remote (hosted)

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

For AI agents

  1. Ask the user for: ASKONE_API_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: list_rooms, get_room_qa, get_room_questions, get_survey_results, create_room, open_room, close_room, create_survey, ….
  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