Install AI Law Framework: firm knowledge in AnythingLLM

What you need first

  • AnythingLLM, installed.
  • Nothing else: the server runs on its publisher's machines and AnythingLLM connects to it.

Steps

  1. Open ~/.codex/config.toml, or create it. The Codex CLI, its IDE extension and the ChatGPT desktop app share this file.
  2. Add this table at the end of the file.
{
  "mcpServers": {
    "firm-brain": {
      "type": "streamable",
      "url": "https://ailawframework.com/mcp/firm"
    }
  }
}
  1. Save the file and restart AnythingLLM.

Check it worked

Ask AnythingLLM: List the tools of firm-brain.

If it does not start

401 Unauthorized
The endpoint wants a sign-in or a key. Sign in when AnythingLLM asks.
Nothing changes after a restart
The file is not valid JSON any more. Look for a missing comma where the block was added.

Back to AI Law Framework: firm knowledge