Skip to main content
VS Code connects to MCP servers over HTTP in .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:
The first time, VS Code prompts for both values and keeps them. The tools join the Chat’s agent mode; with agent memory on in the space, 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 POST only.
  • 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.