Bring the same memory into GitHub Copilot.

Project decisions often start in a conversation somewhere else. Add Memrain to GitHub Copilot as a remote MCP server so notes, decisions and project context come from the same memory your other assistants use.

Illustrative request

Find the last decision about this API, check it against the repository, and save any new conclusion after the review.

GitHub Copilot can retrieve the saved evidence through Memrain's tools and write a new note when its credential allows writes. The connection supplies memory tools; the assistant remains responsible for checking the current repository and distinguishing decisions from assumptions.

Illustrative scenario, not a live product result.

Add Memrain as a remote MCP server

In VS Code, GitHub Copilot reads MCP servers from an mcpServers list in your user file, ~/.copilot/mcp-config.json, or in a .mcp.json file at the workspace root. The MCP: Add Server command walks through the same setup. Add an HTTP server whose URL is your Memrain address ending in /mcp. VS Code still reads the older .vscode/mcp.json format, where the entry sits under servers with type http and the same URL. GitHub Copilot CLI uses the same user file, and copilot mcp add --transport http adds the entry from a terminal. On Copilot Business and Enterprise, the organization must enable the MCP servers in Copilot policy.

  • A running Memrain server and its /mcp address
  • An OAuth client or personal access token prepared by the operator
  • The MCP servers in Copilot policy, where an organization manages Copilot

Use a personal access token

The tested path is a personal access token for VS Code. The operator mints it for a source of its own, and VS Code asks for it once and keeps it in its secret storage, so the token never lands in the workspace file. OAuth sign-in from VS Code and Copilot CLI are not covered by the guide yet.

Check the source binding

After connecting, ask GitHub Copilot to call Memrain's identity tool and check the readable sources and the write destination. Read-only credentials cannot authorize writes, and optional daily caps limit priced model calls. Copilot cloud agent and code review on GitHub do not currently support remote MCP servers that use OAuth, so connect from VS Code or Copilot CLI. Configuration details can change between Copilot releases.

  • Verify identity after connecting
  • Keep tokens and client secrets out of shared and repository files
  • Follow the current GitHub and VS Code documentation

Know what has been checked

These steps follow GitHub's and VS Code's published MCP documentation. They have not yet been tested end to end with Memrain, so treat the first connection as a trial and confirm identity before saving anything. Connecting does not import GitHub Copilot chat history.

Keep the context. Move the work forward.

Connect your knowledge to the AI you already use. Find your starting point and make the next conversation count.

Explore plans

Find your AI client