DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to connect an AI agent to shared context over MCP with Halofy

Give an agent a key that fixes its namespace, actor, and role on the server before it reads or writes.

Short answer: Start the kernel folder with cd kernel; then generate a key for the agent with npx tsx src/cli.ts keygen org/support/agent-1 user:dana owner; Store the printed key in the HALOMEM_API_KEY environment variable as shown by the key output (format hm_...). All steps.

Credentials. The generated API key grants the agent its namespace and role, so store it in a secret manager or environment variable and never commit it to source control.

Who it is forA developer whose team wants an AI coding or support agent to use shared organizational context without the agent asserting its own identity.

The problemAgents that send their own identity fields can claim access they should not have, and their actions are hard to trace.

The outcomeAn MCP-connected agent whose namespace, actor, and role are resolved from its API key, with every read, write, and denial recorded in the audit trail.

What you need first

  • Git installed to clone the repository
  • npm available to install and run the kernel
  • A terminal on your machine; no API key or database server is needed for the offline demo

Steps

  1. Start the kernel folder with cd kernel
  2. Generate a key for the agent with npx tsx src/cli.ts keygen org/support/agent-1 user:dana owner
  3. Store the printed key in the HALOMEM_API_KEY environment variable as shown by the key output (format hm_...)
  4. Start the MCP server with HALOMEM_API_KEY=hm_... npm run mcp
  5. Point your agent's MCP client at the running server and run one memory search

Prompt for your agent

In the halofy repository, go to kernel, generate a key for namespace org/support/agent-1 with keygen, and start the MCP server with that key. Report the namespace and role the server resolves for the agent, and confirm that the MCP tool schemas do not accept caller-supplied identity fields.

Caveat. The README shows the keygen and MCP commands but does not show how a specific agent client is configured, so the connection step depends on that client's own MCP setup.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for halofyai/halofy and "Connect an AI agent to shared context over MCP"

Add Deduped to Claude Code once

claude mcp add --transport http deduped https://dedupedai.com/mcp

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer