Skip to content
VS Code

CTnP MCP Server for VS Code

io.github.jitsmaster/ctnp-mcp

Ingeniux CTnP MCP server for personalization, A/B testing, and audience management.

client:VS Code transport:stdio runtime:npm

Install CTnP MCP Server in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "ctnp-api-url",
      "description": "CTNP_API_URL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "ctnp-cms-url",
      "description": "CTNP_CMS_URL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "ctnp-bearer-token",
      "description": "CTNP_BEARER_TOKEN",
      "password": true
    },
    {
      "type": "promptString",
      "id": "ctnp-cms-user-id",
      "description": "CTNP_CMS_USER_ID",
      "password": true
    },
    {
      "type": "promptString",
      "id": "ctnp-cms-user-name",
      "description": "CTNP_CMS_USER_NAME",
      "password": true
    },
    {
      "type": "promptString",
      "id": "ctnp-cms-group-ids",
      "description": "CTNP_CMS_GROUP_IDS",
      "password": true
    },
    {
      "type": "promptString",
      "id": "ctnp-connection-id",
      "description": "CTNP_CONNECTION_ID",
      "password": true
    },
    {
      "type": "promptString",
      "id": "ctnp-timeout-ms",
      "description": "CTNP_TIMEOUT_MS",
      "password": true
    }
  ],
  "servers": {
    "ctnp-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@ingeniux/ctnp-mcp"
      ],
      "env": {
        "CTNP_API_URL": "${input:ctnp-api-url}",
        "CTNP_CMS_URL": "${input:ctnp-cms-url}",
        "CTNP_BEARER_TOKEN": "${input:ctnp-bearer-token}",
        "CTNP_CMS_USER_ID": "${input:ctnp-cms-user-id}",
        "CTNP_CMS_USER_NAME": "${input:ctnp-cms-user-name}",
        "CTNP_CMS_GROUP_IDS": "${input:ctnp-cms-group-ids}",
        "CTNP_CONNECTION_ID": "${input:ctnp-connection-id}",
        "CTNP_TIMEOUT_MS": "${input:ctnp-timeout-ms}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

CTnP MCP Server in other clients