Use NeetoKB in Antigravity CLI

Connect Antigravity CLI to the NeetoKB MCP server and work with your knowledge base from your terminal, with your NeetoKB sign-in or an API key.

Use o NeetoKB com o Antigravity CLI

> List NeetoKB articles still in draft

● neetokb - ListArticles · 6 found

6 articles are in draft. The oldest one was last edited 3 weeks ago.

>

Conectar o NeetoKB ao Antigravity CLI

  1. 1Install Antigravity CLI with brew install --cask antigravity-cli, then run agy once and sign in with Google.
  2. 2Run the command below to add the NeetoKB server.
  3. 3In agy, type /mcp, select neetokb and choose Authenticate. Sign in to NeetoKB, then paste the code it shows.
agy mcp add neetokb https://connect.neetokb.com/mcp/messages

Check requirements

  • Antigravity CLI installed. Install it with brew install --cask antigravity-cli, or with curl -fsSL https://antigravity.google/cli/install.sh | bash.
  • A Google account to sign in to Antigravity CLI. Run agy once and sign in when it asks.
  • A NeetoKB account.

Connect NeetoKB to Antigravity CLI

Run this in your terminal:

agy mcp add neetokb https://connect.neetokb.com/mcp/messages

Run agy mcp list to check that neetokb shows as enabled.

Start agy, type /mcp, select neetokb and choose Authenticate. Sign in to NeetoKB in your browser, then paste the code it shows back into Antigravity CLI.

Then ask from your terminal:

Terminal recording of Antigravity CLI connected to NeetoKB. Antigravity CLI is asked for the categories and their published article counts. It calls ListCategories and ListArticles and shows 8 categories with 24 published articles.
Antigravity CLI answers from your NeetoKB data in the terminal.

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 with the key in a header:

agy mcp add --header "Authorization: Bearer YOUR_API_KEY" neetokb https://connect.neetokb.com/mcp/messages

The command saves the server to ~/.gemini/config/mcp_config.json. If you edit that file by hand, use serverUrl, not url.

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:

  1. The config key. Claude Code, Cursor, Devin, Antigravity, and Antigravity CLI use mcpServers. VS Code uses servers. Codex uses a [mcp_servers.<name>] section. A server under the wrong key is ignored silently.
  2. The URL key. Antigravity and Antigravity CLI expect serverUrl. Claude Code, Codex, Cursor, Devin, and VS Code expect url.
  3. The endpoint. It is https://connect.neetokb.com/mcp/messages, with no trailing slash.
  4. 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

Prefer the terminal? The NeetoKB CLI reaches the same data from your shell, your scripts and your coding agent.

Pronto para tornar sua base de conhecimento mais útil?

Comece com o NeetoKB hoje.