CroutonHQ
Agent Library · Docs

Connect your agents

Agent Library works with Claude, ChatGPT, Claude Code, Codex, Cursor and any other MCP client. You sign in, pick the projects each agent can use, and every change is recorded with who made it.

MCP server URL https://mcp.agentlibrary.croutonhq.com/mcp

How connecting works

Agent Library is a remote MCP server with OAuth sign-in. There's no API key to paste and nothing to install.

  1. Add Agent Library to your agent, from its directory or as a custom connector with the URL above.
  2. Your agent opens an Agent Library sign-in page. Sign in with email and password, an email link, Google or GitHub.
  3. Choose which projects this agent may use, and whether it can read only or read and edit each one. Start with read-only if you're unsure.
  4. Approve. The agent can now use only what you chose. You can change or revoke it any time under Connections in the app.

Give each agent its own connection. Every change is credited to the connection that made it, so separate connections keep the history clear.

Claude

Works in Claude on the web, desktop and mobile apps.

  1. If Agent Library is listed in Claude's Connectors Directory, open Customize → Connectors, click +, find Agent Library by CroutonHQ and click Connect.
  2. Otherwise add it as a custom connector: in Customize → Connectors, add a custom connector, name it Agent Library, paste https://mcp.agentlibrary.croutonhq.com/mcp and click Continue.
  3. Sign in to Agent Library and approve the projects you want Claude to use.

On Team and Enterprise plans, an owner adds custom connectors for the organization under Organization settings → Connectors. Claude's own guide: custom connectors using remote MCP.

ChatGPT

  1. If Agent Library is listed in ChatGPT's plugin directory, open Plugins, find Agent Library by CroutonHQ and install it.
  2. Otherwise add it yourself: in Plugins, select +, then Add custom MCP server. Enter the name Agent Library, the server URL https://mcp.agentlibrary.croutonhq.com/mcp and choose OAuth for authentication.
  3. Review the warning, continue, and select Create as a plugin.
  4. Sign in to Agent Library and approve the projects you want ChatGPT to use.

Custom MCP servers are added in ChatGPT on the web. In a Business or Enterprise workspace, admins can limit who may add them. OpenAI's guide: Add custom MCP server.

Claude Code

Run this in your terminal, then use /mcp inside Claude Code to sign in:

claude mcp add --transport http agent-library https://mcp.agentlibrary.croutonhq.com/mcp

Codex, Cursor and other MCP clients

Add a remote (Streamable HTTP) MCP server with the URL https://mcp.agentlibrary.croutonhq.com/mcp in the client's MCP settings. It opens the same sign-in page. Clients that sign in with a local 127.0.0.1 or localhost callback work too.

For scripts and agents that can't use MCP, use the HTTP API with an API key.

Projects and access

An agent only ever sees the projects you chose for its connection. For each one it gets one of:

AccessWhat the agent can do
OffNothing. The project doesn't exist as far as the agent is concerned.
ReadList, search and read documents and files, and see their history. Read-only connections only get the read tools.
Read & editAlso create documents and folders, save new versions, upload files and restore old versions.

Change access on the agent's card under Connections. The agent's next request sees the change, with no reconnect. Revoking a connection stops it immediately. A connection can never do more than the person who approved it.

There's no delete tool. Agents can't delete your documents; you do that in the app.

Version history

Every save is a new version that records who made it (person, agent connection, API key or app), when, and a one-line change note on why. Agents can read the history, compare any two versions, and restore an old one. A restore adds a new version; nothing is deleted.

Saves name the version they started from. If someone saved first, the late save is refused with what changed and who changed it, so the agent can re-read, merge and save on top. Nothing is silently overwritten.

Review

Set review per document, or a default for new documents in a project:

  • Off (default): every save goes live.
  • Optional: saves go live, and you can mark a specific version reviewed. Agents can ask for the reviewed version instead of the newest.
  • Required: an agent's save becomes a proposal. Everyone else keeps reading the approved version until a reviewer approves it.

Agents can see a proposal is pending, but not its text. They can withdraw their own proposals and never approve their own edits. You choose which connections may review under Connections.

What changed since last time

Agents can ask a project's changes feed what was created or saved since they last checked, including who made each change. Agent Library doesn't wake or notify agents; they check on their own schedule.

Things to ask

  • "What projects can you see in Agent Library?"
  • "Find my notes about the pricing page."
  • "Draft a launch checklist in the Launch plan project."
  • "Fix the typo in the Q3 goals doc and say why in the change note."
  • "What changed in the onboarding guide since last week? Put the previous version back."
  • "What's new in this project since you last checked?"

Tools

Read-only connections see only the read tools. Edit tools appear for projects with Read & edit.

GroupTools
Find and readlist_projects list_folders list_artifacts search_artifacts read_artifact read_file read_records
Writecreate_markdown save_markdown create_folder upload_file upload_begin upload_finish
Historyartifact_history diff_revisions restore_revision restore_metadata list_changes
Templateslist_templates create_from_template
Reviewlist_proposals read_proposal withdraw_proposal, plus review_proposal and review_revision for connections allowed to review
Connectionconnection_info

Each connection can make 60 changes and 240 reads per minute (twice that on Pro). Going over returns a rate_limited error that says how long to wait.

HTTP API

Under Connections → API keys, create a key per agent or script, with an expiry and read or read/write access to specific projects. The key is shown once; keep it in a secret store, never in a prompt or Git. Send it as Authorization: Bearer <key> to https://mcp.agentlibrary.croutonhq.com/v1. Writes need an Idempotency-Key header.

The open-source repository documents every route: croutoncreations/agent-library.

Troubleshooting

Which connection is my agent using?

Ask the agent to call connection_info. It returns the connection's ID and the projects it can use. Compare the ID with the cards under Connections; two cards can have the same name, but never the same ID.

The agent can't see a project

Add the project to that connection's card, or reconnect and choose it. The next request sees it.

The agent gets "forbidden" when saving

The connection is read-only for that project. Change it to Read & edit. If the document requires review, the save returns a pending proposal instead of a new version; that's expected.

A save was refused with a revision conflict

Someone saved a newer version first. Ask the agent to re-read the current version, merge its change and save again.

The agent can't see files, only documents

Connections approved before files were available keep documents only, and Connections marks them Documents only. Disconnect and connect again to include files.

A new tool is missing

Refresh or reconnect the connector in your agent so it rediscovers the tools. Existing tools keep working.

Still stuck? Email support@croutonhq.com with the connection ID and what happened. More on the support page.