> For the complete documentation index, see [llms.txt](https://docs.keeper.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.keeper.io/keeperpam/developer-and-mcp/ai-agent-access/keeper-mcp-setup.md).

# Set Up Keeper MCP

Connect an MCP-compatible AI client to Keeper Desktop.

Keeper MCP connects an MCP-compatible AI client to Keeper Desktop. The local server uses the **stdio** transport. Keeper Desktop provides the vault session and the AI Agent Access controls for the connection.

## Prerequisites

* Keeper Desktop with the Developer Center and AI Agent Access controls available.
* A signed-in Keeper Vault session.
* A local AI client that supports an MCP server using stdio.
* Permission to use AI Agent Access under your organization's policies.

Configure the required capabilities and resource scopes in [AI Agent Access](https://docs.keeper.io/keeperpam/developer-and-mcp/ai-agent-access.md) before using the agent.

## Install Keeper MCP

1. Open **Developer Center > Local Tools**.
2. On **MCP for AI Agents**, click **Set Up**. Alternatively, open **AI Agent Access** and click **MCP Setup**.
3. In **Connect Keeper MCP**, click **Download Installer**.
4. Download and install Keeper MCP on the workstation that runs the AI client.

<figure><img src="https://762006384-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MJXOXEifAmpyvNVL1to%2Fuploads%2FvRhXcTYNjDMK7CJIw3U6%2FScreenshot%202026-11-05%20at%201.34.12%E2%80%AFPM.png?alt=media&amp;token=c8e8e5ef-24a2-4634-9be5-e1372f7dcbc4" alt=""><figcaption></figcaption></figure>

## Configure the AI client

1. In **Connect Keeper MCP**, click **Copy** to copy the client configuration instructions.
2. Paste the instructions into your AI client and ask it to configure the Keeper MCP server. If the client cannot edit its configuration, add the server manually using that client's documentation.
3. Use the server details displayed by Keeper Desktop:
   * **Name:** `keeper`
   * **Transport:** `stdio`
   * **Command:** the absolute path to the installed `keeper-mcp` executable.
4. Enable the server in the client.
5. Restart the AI client as directed by the setup dialog.
6. Click **Done** in Keeper Desktop.

The command path is specific to the workstation. The macOS screenshot shows a path under the user's home directory, such as `/Users/<username>/.keeper/mcp/keeper-mcp`. Use the exact path copied from your own setup dialog, not the path from another user's screenshot. MCP configuration formats and file locations differ by client.

## Approve the vault connection

When Keeper MCP requests a vault session, Keeper Desktop displays **Allow Keeper MCP Server to use your Vault?** The prompt identifies the application, the purpose of the request, and its version.

<figure><img src="https://762006384-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MJXOXEifAmpyvNVL1to%2Fuploads%2FRTYbUqaiCU5SfB2zTvru%2FScreenshot%202026-11-05%20at%201.35.37%E2%80%AFPM.png?alt=media&amp;token=f2b8f534-e61d-43ca-904e-a0f8e638a3a3" alt=""><figcaption></figcaption></figure>

1. Review the application and the stated purpose.
2. Click **Allow** for a connection you initiated, or **Deny** for an unexpected request.
3. Select **Always allow this app** only if you want Keeper to remember the approval for that application.

The consent prompt authorizes the application's vault connection. It does not replace the capability switches or folder and record guardrails in **AI Agent Access**. Do not paste your master password or stored secret values into the AI conversation to establish the connection.

## Verify the connection

Check that the AI client reports the `keeper` MCP server as connected. In Keeper Desktop, review the **Connected Agents** indicator on the **AI Agent Access** tab.

Begin with a metadata-only request, such as:

```
List the PAM Database records available to you in my allowed folders.
Return record titles and types only. Do not retrieve credentials or run queries.
```

This requires **Read records**, the appropriate discovery guardrails, and a scope that includes the intended records. A connected server with no permitted capabilities may have no usable tools for the requested task.

## Troubleshooting

| Symptom                            | Checks                                                                                                                                                  |
| ---------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Server does not start              | Verify that Keeper MCP is installed and that the command uses the executable's absolute path. Confirm the client uses stdio and has enabled the server. |
| Vault connection is denied         | Confirm that Keeper Desktop is signed in and that the consent request was allowed.                                                                      |
| Required capability is unavailable | Check the AI Agent Access switch, the capability's Status switch, its guardrails, and enterprise restrictions.                                          |
| Expected records are missing       | Check the folder and record scope for the specific capability.                                                                                          |
| Database query is denied           | Check database-query permissions, resource scope, PAM access requirements, and database account permissions.                                            |
| A write query is rejected          | Keep the workflow read-only, or explicitly review whether enabling Allow write queries is appropriate. Do not bypass the guardrail.                     |


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.keeper.io/keeperpam/developer-and-mcp/ai-agent-access/keeper-mcp-setup.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
