Skip to content

feat: Add Grok Connectors / BYO MCP integration guide #176

@vincenzopalazzo

Description

@vincenzopalazzo

Summary

xAI recently launched Grok Connectors, which allow Grok to read/write external services. One of the supported connector types is BYO MCP (Bring Your Own Model Context Protocol server).

OpenMemory already ships an MCP server with tools like openmemory_query, openmemory_store, openmemory_get, openmemory_delete, and openmemory_list — making it a natural candidate for Grok's BYO MCP integration.

Problem

There is no documentation, configuration guide, or tested flow for connecting OpenMemory's MCP server to Grok via the BYO MCP connector. Users who want Grok to have persistent memory through OpenMemory currently have no clear path.

Requested Changes

  1. Documentation: Add a guide (e.g., docs/grok-integration.md) explaining how to:

    • Expose the OpenMemory MCP server publicly (deployment considerations, HTTPS, auth)
    • Configure the Grok BYO MCP connector to point to the OpenMemory MCP endpoint
    • Required environment variables and any compatibility notes
  2. Compatibility verification: Test that Grok's BYO MCP client can successfully discover and call the OpenMemory MCP tools (openmemory_query, openmemory_store, etc.)

  3. Auth considerations: Document how to secure the MCP endpoint for Grok access (e.g., OM_API_KEY, TLS termination)

Context

  • OpenMemory MCP server code (JS): packages/openmemory-js/src/ai/mcp.ts
  • OpenMemory MCP server code (Python): packages/openmemory-py/src/openmemory/ai/mcp.py
  • MCP tools exposed: openmemory_query, openmemory_store, openmemory_get, openmemory_delete, openmemory_list
  • MCP transports supported: StreamableHTTP + stdio (JS), stdio (Python)

References

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions