How to integrate Glen MCP with Atomic Agent

Connect Atomic Agent to Glen MCP. Search glen for recent project decisions, find onboarding context for the acme account, and more using natural language, with authentication handled for you.

Glen MCP logoGlen MCP
Dcr Oauth

Glen MCP is an organizational memory service that gives teams access to shared knowledge and context. It helps users find trusted workspace information without digging through scattered sources.

22 Tools

Introduction

Atomic Agent is an open-source AI agent that runs on your machine and supports local models through llama.cpp. Connect it to 1,500+ apps through Composio, including Glen.

This guide uses Atomic Agent's built-in Composio integration. You need Atomic Agent v0.5.6 or later, your own Composio API key, and a Glen account. See the Atomic Agent documentation for installation instructions.

Also integrate Glen MCP with

How Atomic Agent connects to Glen

Atomic Agent connects to Composio's Tool Router over Streamable HTTP MCP. It discovers the tools needed for your request, and Composio handles account authentication.

Execution and account-connection tools follow Atomic Agent's configured approval policy. Review any approval prompt before allowing an action on your connected account.

Connect Glen to Atomic Agent

  1. Sign up or sign in to the Composio dashboard. Copy your API key.
  2. In Atomic Agent, open the Integrations tab and select Composio. Select API key, press e, paste the key, and press Enter. The tools become available immediately, without a restart.
  3. Ask Atomic Agent to do something in Glen. It searches Composio for the right tool.
  4. On first use, open the sign-in link returned in the chat. Connect your Glen account, then return to Atomic Agent to continue.

Headless setup

Add the following line to ~/.atomic-agent/.env, replacing YOUR_COMPOSIO_API_KEY with your key. Start Atomic Agent after saving the file.

bash
COMPOSIO_API_KEY=YOUR_COMPOSIO_API_KEY

What is the Glen MCP server, and what's possible with it?

The Glen MCP server is an implementation of the Model Context Protocol that connects your AI agent and assistants like Claude, Cursor, etc directly to your Glen account. It provides structured and secure access to your organization's shared memory, artifacts, reusable skills, and Glen settings, so your agent can search team knowledge, save and retrieve documents, create and use reusable skills, trace code to past conversations, and manage sharing and recording preferences on your behalf.

  • Search organizational memory: Have your agent search Glen for past decisions, context, and team knowledge, then exclude outdated evidence or restore it later.
  • Manage shared artifacts: Let the agent find, retrieve, create, share, or delete Markdown and HTML documents in your organization's artifact library.
  • Create and use team skills: Direct your agent to find reusable skills, fetch their instructions, save new skills, share them with teammates, or delete skills you authored.
  • Trace code and preserve conversations: Instruct your agent to connect specific code lines to the conversations that produced them or import a past coding-agent conversation into shared memory.
  • Manage Glen workspace settings: Have your agent check organizations, invite teammates, change recording and skill suggestion settings, and send feedback or bug reports to Glen.

Use Glen from Atomic Agent

With your account connected, ask Atomic Agent to work with Glen in natural language. You can connect more apps through the same Composio integration as you need them.

Visit the Atomic Agent website or inspect the Atomic Agent source code.

Troubleshooting

Why is my API key rejected?

Copy the key directly from the Composio dashboard. Atomic Agent requires ASCII characters because it sends the key in an HTTP header. Remove any extra characters introduced when copying.

Why are Composio tools unavailable after saving a key?

Check that you use Atomic Agent v0.5.6 or later and that Composio is enabled in your configuration. A "composio": { "enabled": false } setting disables the integration while keeping the saved key on disk.

Does Composio have a free plan?

The Hobby plan includes 100,000 tool calls per month. Composio-managed OAuth apps have a lower included allowance. See Composio pricing for the current limits that apply to your connection.

TOOLS

Supported Tools

Every Glen MCP action and event your agent gets out of the box.

Glen artifact create

Save a document (Markdown or HTML+CSS, no JavaScript) to the org's artifact library.

Glen artifact delete

Permanently delete an artifact you authored, by its exact slug.

Glen artifact get

Fetch a saved artifact (document) from the org's artifact library by its exact slug.

Glen artifact search

Find a saved document in the org's artifact library by intent or keywords.

Glen artifact share

Share an artifact you authored: add teammates by email and/or set org:true to make it visible to the whole org (org:false turns whole-org visibility off).

Glen code search

Trace specific lines of code back to the agent conversations that produced them.

Glen dependency search

Search the org's existing dependencies (tools/runtimes a skill needs) before creating a new one, so you reuse a match instead of duplicating.

Glen feedback

Send a bug report (kind:"bug") or product feedback (kind:"feedback") about glen itself to the Glen team.

Glen forget

Exclude one or more verified wrong, stale, or irrelevant evidence items from future Glen recall.

Glen import

Import one turn of a past coding-agent conversation into the org's shared memory.

Glen invite

Invite one or more teammates by email to the active organization so they share its memory.

Glen list orgs

List the organizations the user belongs to; active:true marks the one this connection reads and writes.

Glen restore

Restore one or more previously forgotten Glen evidence references.

Glen search

Search the organization's shared memory for a query.

Glen set recording

Set the user's glen mode, account-wide on every machine and agent: on (recall and record), off (recall nothing, record nothing), incognito (off the record: keep recalling, record nothing to team memory), silent (keep recording, surface nothing).

Glen set suggestions

Turn glen's skill suggestions on or off for the user, account-wide: skillCreation (offers to save your work as a new team skill) and skillUse (offers existing team skills).

Glen skill create

Save a new reusable skill (a markdown prompt) to your Glen skill library.

Glen skill delete

Permanently delete a skill you authored, by its exact slug, for you and everyone it's shared with.

Glen skill search

Find a reusable skill in the org's shared library by intent and/or author.

Glen skill share

Share a skill you authored: add teammates by email and/or set org:true to make it visible to the whole org (org:false turns whole-org visibility off).

Glen skill use

Fetch a skill's instructions by its exact slug.

Glen status

Show the user's current glen settings: mode (on, off, incognito or silent) and whether skill-creation and skill-use suggestions are on.

FAQ

Frequently asked questions

With a standalone Glen MCP server, the agents and LLMs can only access a fixed set of Glen tools tied to that server. However, with the Composio Tool Router, agents can dynamically load tools from Glen and many other apps based on the task at hand, all through a single MCP endpoint.

Yes, you can. Atomic Agent fully supports MCP integration. You get structured tool calling, message history handling, and model orchestration while Tool Router takes care of discovering and serving the right Glen tools.

Yes, absolutely. You can configure which Glen scopes and actions are allowed when connecting your account to Composio. You can also bring your own OAuth credentials or API configuration so you keep full control over what the agent can do.

All sensitive data such as tokens, keys, and configuration is fully encrypted at rest and in transit. Composio is SOC 2 Type 2 compliant and follows strict security practices so your Glen data and credentials are handled as safely as possible.

Start with Glen MCP.It takes 30 seconds.

Managed auth, hosted MCP servers, and every Glen MCP tool your agent needs.Free to start.

Start building