From 53ed874ccea53e646168d5560593d80bb2079da5 Mon Sep 17 00:00:00 2001 From: Urjit Chakraborty <135136842+urjitc@users.noreply.github.com> Date: Fri, 17 Jul 2026 22:06:18 -0400 Subject: [PATCH] docs(mcp): add client connection guide Document remote OAuth setup, workspace permissions, supported actions, and troubleshooting for compatible MCP clients. Co-authored-by: Syed N Ahmed --- docs/docs.json | 2 +- docs/guides/mcp.mdx | 124 ++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 125 insertions(+), 1 deletion(-) create mode 100644 docs/guides/mcp.mdx diff --git a/docs/docs.json b/docs/docs.json index 8975a860..a873f3b6 100644 --- a/docs/docs.json +++ b/docs/docs.json @@ -43,7 +43,7 @@ }, { "group": "Guides", - "pages": ["guides/import-files", "guides/collaboration"] + "pages": ["guides/import-files", "guides/collaboration", "guides/mcp"] }, { "group": "Configuration", diff --git a/docs/guides/mcp.mdx b/docs/guides/mcp.mdx new file mode 100644 index 00000000..e6034fd5 --- /dev/null +++ b/docs/guides/mcp.mdx @@ -0,0 +1,124 @@ +--- +title: Connect with MCP +description: Give compatible AI clients access to your ThinkEx workspaces. +--- + +ThinkEx provides a remote [Model Context Protocol](https://modelcontextprotocol.io/) server for working with your workspace content from compatible AI clients. + + + Use `https://thinkex.app/mcp` as the server URL. ThinkEx uses browser-based + OAuth, so you do not need to create an API key, client ID, or client secret. + + +## Connect a Client + +Your client must support remote Streamable HTTP MCP servers with OAuth. + + + + + + In Claude or Claude Desktop, open **Customize → Connectors**. Team and Enterprise owners add custom connectors from **Organization settings → Connectors**. + + + Choose **Add custom connector**, enter `ThinkEx` as the name, and use `https://thinkex.app/mcp` as the remote MCP server URL. + + + Select **Connect**, sign in to ThinkEx, review the requested permissions, and choose **Allow**. + + + Open the connectors menu from the chat composer and enable ThinkEx for the conversation. + + + + See [Claude's custom connector guide](https://support.claude.com/en/articles/11175166-get-started-with-custom-connectors-using-remote-mcp) for plan and organization controls. + + + + + Add ThinkEx to your global `~/.cursor/mcp.json` or a project's `.cursor/mcp.json`: + + ```json + { + "mcpServers": { + "thinkex": { + "url": "https://thinkex.app/mcp" + } + } + } + ``` + + Start or refresh the server from Cursor's MCP settings, then complete the browser sign-in and consent flow. See [Cursor's MCP documentation](https://docs.cursor.com/context/model-context-protocol) for configuration locations and controls. + + + + + Run **MCP: Add Server** from the Command Palette and choose an HTTP server, or add ThinkEx to your user or workspace `mcp.json`: + + ```json + { + "servers": { + "thinkex": { + "type": "http", + "url": "https://thinkex.app/mcp" + } + } + } + ``` + + Start the server and use the **Auth** action above its configuration to complete sign-in. See [VS Code's MCP server guide](https://code.visualstudio.com/docs/agent-customization/mcp-servers) for user, workspace, and organization configuration. + + + + +## Permissions + +The consent screen requests two permissions: + +| Permission | Allows | +| ------------------------ | -------------------------------------------------- | +| View workspaces | List your workspaces and read their contents | +| Manage workspace content | Create, edit, move, link, rename, and delete items | + +OAuth permission does not override your workspace role. ThinkEx checks your current membership on every operation: + +| Workspace role | MCP access | +| ----------------------- | --------------------------------- | +| Owner, admin, or editor | Read and modify workspace content | +| Viewer | Read workspace content only | +| No membership | No access | + +If your role changes or you lose access to a workspace, the change applies to subsequent MCP operations. + +## How Workspace Selection Works + +The client first asks ThinkEx for the workspaces available to your account. Each result includes the workspace name, stable ID, and your role. The client uses the name to understand your request and passes the exact ID back to ThinkEx for later operations. + +Within a selected workspace, items use readable absolute paths such as `/Research/Notes`. Workspace names are not used as identifiers, so duplicate or renamed workspaces remain unambiguous. + +## Available Actions + +Connected clients can: + +- List available workspaces and membership roles. +- Browse folders and workspace items. +- Read documents and extracted file content. +- Create folders and documents. +- Edit documents and item relationships. +- Rename, move, link, and delete workspace items. + +ThinkEx exposes these capabilities through a compact code-mode interface so clients do not need to load every operation schema into the conversation at once. + + + Connected clients can change or delete content when your workspace role allows + it. Review permission prompts and consequential tool calls in your AI client. + + +## Troubleshooting + +| Problem | What to check | +| ----------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | +| A workspace is missing | Confirm that the same ThinkEx account is still a member and that the workspace is not archived | +| Reads work but writes fail | Your workspace role may be viewer, or the client may not have write permission | +| The client shows no ThinkEx actions | Confirm it supports remote Streamable HTTP MCP with OAuth, then restart or reconnect the server | +| Authorization keeps restarting | Remove the connection from the client, add `https://thinkex.app/mcp` again, and complete consent in one browser session |