Skip to content
VS Code

logic server for VS Code

ai.nocturnus/logic-server

Agent reasoning, memory, and token-optimized context for AI applications.

client:VS Code transport:stdio runtime:npm

Install logic server in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "nocturnusai-url",
      "description": "NOCTURNUSAI_URL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "nocturnusai-api-key",
      "description": "NOCTURNUSAI_API_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "nocturnusai-database",
      "description": "NOCTURNUSAI_DATABASE",
      "password": true
    },
    {
      "type": "promptString",
      "id": "nocturnusai-tenant",
      "description": "NOCTURNUSAI_TENANT",
      "password": true
    }
  ],
  "servers": {
    "logic-server": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "nocturnusai-mcp"
      ],
      "env": {
        "NOCTURNUSAI_URL": "${input:nocturnusai-url}",
        "NOCTURNUSAI_API_KEY": "${input:nocturnusai-api-key}",
        "NOCTURNUSAI_DATABASE": "${input:nocturnusai-database}",
        "NOCTURNUSAI_TENANT": "${input:nocturnusai-tenant}"
      }
    }
  }
}

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

logic server in other clients