Skip to main content

Set up the Fieldguide MCP server using the Custom MCP connector

Connect a standard MCP client, such as Claude CLI or Codex CLI, to Fieldguide with OAuth

To connect a standard MCP client, such as Claude Code, to Fieldguide, use the Custom MCP connector. You sign in with your own Fieldguide account, so you do not need to create a personal API token. Like the dedicated connectors, the Custom MCP connector follows your Fieldguide permissions and the scopes that your System Admin selects. It does not add capabilities or give broader access.

A dedicated connector is built and documented for one AI platform, with that platform's exact sign-in setup and System Admin steps. The Custom MCP connector is the generic OAuth path for standard MCP clients that don't have a dedicated connector. If you use one of the following platforms, use its dedicated connector instead:

Command-line AI tools, such as Claude Code, are separate from the platforms listed here and use the Custom MCP connector. To compare every connection method, including personal API tokens, see Set up and use the Fieldguide MCP.

The setup has two parts:

  • Firm setup: A Fieldguide System Admin turns on the connector once for your firm (step 1).

  • Your setup: Each person who connects an AI tool completes steps 2 through 5. Confirm with your System Admin that step 1 is done before you start.

Before you begin

To set up the connection, make sure you have the following:

  • A Fieldguide account with the System Admin role, to turn on the connector and select its scopes.

  • A Fieldguide firm user account, for each person who connects a tool. Client users cannot connect.

  • An AI tool that meets the requirements in the Requirements for AI tools section. Fieldguide shows setup instructions for some tools in the connection details.

Requirements for AI tools

The Custom MCP connector works only with AI tools that support all of the following:

  • The MCP authorization specification for HTTP servers, including authorization server discovery. A client that follows the specification also identifies the Fieldguide MCP server by its URL when it requests access.

  • OAuth 2.0 authorization code sign-in in a browser, with PKCE that uses the S256 method. The connector does not use a client secret.

  • A pre-registered public Client ID. The client uses the Client ID that Fieldguide provides and does not register itself.

  • An HTTPS or localhost loopback callback URL that a System Admin adds in Fieldguide. A callback URL is the address where Fieldguide returns you to your AI tool after you sign in. Fieldguide matches callback URLs exactly, including the scheme, host, port, and path.

If your AI tool doesn't meet these requirements but supports token-based authentication, use a personal API token instead. See Set up and use the Fieldguide MCP.

Step 1: Turn on the Custom MCP connector in Fieldguide

A Fieldguide System Admin completes this step once for the firm. To turn on the connector and choose what connected AI tools can access, follow these steps:

  1. In Fieldguide, go to Settings > Integrations > Fieldguide MCP.

  2. On the Available tab, find the Custom MCP card.

  3. Click Enable. Fieldguide opens the Enable Custom MCP dialog.

  4. Under Callback presets, select each AI tool that your firm uses. Fieldguide adds the callback URL for each tool to the Callback URLs list.

  5. Optional: To use a different AI tool, enter its HTTPS or localhost loopback callback URL under Callback URLs, and then click Add. Enter the URL exactly as the tool uses it, because localhost and 127.0.0.1 are different hosts.

  6. Click Continue. The dialog shows Select scopes.

  7. Select the scopes that connected AI tools can access. A scope is a permission that limits what a connected AI tool can do in Fieldguide. To select every scope, select Select All. To learn how to choose, see the Scopes section of Set up and use the Fieldguide MCP.

  8. Click Save. Fieldguide registers the callback URLs and shows the connection details, including the MCP URL and Client ID.

  9. Click Done.

Turning on the connector does not connect anyone's AI tool. Each person connects their own account in the following steps. Tell people at your firm to start their setup.

Step 2: Copy the connection details

To copy the connection details for your AI tool, follow these steps:

  1. In Fieldguide, go to My Profile > Integrations.

  2. Find the Custom MCP client card. The card shows an MCP URL and a Client ID. The Client ID identifies the connector. It is not a password.

  3. Click the tab for your AI tool. The tab shows the setup instructions for that tool.

  4. Copy the setup command or configuration from the tab. The tab already contains the MCP URL and Client ID.

Copying the details does not connect your AI tool or give it access to Fieldguide.

Step 3: Add Fieldguide to your AI tool

Do not change the server name in the command or configuration, because the sign-in command in step 4 uses it. To add Fieldguide to your AI tool, do one of the following, as the tab for your tool shows:

  • Paste the setup command into your terminal, and then press Enter.

  • Paste the configuration into your AI tool's configuration file, and then save the file.

This step saves the connection address on your computer. It does not include a password or an API token, and no Fieldguide data moves until you sign in.

If your AI tool meets the requirements but has no tab in Fieldguide, see its documentation for how to add a remote MCP server with a pre-registered OAuth client. Enter the MCP URL and Client ID when prompted.

Step 4: Sign in with your Fieldguide account

To sign in, follow these steps:

  1. In your terminal, run the sign-in command from the tab for your AI tool. Your AI tool opens a browser window.

  2. In the browser window, sign in to Fieldguide with your Fieldguide account. If your firm requires single sign-on or multifactor authentication, complete those prompts.

  3. Return to your terminal.

To reconnect later, run the sign-in command again.

Step 5: Test the connection

To confirm that the connection works, follow these steps:

  1. Start your AI tool in your terminal.

  2. Enter a question about your Fieldguide data, such as How many engagements do I have?. The AI tool uses the Fieldguide connection to answer with data from Fieldguide.

For more example prompts, see Set up and use the Fieldguide MCP.

What the connection can access

The connection can access only data that satisfies all of the following:

  • Your Fieldguide user permissions.

  • The scopes that your System Admin selected in step 1.

  • Any Fieldguide access restrictions that apply to the engagement, request, or other object.

Troubleshoot setup

If you can't complete a step, try the following:

  • You don't see the Custom MCP client card under My Profile > Integrations: Confirm that you have a Fieldguide firm user account, and ask a System Admin to confirm that the Custom MCP connector is turned on.

  • Fieldguide shows a callback error when you sign in: Tell a System Admin which AI tool you use. The System Admin adds that tool's callback URL in step 1.

  • No browser window opens, or your AI tool runs on a remote machine: Your AI tool can't open a browser on your own computer, for example when you connect over SSH. See your AI tool's documentation for how to finish the sign-in.

See also

Did this answer your question?