MCP

Overview

MCP lets an AI assistant, such as Claude or GitHub Copilot, read your Dr Migrate estate, assessment and migration planning data. You can then ask the assistant questions about your data in your own words.

  • Access is read only. The assistant cannot change, delete or create anything. Write access is coming soon.
  • The assistant acts as you. It sees the data your Dr Migrate role permits, plus cost and TCO data, which every signed-in person can read.
  • It cannot see another user's data.
  • You can connect up to 5 assistants, and disconnect any of them at any time.

An admin must turn on MCP for your instance, and give you MCP access. When MCP is on, MCP shows at the bottom left of Dr Migrate, next to Sign Out. See MCP in Administration.

Security

Connecting an assistant does not share your password with anyone.

  • You sign in on Dr Migrate's own page, with your usual login. The assistant never sees your password.
  • Nothing is connected until you check the application's name on the consent screen and click Authorize.
  • The assistant's sign-in expires within 30 minutes and renews in the background. The connection ends when you disconnect it, when your password changes, when your account is disabled, or after 30 days without use.
  • Every request an assistant makes is checked against your account and recorded under your name.

For the full model, see MCP Security and Data Flow.

Request Access

Click MCP at the bottom left of Dr Migrate. It is next to Sign Out. If you do not have MCP access, the page shows two lines. The first line is "MCP access is not turned on for you." The second line is "Ask your administrator to turn it on. One request is enough."

The MCP page for a person without MCP access, with the Request MCP access button.
The MCP page for a person without MCP access.

Click Request MCP access. The page then shows "Your request was sent to your administrator on" and the date. You do not need to send the request again.

The MCP page after the request was sent, with the date it was sent.
The MCP page after you send the request.

Marketplace

The request goes to the admins of your instance.

SaaS

To see your requests and your access, sign in to the Dr Migrate portal and click MCP Approvals. Then select My MCP access or My requests.

When an admin approves the request, open the MCP page again to connect an assistant.

Connect an AI Assistant

Marketplace only: AI assistants connect only to a Dr Migrate server with a trusted SSL certificate. If your server does not have one yet, ask your administrator to add one in Admin > SSL Update (see Check the SSL Certificate). SaaS instances already have one.

Copy the Server Address

Click MCP at the bottom left of Dr Migrate and select Connect an assistant. Copy the Server address. This is the only value you need, and it is the same for every assistant. Your address is your Dr Migrate address followed by /mcp.

Add Dr Migrate to Your Assistant

Follow the steps for your application in the tabs below.

Sign In and Approve

A Dr Migrate window opens in your browser. Sign in if Dr Migrate asks you to. Check the application name and where it sends data, then click Authorize.

The Server address box on the Connect an assistant tab, with the address and the Copy button.
Step 1: the Server address on the Connect an assistant tab.

Claude Code

Run this command in a terminal. Replace the address with your server address.

claude mcp add --transport http drmigrate <server address>

Then approve the connection in the browser.

Claude Desktop

  1. Open Settings, then Connectors.
  2. Choose Add custom connector and paste the server address.
  3. Click Connect and approve access in the browser.

Claude Desktop connects from Anthropic's servers. It needs a Dr Migrate address that the internet can reach. A local address such as localhost does not work. Ask your administrator for your organization's Dr Migrate address.

GitHub Copilot (VS Code)

  1. Open the Command Palette and run MCP: Add Server.
  2. Select HTTP, then paste the server address.
  3. Name it Dr Migrate. A browser window opens. Approve access.

Cursor

  1. Open Settings, then MCP, then Add new MCP server.
  2. Select the HTTP transport and paste the server address.
  3. Approve access in the browser window that opens.

Codex

  1. Run these commands in a terminal. Replace the address with your server address.
    codex mcp add drmigrate --url <server address>
    codex mcp login drmigrate
    
  2. A browser window opens. Approve access.

The Codex app uses the same settings, so the server also shows in the app.

Certificate Errors on Marketplace

If your assistant cannot connect and shows one of these errors, it does not trust the certificate of your Dr Migrate server:

  • UNABLE_TO_VERIFY_LEAF_SIGNATURE
  • UNABLE_TO_GET_ISSUER_CERT_LOCALLY
  • SELF_SIGNED_CERT_IN_CHAIN or DEPTH_ZERO_SELF_SIGNED_CERT
  • CERT_HAS_EXPIRED

The server is reachable. Only the trust check fails. SaaS instances use a public certificate, so this happens only on Marketplace instances.

Why it happens

  • Your Dr Migrate server uses a certificate from your company's own certificate authority, or a self-signed certificate.
  • Claude Code and other Node-based assistants run on Node. Node uses its own list of trusted certificate authorities. It does not read the macOS keychain or the Windows certificate store. So Node can refuse a certificate that your browser accepts.

Fix it

  1. If the certificate is expired or self-signed, ask your administrator to install a trusted certificate in Admin > SSL Update. Self-signed certificates fail for every person.
  2. If the certificate comes from your company's certificate authority, ask your administrator for that authority's root certificate as a .pem file. It is a public certificate. It holds no private key.
  3. Save the file in a fixed place, then tell Node to trust it with NODE_EXTRA_CA_CERTS:

    macOS

    Save the file, for example as ~/.config/drmigrate/company-rootCA.pem.

    For Claude Code, add this to ~/.claude/settings.json:

    "env": { "NODE_EXTRA_CA_CERTS": "/Users/<you>/.config/drmigrate/company-rootCA.pem" }
    

    For other Node-based tools, add this line to your shell profile (~/.zshrc):

    export NODE_EXTRA_CA_CERTS="$HOME/.config/drmigrate/company-rootCA.pem"
    

    Optional: to make curl and browsers trust it too, run:

    security add-trusted-cert -r trustRoot -k ~/Library/Keychains/login.keychain-db ~/.config/drmigrate/company-rootCA.pem
    

    Windows

    Save the file, for example as C:\Users\<you>\drmigrate\company-rootCA.pem.

    Run this once in a terminal. It sets the variable for every new terminal and app:

    setx NODE_EXTRA_CA_CERTS "C:\Users\<you>\drmigrate\company-rootCA.pem"
    

    For Claude Code you can also add it to %USERPROFILE%\.claude\settings.json:

    "env": { "NODE_EXTRA_CA_CERTS": "C:\\Users\\<you>\\drmigrate\\company-rootCA.pem" }
    
  4. Close and restart the assistant, then connect again and sign in when the Dr Migrate page opens.

Do not set NODE_TLS_REJECT_UNAUTHORIZED=0. It turns off the certificate check for every server your assistant talks to, not only Dr Migrate.

View and Disconnect Assistants

Click MCP at the bottom left of Dr Migrate and select Connected assistants. The page shows how many of your 5 assistants are connected. The list shows each application with the time it connected, its last request and its status. A connection that ended stays in the list, with a status such as "Disconnected".

To disconnect an assistant, click Disconnect on its row. Disconnecting takes effect at once. To use the assistant again, connect it again.

Every request an assistant makes is recorded against your name. If you do not recognize a connected application, disconnect it and tell your administrator.

Your connections also end when your Dr Migrate account is disabled or your password changes.

If Something Does Not Work

ProblemWhat to do
The browser window did not openCheck your pop-up blocker, then run the add server step again.
Approval failed or timed outSign in to Dr Migrate in the same browser, then retry the connection.
The assistant says it cannot see any dataYour role may not permit that data. Ask your administrator to review your Dr Migrate role.
The connection stopped workingThe address may have changed, your password changed, or an administrator turned off your access. Copy the server address again and reconnect.
The MCP page says MCP is turned offYour administrator turned off MCP. No assistant can connect until an admin turns it on again.

Messages

When Dr Migrate stops a request, the assistant shows a message with a code. Find the code below to see what to do.

CodeMessageWhat to doWho acts
MCP-001You don't have MCP access yet. Ask your Dr Migrate administrator for it.Request accessUser, then admin
MCP-002Your request for MCP access is with your administrator.Wait, or ask the adminAdmin
MCP-003You already have 5 assistants connected. Remove one on the MCP page, then try again.Remove a connectionUser
MCP-004Your account isn't on {customer}'s user list. Ask one of their administrators to add you.Ask a {customer} admin to add you in the portalAdmin
MCP-005Sign in to Dr Migrate to connect your assistant.Sign in to Dr Migrate, then connect againUser
MCP-006Dr Migrate could not confirm your sign-in. Sign in again and retry.Sign in again. If it keeps failing, ask your administrator to check the clocks of the web app and the MCP hostUser, then support
MCP-007This request names a different server than this one. Connect your assistant to this server's own address.Use the address shown on the Connect pageUser
MCP-008This call has no valid sign-in. Connect your assistant again.ReconnectUser
MCP-009This approval did not come from the Dr Migrate consent screen, or the screen expired. Start the connection again from your assistant.Start the connection againUser
MCP-010Your account no longer has access to {customer}.Ask a {customer} admin to add you back in the portalAdmin
MCP-011Your Dr Migrate account has been removed.Contact your administratorAdmin
MCP-012Your Dr Migrate account is disabled.Admin enables it, user reconnectsAdmin
MCP-013Your Dr Migrate account is locked. After it is unlocked, connect your assistant again.Admin unlocks, user reconnectsAdmin, user
MCP-014Your password was changed after this assistant was connected. Connect it again.ReconnectUser
MCP-015Your Dr Migrate password has expired. Sign in to Dr Migrate to change it.Change passwordUser
MCP-016You must change your Dr Migrate password. Sign in to Dr Migrate to change it.Change passwordUser
MCP-017You declined to connect this assistant.Connect again and approve, if you want itUser
MCP-018The connection ended with an error. Start it again from your assistant.Start the connection againUser
MCP-019This sign-in was already used. Sign in again.Sign in againUser
MCP-020You removed this connection. Connect your assistant again to use it.ReconnectUser
MCP-021Your administrator removed this connection on {date}.Ask the admin, then reconnectAdmin
MCP-022Your administrator turned off your MCP access.Request access againAdmin
MCP-023This connection was not used for 30 days. Connect your assistant again.ReconnectUser
MCP-024This connection was stopped for safety because an old sign-in was used again. Connect your assistant again.ReconnectUser
MCP-025Dr Migrate could not record your sign-in. Try again in a few minutes.Retry, then supportUser, then support
MCP-026Dr Migrate could not read your connections. Try again; if it keeps failing, give the reference to your administrator.Retry, then administratorUser, then admin
MCP-027Only a customer administrator or a super administrator can clear a block.Ask an administratorAdmin
MCP-028The block could not be cleared. Try again; if it keeps failing, contact support.Retry, then supportUser, then support
MCP-030Your MCP access is read only, so {tool} cannot make changes.Admin grants read and writeAdmin
MCP-031This connection was not given access to cost data. Connect again and allow cost data.ReconnectUser
MCP-032'{view}' is not a curated estate view. Call drm_list_estate_views for valid names.List the views, then use a listed nameUser
MCP-033This view is listed but cannot be read yet.Wait for the next Dr Migrate releaseUser, then support
MCP-034Your Dr Migrate instance has not granted this view to MCP.Admin applies the latest Dr Migrate database patchAdmin
MCP-035This connection was ended. Connect your assistant again.ReconnectUser
MCP-036Dr Migrate does not know this account.Ask your administratorAdmin
MCP-037The MCP service is unavailable. Try again in a minute; if it keeps failing, give the reference to your administrator.Retry, then administratorUser, then admin
MCP-038Dr Migrate could not confirm this connection. Start it again from your assistant.Start the connection againUser
MCP-040MCP is turned off for this Dr Migrate instance. An administrator can turn it on in Settings > Instance Configuration.Admin turns it on in Instance ConfigurationAdmin
MCP-041This Dr Migrate instance is hibernated. An administrator can resume it in the Dr Migrate portal.Resume in the portalAdmin
MCP-042A data load is running. Try again when it finishes.WaitNo one
MCP-043No data has been loaded into this Dr Migrate instance yet.Load dataAdmin
MCP-045The Dr Migrate application could not be reached from the MCP service. Try again in a minute.Retry, then supportUser, then support
MCP-046This view belongs to another cloud and is not available on this Dr Migrate instance.Use a view this instance listsUser
MCP-047Dr Migrate could not tell which cloud this instance serves, so the request was refused. Ask an administrator to check the cloud setting.Ask your administrator to contact supportAdmin
MCP-048Dr Migrate is not available right now, so the connection cannot be made. Try again in a few minutes.Retry, then supportUser, then support
MCP-050Dr Migrate cannot confirm your access right now. Try again in a few minutes.WaitNo one
MCP-051Dr Migrate could not check your access. Try again. If it keeps happening, contact support.Retry, then supportUser, then support
MCP-052The tool could not finish. Try again; if it keeps failing tell your administrator.Retry, then administratorUser, then admin
MCP-053This server has no tool with that name. Ask for the list of tools.List the tools, then use a listed nameUser
MCP-054Dr Migrate could not check whether your access is blocked. Try again shortly.Retry, then supportUser, then support
MCP-055No application matches '{application}'. Use drm_query_estate_view('Application_Overview') to browse names.Browse the application names, then ask againUser
MCP-056This connection was not granted the '{scope}' scope. Connect again and allow it.Reconnect and allow the scopeUser
MCP-057Dr Migrate's internal service refused this request. This is a server setting, not your connection: reconnecting will not help. Ask an administrator to check the MCP configuration.Administrator checks the MCP configurationAdmin
MCP-058Dr Migrate could not serve '{feature}' right now. Try again; if it keeps failing, give support the reference.Retry, then supportUser, then support
MCP-059'{feature}' is not an exposed Dr Migrate feature.List the features, then use a listed nameUser
MCP-060Too many requests. Try again in {n} seconds.WaitNo one
MCP-061Dr Migrate is busy. Try again shortly.WaitNo one
MCP-062This connection was blocked after repeated rate-limit lockouts. Ask your administrator to clear it.Admin clears the blockAdmin
MCP-063The token issued earlier to {client} is invalidated.ReconnectUser
MCP-064That page cursor is not valid: it was changed, made for another view, person or connection, or it has expired. Ask for the first page again.Start againUser
MCP-065This connection was ended because your assistant signed out. Connect it again to use it.ReconnectUser
MCP-066The assistant could not be registered: its redirect address must be https, http on this computer, or the app's own private scheme.Fix the clientDeveloper
MCP-067The assistant could not be registered: the details it sent are not valid client metadata.Fix the clientDeveloper
MCP-068This view does not exist on this Dr Migrate instance.Admin applies the latest Dr Migrate database patchAdmin
MCP-069The request was not accepted: {hint}. Change the request and try again.Change the requestUser
© 2025 Altra Technologies