.vscode/mcp.json, with inputs that prompt for a value once and keep it as a secret. Use a key of the sandbox space (nia_sk_test_...), never a live one.
What the connection needs
Connect
In.vscode/mcp.json:
search_agent_memory (and remember, with the agent_memory:write scope) show up next to the seven customer tools. ${env:NIADRA_API_KEY} works too, for those who prefer environment variables.
Limits
- The token lasts 15 minutes: once it expires, the customer tools answer
unauthenticated. Mint another and use MCP: Reset Cached Tools or restart the server to enter the new one. The two agent memory tools work without a token. - The customer is always the token’s. The server answers
POSTonly. - Every tool call leaves a receipt in the space.
Next steps
MCP with any LLM
the tools, the token and what each one requires.
Coding assistants
the skill that teaches the assistant to connect a repository to Niadra.

