Check requirements
- Codex installed on your computer.
- A NeetoKB account.
Connect NeetoKB to Codex
Add the server to ~/.codex/config.toml:
[mcp_servers.neetokb]
url = "https://connect.neetokb.com/mcp/messages"
Then sign in to NeetoKB in the browser:
codex mcp login neetokb

Connect with an API key
An API key is not tied to a person. Every tool call reaches the whole workspace, and role checks do not run. Use a key for automation that must see every article, including drafts and private categories. Do not use one on a machine where a person should see only their own articles.
It is the same key the REST API uses. Learn how to generate your API key. Send it in this header:
Authorization: Bearer YOUR_API_KEY
Add the server to ~/.codex/config.toml. bearer_token_env_var takes the name of an environment variable, not the key itself:
[mcp_servers.neetokb]
url = "https://connect.neetokb.com/mcp/messages"
bearer_token_env_var = "NEETOKB_API_KEY"
Export NEETOKB_API_KEY with your API key in the shell where you run Codex.
Try these prompts
Look things up:
Show me the Getting Started Guide article, including its HTML content.
What categories do I have, and how many articles are in each?
Fill the gaps:
Show the searches that found no article in the last 30 days, then draft an article for the most common one.
Which invalid URLs did visitors open this month? Add a redirection for each one that has an obvious new page.
Organize:
Merge the Billing and Payments tags into Billing.
Create a Billing category under Getting Started and put it first.
Share:
Regenerate the unlisted link for Getting Started Guide. The old one leaked.
Ask your AI assistant to confirm before it creates, publishes, or regenerates anything. These actions affect your live workspace, and regenerating an unlisted link breaks the previous URL immediately.
Troubleshooting
Your AI assistant shows no NeetoKB tools
Restart the client first. Every client reads its MCP config at startup. On Claude or ChatGPT, confirm that you added the connector and finished the sign-in. In ChatGPT, the plugin is created only after you tick I understand and want to continue.
On clients that read a config file, check these:
- The config key. Claude Code, Cursor, Devin, Antigravity, and Antigravity CLI use
mcpServers. VS Code usesservers. Codex uses a[mcp_servers.<name>]section. A server under the wrong key is ignored silently. - The URL key. Antigravity and Antigravity CLI expect
serverUrl. Claude Code, Codex, Cursor, Devin, and VS Code expecturl. - The endpoint. It is
https://connect.neetokb.com/mcp/messages, with no trailing slash. - The syntax. In JSON, a trailing comma or an unclosed brace makes the whole file unreadable, and other servers stop working too.
The connection is refused or unauthorized
With an API key, the Authorization header must read Bearer YOUR_API_KEY, with the word Bearer and one space before the key. Check that the key is not revoked and belongs to the workspace you expect. Generate a new key from your workspace settings if you are unsure.
With OAuth there is no key to check. Remove the connector and add it again to start the sign-in over.
More fixes are in the NeetoKB MCP troubleshooting guide.
Use NeetoKB in other AI assistants
| AI assistant | Setup guide |
|---|---|
| Claude | Use NeetoKB in Claude |
| ChatGPT | Use NeetoKB in ChatGPT |
| Claude Code | Use NeetoKB in Claude Code |
| Cursor | Use NeetoKB in Cursor |
| VS Code | Use NeetoKB in VS Code |
| Antigravity CLI | Use NeetoKB in Antigravity CLI |
| Devin | Use NeetoKB in Devin |
| Antigravity | Use NeetoKB in Antigravity |
| Any other MCP client | NeetoKB MCP server |
Prefer the terminal? The NeetoKB CLI reaches the same data from your shell, your scripts and your coding agent.