Deprecated open-source MCP server for local use. Prefer the remote Box MCP server for new integrations.
Deprecation: The self-hosted Box MCP server is deprecated. For new integrations, use the remote Box MCP server hosted at https://mcp.box.com. This page remains for existing deployments and reference only.
The Self-hosted Box MCP server is a Python project that integrates with the Box API to perform various operations such as file search, text extraction, AI-based querying, and data extraction. It leverages the Box Python Next Gen SDK library and provides a set of tools to interact with Box files and folders.
Alternatively, in the main Claude navigation choose Settings. Select the Developers tab and click Edit Config. This opens a folder window containing claude_desktop_config.json.
{"docsConfig":{"theme":"aspen","$schema":"https://mintlify.com/docs.json","name":"Box Dev Docs","description":"Box for Developers: guides, API reference, SDKs, and tutorials for building content management, Box AI, and enterprise integrations.","colors":{"primary":"#0061d5","light":"#f6fafd","dark":"#002947"},"logo":{"light":"https://mintcdn.com/box/lJLw9z7FWORNWMcq/logo/boxdev-light.png?fit=max\u0026auto=format\u0026n=lJLw9z7FWORNWMcq\u0026q=85\u0026s=a11710b698ff59d24426f9ecec6c7e9c","dark":"https://mintcdn.com/box/siVVIgx7pBuvW4ua/logo/boxdev-dark.svg?fit=max\u0026auto=format\u0026n=siVVIgx7pBuvW4ua\u0026q=85\u0026s=0e34af393abb1b8c024258d684bb7732"},"favicon":"https://mintcdn.com/box/T2hwpVFBJMA4eeDs/favicon.ico?fit=max\u0026auto=format\u0026n=T2hwpVFBJMA4eeDs\u0026q=85\u0026s=2a2efcc60e46eca7ee3ebbe650c47350","api":{"examples":{"languages":["curl","python","node","swift","java",".Net"],"autogenerate":false}},"seo":{"metatags":{"google-site-verification":"fuelbNhVR1kQluNBJjYt4K1Hj5HvJLhLnIq0o9CAY9E"}},"fonts":{"family":"Inter"},"contextual":{"options":[{"title":"Install Box Agent Skills","description":"Add Box plugins to your AI assistants","icon":"sparkles","href":"/ai/agent-skills"},"cursor","vscode","mcp","chatgpt","claude","perplexity","copy","view"],"display":"header"},"metadata":{"timestamp":true},"styling":{"latex":false},"navigation":{"languages":[{"language":"en","banner":{"content":"Join BoxWorks Dev Summit on Nov 5-6, San Francisco and dive into AI agents and unstructured content. [See agenda](https://boxworks.box.com/series/boxworks-2026-dev-summit/landing_page).","dismissible":true},"footer":{"socials":{"x":"https://x.com/box","github":"https://github.com/box-community","linkedin":"https://linkedin.com/company/box","youtube":"https://www.youtube.com/user/box","facebook":"https://www.facebook.com/box"},"links":[{"header":"Resources","items":[{"label":"Newsletter unsubscribe","href":"https://go.box.com/preferences.html"},{"label":"Terms of Use","href":"https://cloud.app.box.com/s/rmwxu64h1ipr41u49w3bbuvbsa29wku9"},{"label":"Privacy Policy","href":"https://www.box.com/en-gb/legal/privacypolicy?url_redirect=direct"},{"label":"Cookie Notification","href":"https://www.box.com/en-gb/legal/cookie-notification?url_redirect=direct"},{"label":"llms.txt","href":"https://developer.box.com/llms.txt"}]}]},"navbar":{"links":[{"href":"https://account.box.com/developers/console","label":"Log in","type":"button"}],"primary":{"type":"button","label":"Get started for free","href":"https://account.box.com/signup/developer"}},"href":""},{"language":"ja","banner":{"content":"Join BoxWorks Dev Summit on Nov 5-6, San Francisco and dive into AI agents and unstructured content. [See agenda](https://boxworks.box.com/series/boxworks-2026-dev-summit/landing_page).","dismissible":true},"footer":{"socials":{"x":"https://x.com/box","github":"https://github.com/box-community","linkedin":"https://linkedin.com/company/box","youtube":"https://www.youtube.com/user/box","facebook":"https://www.facebook.com/box"},"links":[{"header":"リソース","items":[{"label":"ニュースレターの登録解除","href":"https://go.box.com/preferences.html"},{"label":"利用規約","href":"https://cloud.app.box.com/s/rmwxu64h1ipr41u49w3bbuvbsa29wku9"},{"label":"個人情報保護方針","href":"https://www.box.com/en-gb/legal/privacypolicy?url_redirect=direct"},{"label":"Cookieに関する通知","href":"https://www.box.com/en-gb/legal/cookie-notification?url_redirect=direct"},{"label":"llms.txt","href":"https://developer.box.com/llms.txt"}]}]},"navbar":{"links":[{"href":"https://account.box.com/developers/console","label":"ログイン","type":"button"}],"primary":{"type":"button","label":"今すぐ無料で開始","href":"https://account.box.com/signup/developer"}},"href":"ja"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"box","hasAudioNarration":false,"actualSubdomain":"box","customDomains":["developer.box.com"],"gitSource":{"type":"github","owner":"box","repo":"box-mintlify","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6aecaf6e75e8c93633880f4a","collectionId":"8705f86c-e715-471b-b7d1-0c2b9f461869","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6aecaf6e75e8c93633880f4a"},"feedback":{"thumbs":true,"issues":false},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"REMOVE_BRANDING":{"status":"ENABLED"},"CONTEXTUAL_FEEDBACK":{"status":"ENABLED"},"CODE_SNIPPET_FEEDBACK":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6aedb86061234cac26570604","clientVersion":"0.0.4076","searchFilterCounts":[{"language":"ja","tag":"APIリファレンス","count":768},{"language":"en","tag":"API reference","count":682},{"language":"en","tag":"Home","count":302},{"language":"ja","tag":"ホーム","count":302},{"language":"en","tag":"AI","count":183},{"language":"ja","tag":"AI","count":177},{"language":"en","tag":"Tools","count":71},{"language":"en","tag":"Dev tools","count":71},{"language":"ja","tag":"コラボレーション","count":66},{"language":"ja","tag":"ツール","count":62},{"language":"ja","tag":"開発ツール","count":62},{"language":"en","tag":"Metadata \u0026 search","count":56},{"language":"ja","tag":"メタデータと検索","count":56},{"language":"en","tag":"Supported AI models","count":50},{"language":"en","tag":"Collaboration","count":50},{"language":"en","tag":"Content","count":49},{"language":"ja","tag":"コンテンツ","count":49},{"language":"en","tag":"v2026.0","count":48},{"language":"ja","tag":"サポートされているAIモデル","count":47},{"language":"ja","tag":"メタデータ","count":41}]},"assistantConfig":{"enableAskAiButton":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"comment-mode","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"styles.css","content":"a code{border-bottom-color:none!important}.prose :where(a code):not(:where([class~=\"not-prose\"],[class~=\"not-prose\"] *)){color:inherit;font-weight:inherit;text-decoration:none;text-decoration-color:rgb(var(--primary));text-underline-offset:0;text-decoration-thickness:1px}#consent_blackbar{position:relative;z-index:9999999!important}#sidebar{z-index:1}#sidebar-content{z-index:0}a.nav-anchor img[src$=\"/images/sidebar/box.svg\"]{background-color:transparent!important}.left-0.right-0.sticky.sm\\:px-4.pb-4.sm\\:pb-6.bottom-0.pt-1.flex.flex-col.items-center.w-full.overflow-hidden.z-20{z-index:1}#truste-consent-track{z-index:9999999!important;position:fixed!important}.dark #truste-consent-track{background-color:#151f26!important;border-color:#1a1a1a}.dark #truste-show-consent{background-color:#fff;color:#151f26}.dark #truste-consent-text{color:#fff}#truste-consent-content{max-width:1400px}.homepage_container .card img{max-height:200px}.homepage_container h1 span,.homepage_container h2 span{margin:auto}header#header .eyebrow{display:none!important}#navbar .max-w-8xl.mx-auto.relative button .ml-4.flex.text-sm.leading-6.whitespace-nowrap.min-w-0.space-x-3.overflow-hidden{display:none!important}.sidebar-group-header:has(+.sidebar-group>li:is([id=\"/reference\"],[id=\"/ja/reference\"],[id=\"/ja/reference/v2025.0\"],[id=\"/ja/reference/v2026.0\"]))>.sidebar-title{display:none}footer div.flex.gap-4.flex-col.md\\:flex-row.md\\:items-center.md\\:gap-8.md\\:justify-center{flex-wrap:wrap}footer div.flex.gap-4.flex-col.md\\:flex-row.md\\:items-center.md\\:gap-8.md\\:justify-center a{white-space:nowrap;text-overflow:clip;overflow:visible;align-self:start;flex-shrink:0;cursor:pointer!important}#google-preferred-source-column{display:flex;flex-direction:column;align-items:flex-end;flex:0 0 auto;width:max-content;max-width:100%}#google-preferred-source{display:flex;justify-content:flex-end;width:auto;margin:0;padding-top:16px}.google-preferred-source-button{appearance:none;margin:0;padding:0;border:0;background:transparent;line-height:0;cursor:pointer}.google-preferred-source-badge{display:block;width:140px;max-width:100%;height:auto}.google-preferred-source-badge--dark{display:none}.dark .google-preferred-source-badge--light{display:none}.dark .google-preferred-source-badge--dark{display:block}.nav-logo{min-width:109px}.badge-guide,.badge-tutorial,.badge-quickstart{background-color:#1f2937;color:#fff}.dark .badge-guide,.dark .badge-tutorial,.dark .badge-quickstart{background-color:#1f2937;color:#fff}.badge-get{background-color:rgb(74 222 128/0.2);color:#15803d}.dark .badge-get{color:#4ade80}.badge-post{background-color:rgb(96 165 250/0.2);color:#1d4ed8}.dark .badge-post{color:#60a5fa}.badge-put,.badge-patch{background-color:rgb(250 204 21/0.2);color:#a16207}.dark .badge-put,.dark .badge-patch{color:#facc15}.badge-delete{background-color:rgb(248 113 113/0.2);color:#b91c1c}.dark .badge-delete{color:#f87171}.badge-api{background-color:#e3f2fd;color:#0d47a1}.dark .badge-api{background-color:#0d47a1;color:#bbdefb}.badge-reference,.badge-documentation{background-color:#000;color:#fff}.dark .badge-reference,.dark .badge-documentation{background-color:#000;color:#fff}.badge-default{background-color:#f5f5f5;color:#424242}.badge-group{display:inline-flex;gap:0.5rem;flex-wrap:wrap}.dark .badge-default{background-color:#424242;color:#e0e0e0}.update>div:first-child>div:nth-child(3){padding:0}.update>div:first-child>div:nth-child(3)>span{display:flex;padding-top:0.25rem;padding-bottom:0.25rem;padding-left:0.75rem;padding-right:0.75rem;align-items:center;border-radius:9999px;font-size:0.875rem;line-height:1.25rem;color:#374151;background-color:#f3f4f6}.dark .update>div:first-child>div:nth-child(3)>span{color:#cecece;background-color:#161616}.update>div:first-child>div:nth-child(3){order:4}.update>div:first-child>div:nth-child(4){order:3}div#banner a{text-decoration:none!important;color:#fff;font-weight:600}nav ul .navbar-link a,nav ul #topbar-cta-button a span{border-radius:50px!important}nav ul #topbar-cta-button a span{background-color:#0061d5}#topbar-cta-button a:hover span{opacity:1!important;background-color:#146bd5}.dark #topbar-cta-button a:hover span{opacity:1!important;background-color:#0058c3}.signup-cta-button,.signup-cta-button:hover,.signup-cta-button:focus,.signup-cta-button:active{background-color:#0061d5;border-radius:50px!important;transition:background-color 0.2s!important;box-shadow:none!important;transform:none!important;border:none!important;border-bottom:none!important;text-decoration:none!important;outline:none!important}.signup-cta-button:hover{background-color:#146bd5!important;opacity:1!important}.dark .signup-cta-button:hover{background-color:#0058c3!important;opacity:1!important}.homepage-secondary-button,.homepage-secondary-button:hover,.homepage-secondary-button:focus,.homepage-secondary-button:active{border-radius:50px!important;border:1px solid #d1d5db!important;background-color:transparent!important;color:#1f2937!important;transition:background-color 0.2s!important;box-shadow:none!important;transform:none!important;text-decoration:none!important;outline:none!important}.homepage-secondary-button:hover{background-color:#f9fafb!important}.dark .homepage-secondary-button,.dark .homepage-secondary-button:focus,.dark .homepage-secondary-button:active{border-color:#4b5563!important;color:#e5e7eb!important}.dark .homepage-secondary-button:hover{background-color:#1f2937!important}.signup-cta-login,.signup-cta-login:hover,.signup-cta-login:focus,.signup-cta-login:active{text-decoration:none!important;border-bottom:none!important}#content-area h1,#content-area h2,#content-area h3,#content-area h4,#content-area h5,#content-area h6{font-weight:600!important}#content-area h1{font-size:32px!important}.dark img[src*=\"guides-box-ai-ai-models/claude.svg\"],.dark img[src*=\"guides-box-ai-ai-models/gemini.svg\"],.dark img[src*=\"guides-box-ai-ai-models/grok.svg\"],.dark img[src*=\"guides-box-ai-ai-models/meta.svg\"],.dark img[src*=\"guides-box-ai-ai-models/mistral.svg\"],.dark img[src*=\"guides-box-ai-ai-models/nvidia.svg\"],.dark img[src*=\"guides-box-ai-ai-models/openai.svg\"]{filter:invert(1)}.partner-logos [data-component-part=\"card-icon\"] svg{background-color:#000!important}.dark .partner-logos [data-component-part=\"card-icon\"] svg{background-color:#fff!important}.partner-logos [data-component-part=\"card-icon\"] img{filter:brightness(0)}.dark .partner-logos [data-component-part=\"card-icon\"] img{filter:brightness(0) invert(1)}.homepage_h2{font-size:28px!important}#footer>div{z-index:0}.chat-assistant-floating-input{z-index:1!important}"}],"page":{"pagePath":"guides/box-mcp/self-hosted","slug":"/guides/box-mcp/self-hosted","pageMetadata":{"title":"Self-hosted Box MCP server (legacy)","sidebarTitle":"Self-hosted Box MCP server (legacy)","description":"Deprecated open-source MCP server for local use. Prefer the remote Box MCP server for new integrations.","href":"/guides/box-mcp/self-hosted/index"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Deprecated open-source MCP server for local use. Prefer the remote Box MCP server for new integrations.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,ol:`ol`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,CodeGroup,Heading,OptimizedFrame,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!CodeGroup)_missingMdxReference(`CodeGroup`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!OptimizedFrame)_missingMdxReference(`OptimizedFrame`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(Warning,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Deprecation:`}),` The self-hosted Box MCP server is deprecated. For new integrations, use the `,_jsx(_components.a,{href:`/guides/box-mcp/setup`,children:`remote Box MCP server`}),` hosted at `,_jsx(_components.code,{children:`https://mcp.box.com`}),`. This page remains for existing deployments and reference only.`]})}),`\n`,_jsxs(_components.p,{children:[`The `,_jsx(_components.a,{href:`https://github.com/box-community/mcp-server-box.git`,children:`Self-hosted Box MCP server`}),` is a Python project that integrates with the Box API to perform various operations such as file search, text extraction, AI-based querying, and data extraction. It leverages the Box Python Next Gen SDK library and provides a set of tools to interact with Box files and folders.`]}),`\n`,_jsx(Heading,{level:`2`,id:`installation`,children:`Installation`}),`\n`,_jsx(Heading,{level:`3`,id:`prerequisites`,children:`Prerequisites`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Python `,_jsx(_components.code,{children:`3.13`}),` or higher`]}),`\n`,_jsx(_components.li,{children:`Platform app credentials (Client ID, Client Secret)`}),`\n`]}),`\n`,_jsx(_components.p,{children:`Follow the steps from this section to set up the self-hosted Box MCP server.`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsx(_components.li,{children:`Clone the repository:`}),`\n`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`git`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` clone`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://github.com/box-community/mcp-server-box.git`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`cd`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` mcp-server-box`})]}),`\n`]})})}),`\n`,_jsxs(_components.ol,{start:`2`,children:[`\n`,_jsxs(_components.li,{children:[`Install `,_jsx(_components.code,{children:`uv`}),` if it’s not installed on your machine:`]}),`\n`]}),`\n`,_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`MacOS/Linux`,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:` curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -LsSf`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://astral.sh/uv/install.sh`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` |`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:` sh`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Windows`,numberOfLines:`1`,language:`powershell`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`powershell`,children:_jsxs(_components.code,{language:`powershell`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` powershell `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`-`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`ExecutionPolicy ByPass `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`-`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`c `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"irm https://astral.sh/uv/install.ps1 | iex\"`})]}),`\n`]})})})]}),`\n`,_jsxs(_components.p,{children:[`Restart your terminal afterwards to ensure that the `,_jsx(_components.code,{children:`uv`}),` command gets picked up.`]}),`\n`,_jsxs(_components.ol,{start:`3`,children:[`\n`,_jsx(_components.li,{children:`Create and set up our project:`}),`\n`]}),`\n`,_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`MacOS/Linux`,numberOfLines:`6`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`6`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` # Create virtual environment and activate it`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:` uv`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` venv`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` source`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` .venv/bin/activate`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` # Lock the dependencies`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:` uv`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` lock`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Windows`,numberOfLines:`6`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`6`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` # Create virtual environment and activate it`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:` uv`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` venv`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:` .venv\\\\Scripts\\\\activate`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` # Lock the dependencies`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:` uv`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` lock`})]}),`\n`]})})})]}),`\n`,_jsxs(_components.ol,{start:`4`,children:[`\n`,_jsxs(_components.li,{children:[`Create a `,_jsx(_components.code,{children:`.env`}),` file in the root directory and fill your platform app credentials:`]}),`\n`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`3`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`3`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`BOX_CLIENT_ID=your_client_id`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`BOX_CLIENT_SECRET=your_client_secret`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(_components.p,{children:`You can also watch a video tutorial and see example usage of Box MCP tools.`}),`\n`,_jsx(OptimizedFrame,{width:`100%`,height:`500`,src:`https://www.youtube.com/embed/h109CMywlVQ?si=0EIRYyczpxfuidVU`,title:`Box self-hosted MCP Server`,frameborder:`0`,allow:`accelerometer; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share`,referrerpolicy:`strict-origin-when-cross-origin`,allowfullscreen:true}),`\n`,_jsx(Heading,{level:`2`,id:`running-box-mcp-server-locally`,children:`Running Box MCP server locally`}),`\n`,_jsx(_components.p,{children:`To start the Box MCP server, run the following command:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`uv`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --directory`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /Users/USER_NAME/PATH_TO_PROJECT/mcp-server-box`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` run`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` src/mcp_server_box.py`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`Update the path so it reflects your local setup.`}),`\n`,_jsx(Heading,{level:`3`,id:`use-cursor-as-the-box-mcp-client`,children:`Use Cursor as the Box MCP client`}),`\n`,_jsx(_components.p,{children:`Prerequisites:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Download `,_jsx(_components.a,{href:`https://www.cursor.com/`,children:`Cursor desktop app`})]}),`\n`]}),`\n`,_jsx(_components.p,{children:`Follow these instructions to start using Box MCP Server with Cursor:`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsx(_components.li,{children:`Open the Cursor app.`}),`\n`,_jsx(_components.li,{children:`Click the cog icon to open settings.`}),`\n`,_jsxs(_components.li,{children:[`Select `,_jsx(_components.code,{children:`MCP`}),` within the Cursor Settings tab.`]}),`\n`,_jsxs(_components.li,{children:[`Click the `,_jsx(_components.code,{children:`Add new global MCP server`}),` button. This opens the `,_jsx(_components.code,{children:`mcp.json`}),` file.`]}),`\n`,_jsx(_components.li,{children:`Update the values with your local setup and paste the following JSON:`}),`\n`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`13`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`13`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"mcpServers\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"box\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"command\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"uv\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"args\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"--directory\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"/Users/USER_NAME/PATH_TO_PROJECT/mcp-server-box\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"run\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"src/mcp_server_box.py\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsxs(_components.ol,{start:`6`,children:[`\n`,_jsxs(_components.li,{children:[`Save and close the `,_jsx(_components.code,{children:`mcp.json`}),` file.`]}),`\n`,_jsx(_components.li,{children:`Restart Cursor if necessary.`}),`\n`,_jsxs(_components.li,{children:[`Use the `,_jsx(_components.code,{children:`box_authorize_app_tool`}),` tool to start using Box MCP.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`use-claude-as-the-box-mcp-client`,children:`Use Claude as the Box MCP client`}),`\n`,_jsx(_components.p,{children:`Prerequisites:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Download `,_jsx(_components.a,{href:`https://claude.ai/download`,children:`Claude for Desktop`}),` client`]}),`\n`,_jsxs(_components.li,{children:[`Optionally, set up `,_jsx(_components.a,{href:`https://code.visualstudio.com/docs/setup/mac#_configure-the-path-with-vs-code`,children:_jsx(_components.code,{children:`code`})}),` command for VS Code`]}),`\n`]}),`\n`,_jsx(_components.p,{children:`Follow these steps to set up Box MCP in Claude for Desktop:`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`Edit your `,_jsx(_components.code,{children:`claude_desktop_config.json`}),`.`]}),`\n`]}),`\n`,_jsx(_components.p,{children:`You can run this command in your terminal:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`code`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ~/Library/Application`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\ `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`Support/Claude/claude_desktop_config.json`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`Alternatively, in the main Claude navigation choose `,_jsx(_components.code,{children:`Settings`}),`. Select the Developers tab and click `,_jsx(_components.code,{children:`Edit Config`}),`. This opens a folder window containing `,_jsx(_components.code,{children:`claude_desktop_config.json`}),`.`]}),`\n`,_jsxs(_components.ol,{start:`2`,children:[`\n`,_jsx(_components.li,{children:`Add the configuration:`}),`\n`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`13`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`13`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"mcpServers\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"mcp-server-box\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"command\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"uv\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"args\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"--directory\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"/Users/Users/USER_NAME/PATH_TO_PROJECT/mcp-server-box\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"run\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"src/mcp_server_box.py\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsxs(_components.ol,{start:`3`,children:[`\n`,_jsx(_components.li,{children:`Restart Claude desktop app.`}),`\n`,_jsxs(_components.li,{children:[`Authenticate the Box MCP server using `,_jsx(_components.code,{children:`box_authorize_app_tool`}),` tool.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`available-tools`,children:`Available tools`}),`\n`,_jsx(Heading,{level:`3`,id:`authentication-and-authorization`,children:`Authentication and Authorization`}),`\n`,_jsxs(`table`,{children:[_jsx(`thead`,{children:_jsxs(`tr`,{children:[_jsx(`th`,{children:`Tool`}),_jsx(`th`,{children:`Description`}),_jsx(`th`,{children:`Parameters`}),_jsx(`th`,{children:`Returns`})]})}),_jsxs(`tbody`,{children:[_jsxs(`tr`,{children:[_jsx(`td`,{children:_jsx(_components.code,{children:`get_box_client`})}),_jsx(`td`,{children:`Helper function to get Box client from context`}),_jsx(`td`,{children:_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`ctx (Context)`}),`: Request context.`]}),`\n`]})}),_jsx(`td`,{children:`Box client instance`})]}),_jsxs(`tr`,{children:[_jsx(`td`,{children:_jsx(_components.code,{children:`box_who_am_i`})}),_jsx(`td`,{children:`Get the current user’s information`}),_jsx(`td`,{children:_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`ctx (Context)`}),`: Request context.`]}),`\n`]})}),_jsx(`td`,{children:`User information string`})]}),_jsxs(`tr`,{children:[_jsx(`td`,{children:_jsx(_components.code,{children:`box_authorize_app_tool`})}),_jsx(`td`,{children:`Authorize the Box application`}),_jsx(`td`,{children:`None`}),_jsx(`td`,{children:`Authorization status message`})]})]})]}),`\n`,_jsx(Heading,{level:`3`,id:`search-and-navigation`,children:`Search and Navigation`}),`\n`,_jsxs(`table`,{children:[_jsx(`thead`,{children:_jsxs(`tr`,{children:[_jsx(`th`,{children:`Tool`}),_jsx(`th`,{children:`Description`}),_jsx(`th`,{children:`Parameters`}),_jsx(`th`,{children:`Returns`})]})}),_jsxs(`tbody`,{children:[_jsxs(`tr`,{children:[_jsx(`td`,{children:_jsx(_components.code,{children:`box_search_tool`})}),_jsx(`td`,{children:`Search for files in Box`}),_jsx(`td`,{children:_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`query (str)`}),`: Search query.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`file_extensions (List[str], optional)`}),`: Filter by extensions.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`where_to_look_for_query (List[str], optional)`}),`: Locations to search.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`ancestor_folder_ids (List[str], optional)`}),`: Folder IDs to limit the search.`]}),`\n`]})}),_jsx(`td`,{children:`Newline-separated list of file names and IDs`})]}),_jsxs(`tr`,{children:[_jsx(`td`,{children:_jsx(`code`,{children:_jsx(_components.code,{children:`box_search_folder_by_name`})})}),_jsx(`td`,{children:`Locate a folder by name`}),_jsxs(`td`,{children:[_jsx(_components.code,{children:`folder_name (str)`}),`: Name of the folder`]}),_jsx(`td`,{children:`Folder ID and information`})]}),_jsxs(`tr`,{children:[_jsx(`td`,{children:_jsx(_components.code,{children:`box_list_folder_content_by_folder_id`})}),_jsx(`td`,{children:`List folder contents`}),_jsx(`td`,{children:_jsxs(`ul`,{children:[_jsxs(`li`,{children:[_jsx(_components.code,{children:`folder_id (str)`}),`: ID of the folder.`]}),_jsxs(`li`,{children:[_jsx(_components.code,{children:`is_recursive (bool)`}),`: Whether to list recursively.`]})]})}),_jsx(`td`,{children:`Folder content in JSON format`})]})]})]}),`\n`,_jsx(Heading,{level:`3`,id:`file-operations`,children:`File Operations`}),`\n`,_jsxs(`table`,{children:[_jsx(`thead`,{children:_jsxs(`tr`,{children:[_jsx(`th`,{children:`Tool`}),_jsx(`th`,{children:`Description`}),_jsx(`th`,{children:`Parameters`}),_jsx(`th`,{children:`Returns`})]})}),_jsxs(`tbody`,{children:[_jsxs(`tr`,{children:[_jsx(`td`,{children:_jsx(_components.code,{children:`box_read_tool`})}),_jsx(`td`,{children:`Read the text content of a Box file`}),_jsx(`td`,{children:_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`file_id (str)`}),`: ID of the file to read.`]}),`\n`]})}),_jsx(`td`,{children:`File content`})]}),_jsxs(`tr`,{children:[_jsx(`td`,{children:_jsx(_components.code,{children:`box_upload_file_from_path_tool`})}),_jsx(`td`,{children:`Upload a file from local path`}),_jsx(`td`,{children:_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`file_path (str)`}),`: Local file path.`,_jsx(`br`,{})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`folder_id (str, optional)`}),`: Destination folder ID.`,_jsx(`br`,{})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`new_file_name (str, optional)`}),`: New file name.`]}),`\n`]})}),_jsx(`td`,{children:`File details or error message`})]}),_jsxs(`tr`,{children:[_jsx(`td`,{children:_jsx(_components.code,{children:`box_upload_file_from_content_tool`})}),_jsx(`td`,{children:`Upload content as a file`}),_jsx(`td`,{children:_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`content (str|bytes)`}),`: Content to upload.`,_jsx(`br`,{})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`file_name (str)`}),`: File name.`,_jsx(`br`,{})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`folder_id (str, optional)`}),`: Destination folder ID.`,_jsx(`br`,{})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`is_base64 (bool, optional)`}),`: If content is base64 encoded.`]}),`\n`]})}),_jsx(`td`,{children:`Upload success message`})]}),_jsxs(`tr`,{children:[_jsx(`td`,{children:_jsx(_components.code,{children:`box_download_file_tool`})}),_jsx(`td`,{children:`Download a file from Box`}),_jsx(`td`,{children:_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`file_id (str)`}),`: File ID.`,_jsx(`br`,{})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`save_file (bool, optional)`}),`: Whether to save locally.`,_jsx(`br`,{})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`save_path (str, optional)`}),`: Local save path.`]}),`\n`]})}),_jsx(`td`,{children:`File content or save confirmation`})]}),_jsxs(`tr`,{children:[_jsx(`td`,{children:_jsx(_components.code,{children:`get_file_content`})}),_jsx(`td`,{children:`Extract text content from a file`}),_jsx(`td`,{children:_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`file_id (str)`}),`: File ID.`,_jsx(`br`,{})]}),`\n`]})}),_jsx(`td`,{children:`Text file content`})]})]})]}),`\n`,_jsx(Heading,{level:`3`,id:`folder-management`,children:`Folder Management`}),`\n`,_jsxs(`table`,{children:[_jsx(`thead`,{children:_jsxs(`tr`,{children:[_jsx(`th`,{children:`Tool`}),_jsx(`th`,{children:`Description`}),_jsx(`th`,{children:`Parameters`}),_jsx(`th`,{children:`Returns`})]})}),_jsx(`tbody`,{children:_jsxs(`tr`,{valign:`top`,children:[_jsx(`td`,{children:_jsx(_components.code,{children:`box_manage_folder_tool`})}),_jsx(`td`,{children:`Create, update, or delete folders`}),_jsx(`td`,{style:{whiteSpace:`pre-wrap`},children:_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`action (str)`}),`: `,_jsx(_components.code,{children:`create`}),`, `,_jsx(_components.code,{children:`delete`}),`, or `,_jsx(_components.code,{children:`update`}),`.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`folder_id (str, optional)`}),`: Folder ID.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`name (str, optional)`}),`: Folder name.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`parent_id (str, optional)`}),`: Parent folder ID.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`description (str, optional)`}),`: Folder description.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`recursive (bool, optional)`}),`: For recursive delete.`]}),`\n`]})}),_jsx(`td`,{children:`Status message with folder details`})]})})]}),`\n`,_jsx(Heading,{level:`3`,id:`box-ai`,children:`Box AI`}),`\n`,_jsxs(`table`,{children:[_jsx(`thead`,{children:_jsxs(`tr`,{children:[_jsx(`th`,{children:`Tool`}),_jsx(`th`,{children:`Description`}),_jsx(`th`,{children:`Parameters`}),_jsx(`th`,{children:`Returns`})]})}),_jsxs(`tbody`,{children:[_jsxs(`tr`,{children:[_jsx(`td`,{children:_jsx(_components.code,{children:`box_ask_ai_tool`})}),_jsx(`td`,{children:`Ask Box AI about a file`}),_jsx(`td`,{children:_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`file_id (str)`}),`: File ID.`,_jsx(`br`,{})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`prompt (str)`}),`: Question for the AI.`]}),`\n`]})}),_jsx(`td`,{children:`AI response`})]}),_jsxs(`tr`,{children:[_jsx(`td`,{children:_jsx(_components.code,{children:`box_ask_ai_tool_multi_file`})}),_jsx(`td`,{children:`Query Box AI using multiple files`}),_jsx(`td`,{children:_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`file_ids (List[str])`}),`: List of file IDs.`,_jsx(`br`,{})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`prompt (str)`}),`: Instruction for AI.`]}),`\n`]})}),_jsx(`td`,{children:`AI-generated answer`})]}),_jsxs(`tr`,{children:[_jsx(`td`,{children:_jsx(_components.code,{children:`box_hubs_ask_ai_tool`})}),_jsx(`td`,{children:`Ask Box AI about a hub`}),_jsx(`td`,{children:_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`hubs_id (str)`}),`: ID of the hub.`,_jsx(`br`,{})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`prompt (str)`}),`: Question for the AI.`]}),`\n`]})}),_jsx(`td`,{children:`AI response`})]}),_jsxs(`tr`,{children:[_jsx(`td`,{children:_jsx(_components.code,{children:`box_ai_extract_data`})}),_jsx(`td`,{children:`Extract data from a file using AI`}),_jsx(`td`,{children:_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`file_id (str)`}),`: File ID.`,_jsx(`br`,{})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`fields (str)`}),`: Fields to extract.`]}),`\n`]})}),_jsx(`td`,{children:`Extracted data in JSON format`})]})]})]}),`\n`,_jsx(Heading,{level:`3`,id:`collaborations`,children:`Collaborations`}),`\n`,_jsxs(`table`,{children:[_jsx(`thead`,{children:_jsxs(`tr`,{children:[_jsx(`th`,{children:`Tool`}),_jsx(`th`,{children:`Description`}),_jsx(`th`,{children:`Parameters`}),_jsx(`th`,{children:`Returns`})]})}),_jsxs(`tbody`,{children:[_jsxs(`tr`,{children:[_jsx(`td`,{children:_jsx(_components.code,{children:`box_collaboration_list_by_file_tool`})}),_jsx(`td`,{children:`List all collaborations on a specific file`}),_jsx(`td`,{children:_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`ctx (Context)`}),`: Request context.`,_jsx(`br`,{})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`file_id (str)`}),`: ID of the Box file.`]}),`\n`]})}),_jsx(`td`,{children:`List of collaborations in JSON format`})]}),_jsxs(`tr`,{children:[_jsx(`td`,{children:_jsx(_components.code,{children:`box_collaboration_list_by_folder_tool`})}),_jsx(`td`,{children:`List all collaborations on a specific folder`}),_jsx(`td`,{children:_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`ctx (Context)`}),`: Request context.`,_jsx(`br`,{})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`folder_id (str)`}),`: ID of the Box folder.`]}),`\n`]})}),_jsx(`td`,{children:`List of collaborations in JSON format`})]}),_jsxs(`tr`,{children:[_jsx(`td`,{children:_jsx(_components.code,{children:`box_collaboration_delete_tool`})}),_jsx(`td`,{children:`Delete a specific collaboration`}),_jsx(`td`,{children:_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`ctx (Context)`}),`: Request context.`,_jsx(`br`,{})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`collaboration_id (str)`}),`: ID of the collaboration.`]}),`\n`]})}),_jsx(`td`,{children:`Deletion confirmation`})]}),_jsxs(`tr`,{children:[_jsx(`td`,{children:_jsx(_components.code,{children:`box_collaboration_file_group_by_group_id_tool`})}),_jsx(`td`,{children:`Add a group as a collaborator to a file`}),_jsx(`td`,{children:_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`ctx (Context)`}),`: Request context.`,_jsx(`br`,{})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`file_id (str)`}),`: ID of the Box file.`,_jsx(`br`,{})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`group_id (str)`}),`: ID of the group.`,_jsx(`br`,{})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`role (str, optional)`}),`: Collaboration role (default: “editor”).`]}),`\n`]})}),_jsx(`td`,{children:`Created collaboration details`})]})]})]}),`\n`,_jsx(Heading,{level:`3`,id:`groups`,children:`Groups`}),`\n`,_jsxs(`table`,{children:[_jsx(`thead`,{children:_jsxs(`tr`,{children:[_jsx(`th`,{children:`Tool`}),_jsx(`th`,{children:`Description`}),_jsx(`th`,{children:`Parameters`}),_jsx(`th`,{children:`Returns`})]})}),_jsxs(`tbody`,{children:[_jsxs(`tr`,{children:[_jsx(`td`,{children:_jsx(_components.code,{children:`box_groups_search_tool`})}),_jsx(`td`,{children:`Search for groups by name (partial match)`}),_jsx(`td`,{children:_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`ctx (Context)`}),`: Request context.`,_jsx(`br`,{})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`query (str)`}),`: Search query.`]}),`\n`]})}),_jsx(`td`,{children:`List of matching groups in JSON format`})]}),_jsxs(`tr`,{children:[_jsx(`td`,{children:_jsx(_components.code,{children:`box_groups_list_members_tool`})}),_jsx(`td`,{children:`List all members of a specific group`}),_jsx(`td`,{children:_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`ctx (Context)`}),`: Request context.`,_jsx(`br`,{})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`group_id (str)`}),`: ID of the group.`]}),`\n`]})}),_jsx(`td`,{children:`List of group members in JSON format`})]}),_jsxs(`tr`,{children:[_jsx(`td`,{children:_jsx(_components.code,{children:`box_groups_list_by_user_tool`})}),_jsx(`td`,{children:`List all groups that a specific user belongs to`}),_jsx(`td`,{children:_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`ctx (Context)`}),`: Request context.`,_jsx(`br`,{})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`user_id (str)`}),`: ID of the user.`]}),`\n`]})}),_jsx(`td`,{children:`List of groups in JSON format`})]})]})]}),`\n`,_jsx(Heading,{level:`3`,id:`users`,children:`Users`}),`\n`,_jsxs(`table`,{children:[_jsx(`thead`,{children:_jsxs(`tr`,{children:[_jsx(`th`,{children:`Tool`}),_jsx(`th`,{children:`Description`}),_jsx(`th`,{children:`Parameters`}),_jsx(`th`,{children:`Returns`})]})}),_jsxs(`tbody`,{children:[_jsxs(`tr`,{children:[_jsx(`td`,{children:_jsx(_components.code,{children:`box_users_list_tool`})}),_jsx(`td`,{children:`List all users in the Box account`}),_jsx(`td`,{children:_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`ctx (Context)`}),`: Request context.`]}),`\n`]})}),_jsx(`td`,{children:`List of users in JSON format`})]}),_jsxs(`tr`,{children:[_jsx(`td`,{children:_jsx(_components.code,{children:`box_users_locate_by_name_tool`})}),_jsx(`td`,{children:`Locate a user by their name (exact match)`}),_jsx(`td`,{children:_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`ctx (Context)`}),`: Request context.`,_jsx(`br`,{})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`name (str)`}),`: Name of the user.`]}),`\n`]})}),_jsx(`td`,{children:`User details in JSON format`})]}),_jsxs(`tr`,{children:[_jsx(`td`,{children:_jsx(_components.code,{children:`box_users_locate_by_email_tool`})}),_jsx(`td`,{children:`Locate a user by their email address (exact match)`}),_jsx(`td`,{children:_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`ctx (Context)`}),`: Request context.`,_jsx(`br`,{})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`email (str)`}),`: Email address.`]}),`\n`]})}),_jsx(`td`,{children:`User details in JSON format`})]}),_jsxs(`tr`,{children:[_jsx(`td`,{children:_jsx(_components.code,{children:`box_users_search_by_name_or_email_tool`})}),_jsx(`td`,{children:`Search for users by name or email (partial match)`}),_jsx(`td`,{children:_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`ctx (Context)`}),`: Request context.`,_jsx(`br`,{})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`query (str)`}),`: Search query.`]}),`\n`]})}),_jsx(`td`,{children:`List of matching users in JSON format`})]})]})]}),`\n`,_jsx(Heading,{level:`3`,id:`box-shared-links`,children:`Box Shared Links`}),`\n`,_jsxs(`table`,{children:[_jsx(`thead`,{children:_jsxs(`tr`,{children:[_jsx(`th`,{children:`Tool`}),_jsx(`th`,{children:`Description`}),_jsx(`th`,{children:`Parameters`}),_jsx(`th`,{children:`Returns`})]})}),_jsxs(`tbody`,{children:[_jsxs(`tr`,{children:[_jsx(`td`,{children:_jsx(_components.code,{children:`box_shared_link_file_get_tool`})}),_jsx(`td`,{children:`Get a shared link for a file`}),_jsx(`td`,{children:_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`ctx (Context)`}),`: Request context.`,_jsx(`br`,{})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`file_id (str)`}),`: ID of the file.`]}),`\n`]})}),_jsx(`td`,{children:`Shared link details in JSON format`})]}),_jsxs(`tr`,{children:[_jsx(`td`,{children:_jsx(_components.code,{children:`box_shared_link_file_create_or_update_tool`})}),_jsx(`td`,{children:`Create or update a shared link for a file`}),_jsx(`td`,{children:_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`ctx (Context)`}),`: Request context.`,_jsx(`br`,{})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`file_id (str)`}),`: ID of the file.`,_jsx(`br`,{})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`access (str, optional)`}),`: Access level.`,_jsx(`br`,{})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`can_download (bool, optional)`}),`: Can download.`,_jsx(`br`,{})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`can_preview (bool, optional)`}),`: Can preview.`,_jsx(`br`,{})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`can_edit (bool, optional)`}),`: Can edit.`,_jsx(`br`,{})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`password (str, optional)`}),`: Password.`,_jsx(`br`,{})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`vanity_name (str, optional)`}),`: Vanity name.`,_jsx(`br`,{})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`unshared_at (str, optional)`}),`: Expiration date.`]}),`\n`]})}),_jsx(`td`,{children:`Created/updated shared link details in JSON format`})]})]})]}),`\n`,_jsx(Heading,{level:`3`,id:`box-tools-web-link`,children:`Box Tools Web Link`}),`\n`,_jsxs(`table`,{children:[_jsx(`thead`,{children:_jsxs(`tr`,{children:[_jsx(`th`,{children:`Tool`}),_jsx(`th`,{children:`Description`}),_jsx(`th`,{children:`Parameters`}),_jsx(`th`,{children:`Returns`})]})}),_jsxs(`tbody`,{children:[_jsxs(`tr`,{children:[_jsx(`td`,{children:_jsx(_components.code,{children:`box_web_link_create_tool`})}),_jsx(`td`,{children:`Create a Box web link`}),_jsx(`td`,{children:_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`ctx (Context)`}),`: Request context.`,_jsx(`br`,{})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`url (str)`}),`: URL of the web link.`,_jsx(`br`,{})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`parent_folder_id (str)`}),`: Parent folder ID.`,_jsx(`br`,{})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`name (str, optional)`}),`: Name of the web link.`,_jsx(`br`,{})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`description (str, optional)`}),`: Description.`]}),`\n`]})}),_jsx(`td`,{children:`Created web link details in JSON format`})]}),_jsxs(`tr`,{children:[_jsx(`td`,{children:_jsx(_components.code,{children:`box_web_link_get_by_id_tool`})}),_jsx(`td`,{children:`Get a Box web link by its ID`}),_jsx(`td`,{children:_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`ctx (Context)`}),`: Request context.`,_jsx(`br`,{})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`web_link_id (str)`}),`: ID of the web link.`]}),`\n`]})}),_jsx(`td`,{children:`Web link details in JSON format`})]}),_jsxs(`tr`,{children:[_jsx(`td`,{children:_jsx(_components.code,{children:`box_web_link_update_by_id_tool`})}),_jsx(`td`,{children:`Update a Box web link by its ID`}),_jsx(`td`,{children:_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`ctx (Context)`}),`: Request context.`,_jsx(`br`,{})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`web_link_id (str)`}),`: ID of the web link.`,_jsx(`br`,{})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`url (str)`}),`: New URL.`]}),`\n`]})}),_jsx(`td`,{children:`Updated web link details in JSON format`})]})]})]}),`\n`,_jsx(Heading,{level:`3`,id:`box-doc-gen`,children:`Box Doc Gen`}),`\n`,_jsxs(`table`,{children:[_jsx(`thead`,{children:_jsxs(`tr`,{children:[_jsx(`th`,{children:`Tool`}),_jsx(`th`,{children:`Description`}),_jsx(`th`,{children:`Parameters`}),_jsx(`th`,{children:`Returns`})]})}),_jsxs(`tbody`,{children:[_jsxs(`tr`,{children:[_jsx(`td`,{children:_jsx(_components.code,{children:`box_docgen_create_batch_tool`})}),_jsx(`td`,{children:`Generate documents using a template`}),_jsx(`td`,{children:_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`file_id (str)`}),`: Template file ID.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`destination_folder_id (str)`}),`: Output folder ID.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`user_input_file_path (str)`}),`: JSON input data path.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`output_type (str, optional)`}),`: Output format.`]}),`\n`]})}),_jsx(`td`,{children:`Batch generation result`})]}),_jsxs(`tr`,{children:[_jsx(`td`,{children:_jsx(_components.code,{children:`box_docgen_get_job_tool`})}),_jsx(`td`,{children:`Fetch a Doc Gen job by ID`}),_jsxs(`td`,{children:[_jsx(_components.code,{children:`job_id (str)`}),`: Job identifier`]}),_jsx(`td`,{children:`Job details in JSON`})]}),_jsxs(`tr`,{children:[_jsx(`td`,{children:_jsx(_components.code,{children:`box_docgen_list_jobs_tool`})}),_jsx(`td`,{children:`List all Doc Gen jobs`}),_jsx(`td`,{children:_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`marker (str, optional)`}),`: Pagination marker.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`limit (int, optional)`}),`: Max jobs to return.`]}),`\n`]})}),_jsx(`td`,{children:`List of jobs in JSON`})]}),_jsxs(`tr`,{children:[_jsx(`td`,{children:_jsx(_components.code,{children:`box_docgen_list_jobs_by_batch_tool`})}),_jsx(`td`,{children:`List jobs in a specific batch`}),_jsx(`td`,{children:_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`batch_id (str)`}),`: Batch identifier.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`marker (str, optional)`}),`: Pagination marker.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`limit (int, optional)`}),`: Max jobs to return.`]}),`\n`]})}),_jsx(`td`,{children:`Batch jobs details`})]}),_jsxs(`tr`,{children:[_jsx(`td`,{children:_jsx(_components.code,{children:`box_docgen_template_create_tool`})}),_jsx(`td`,{children:`Mark a file as a template`}),_jsxs(`td`,{children:[_jsx(_components.code,{children:`file_id (str)`}),`: File ID to mark`]}),_jsx(`td`,{children:`Template details`})]}),_jsxs(`tr`,{children:[_jsx(`td`,{children:_jsx(_components.code,{children:`box_docgen_template_list_tool`})}),_jsx(`td`,{children:`List all available templates`}),_jsx(`td`,{children:_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`marker (str, optional)`}),`: Pagination marker.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`limit (int, optional)`}),`: Max templates to list.`]}),`\n`]})}),_jsx(`td`,{children:`List of templates`})]}),_jsxs(`tr`,{children:[_jsx(`td`,{children:_jsx(_components.code,{children:`box_docgen_template_delete_tool`})}),_jsx(`td`,{children:`Remove template marking`}),_jsxs(`td`,{children:[_jsx(_components.code,{children:`template_id (str)`}),`: Template identifier`]}),_jsx(`td`,{children:`Deletion confirmation`})]}),_jsxs(`tr`,{children:[_jsx(`td`,{children:_jsx(_components.code,{children:`box_docgen_template_get_by_id_tool`})}),_jsx(`td`,{children:`Get template details`}),_jsxs(`td`,{children:[_jsx(_components.code,{children:`template_id (str)`}),`: Template identifier`]}),_jsx(`td`,{children:`Template details`})]}),_jsxs(`tr`,{children:[_jsx(`td`,{children:_jsx(_components.code,{children:`box_docgen_template_list_tags_tool`})}),_jsx(`td`,{children:`List template tags`}),_jsx(`td`,{children:_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`template_id (str)`}),`: Template ID.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`template_version_id (str, optional)`}),`: Version ID.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`marker (str, optional)`}),`: Pagination marker.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`limit (int, optional)`}),`: Max tags to return.`]}),`\n`]})}),_jsx(`td`,{children:`List of tags`})]}),_jsxs(`tr`,{children:[_jsx(`td`,{children:_jsx(_components.code,{children:`box_docgen_template_list_jobs_tool`})}),_jsx(`td`,{children:`List jobs using a template`}),_jsx(`td`,{children:_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`template_id (str)`}),`: Template identifier.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`marker (str, optional)`}),`: Pagination marker.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`limit (int, optional)`}),`: Max jobs to list.`]}),`\n`]})}),_jsx(`td`,{children:`Job details`})]})]})]}),`\n`,_jsx(Heading,{level:`3`,id:`box-metadata`,children:`Box Metadata`}),`\n`,_jsxs(`table`,{children:[_jsx(`thead`,{children:_jsxs(`tr`,{children:[_jsx(`th`,{children:`Tool`}),_jsx(`th`,{children:`Description`}),_jsx(`th`,{children:`Parameters`}),_jsx(`th`,{children:`Returns`})]})}),_jsxs(`tbody`,{children:[_jsxs(`tr`,{children:[_jsx(`td`,{children:_jsx(_components.code,{children:`box_metadata_template_get_by_key_tool`})}),_jsx(`td`,{children:`Retrieves a metadata template by its key.`}),_jsx(`td`,{children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`template_name (str)`}),`: The key of the metadata template to retrieve.`]})}),_jsx(`td`,{children:`The metadata template associated with the provided key.`})]}),_jsxs(`tr`,{children:[_jsx(`td`,{children:_jsx(_components.code,{children:`box_metadata_template_get_by_name_tool`})}),_jsx(`td`,{children:`Retrieve a metadata template by its name.`}),_jsxs(`td`,{children:[_jsx(_components.code,{children:`template_name (str)`}),`: The name of the metadata template to retrieve.`]}),_jsx(`td`,{children:`The metadata template associated with the provided name.`})]}),_jsxs(`tr`,{children:[_jsx(`td`,{children:_jsx(_components.code,{children:`box_metadata_template_create_tool`})}),_jsx(`td`,{children:`Create a metadata template.`}),_jsx(`td`,{children:_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`ctx (Context)`}),`: The context object`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`display_name (str)`}),`: The display name of the metadata template`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`fields (List[Dict[str, Any]])`}),`: A list of field definitions with type, key, displayName, description, hidden, and options (for enum/multiSelect)`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`template_key (Optional[str])`}),`: An optional key for the metadata template`]}),`\n`]})}),_jsx(`td`,{children:`The created metadata template.`})]}),_jsxs(`tr`,{children:[_jsx(`td`,{children:_jsx(_components.code,{children:`box_metadata_set_instance_on_file_tool`})}),_jsx(`td`,{children:`Set a metadata instance on a file.`}),_jsx(`td`,{children:_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`ctx (Context)`}),`: The context object`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`template_key (str)`}),`: The key of the metadata template`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`file_id (str)`}),`: The ID of the file to set metadata on`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`metadata (dict)`}),`: The metadata values to set`]}),`\n`]})}),_jsx(`td`,{children:`The metadata instance associated with the file.`})]}),_jsxs(`tr`,{children:[_jsx(`td`,{children:_jsx(_components.code,{children:`box_metadata_update_instance_on_file_tool`})}),_jsx(`td`,{children:`Update a metadata instance on a file.`}),_jsx(`td`,{children:_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`ctx (Context)`}),`: The context object`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`file_id (str)`}),`: The ID of the file to update metadata on`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`template_key (str)`}),`: The key of the metadata template`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`metadata (dict)`}),`: The metadata values to update`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`remove_non_included_data (bool)`}),`: If True, removes fields not included in metadata`]}),`\n`]})}),_jsx(`td`,{children:`The response from the Box API after updating the metadata.`})]}),_jsxs(`tr`,{children:[_jsx(`td`,{children:_jsx(_components.code,{children:`box_metadata_delete_instance_on_file_tool`})}),_jsx(`td`,{children:`Delete a metadata instance on a file.`}),_jsx(`td`,{children:_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`ctx (Context)`}),`: The context object`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`file_id (str)`}),`: The ID of the file to delete metadata from`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`template_key (str)`}),`: The key of the metadata template`]}),`\n`]})}),_jsx(`td`,{children:`The response from the Box API after deleting the metadata.`})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`troubleshooting`,children:`Troubleshooting`}),`\n`,_jsxs(_components.p,{children:[`In case of an `,_jsx(_components.code,{children:`Error: spawn uv ENOENT`}),` on MacOS when running the MCP server with Claude Desktop, you can:`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Remove `,_jsx(_components.code,{children:`uv`}),` and reinstall it with Homebrew: `,_jsx(_components.code,{children:`brew install uv`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`Provide the full path to the `,_jsx(_components.code,{children:`uv`}),` executable in your configuration:`]}),`\n`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`/Users/USER_NAME/.local/bin/uv`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --directory`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /Users/USER_NAME/local/mcp-server-box`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` run`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` src/mcp_server_box.py`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`In case of additional issues related to setup, post your question on our `,_jsx(_components.a,{href:`https://community.box.com/ai-developers-23`,children:`Developer Community forum`}),`.`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Self-hosted Box MCP server (legacy)","sidebarTitle":"Self-hosted Box MCP server (legacy)","description":"Deprecated open-source MCP server for local use. Prefer the remote Box MCP server for new integrations.","href":"/guides/box-mcp/self-hosted/index"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Installation","slug":"installation","depth":2,"children":[{"title":"Prerequisites","slug":"prerequisites","depth":3,"children":[]}]},{"title":"Running Box MCP server locally","slug":"running-box-mcp-server-locally","depth":2,"children":[{"title":"Use Cursor as the Box MCP client","slug":"use-cursor-as-the-box-mcp-client","depth":3,"children":[]},{"title":"Use Claude as the Box MCP client","slug":"use-claude-as-the-box-mcp-client","depth":3,"children":[]}]},{"title":"Available tools","slug":"available-tools","depth":2,"children":[{"title":"Authentication and Authorization","slug":"authentication-and-authorization","depth":3,"children":[]},{"title":"Search and Navigation","slug":"search-and-navigation","depth":3,"children":[]},{"title":"File Operations","slug":"file-operations","depth":3,"children":[]},{"title":"Folder Management","slug":"folder-management","depth":3,"children":[]},{"title":"Box AI","slug":"box-ai","depth":3,"children":[]},{"title":"Collaborations","slug":"collaborations","depth":3,"children":[]},{"title":"Groups","slug":"groups","depth":3,"children":[]},{"title":"Users","slug":"users","depth":3,"children":[]},{"title":"Box Shared Links","slug":"box-shared-links","depth":3,"children":[]},{"title":"Box Tools Web Link","slug":"box-tools-web-link","depth":3,"children":[]},{"title":"Box Doc Gen","slug":"box-doc-gen","depth":3,"children":[]},{"title":"Box Metadata","slug":"box-metadata","depth":3,"children":[]}]},{"title":"Troubleshooting","slug":"troubleshooting","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/box/523776d2eff70e58/scripts/cookie-banner.js","/_mintlify/custom/box/e597cec886c1778e/scripts/locale-links.js","/_mintlify/custom/box/37b2f846ed414abc/snippets/choose-choice-simple.js","/_mintlify/custom/box/78fc14bb599966cb/scripts/locale-footer-combined.js","/_mintlify/custom/box/9a429216167d598a/scripts/analitics.js","/_mintlify/custom/box/2f463a090bfcd0e8/snippets/boxIntl.js","/_mintlify/custom/box/d85293f12c33d7ee/snippets/translations.js","/_mintlify/custom/box/d67e74fc334b686a/scripts/preferred-source.js"],"subdomain":"box","siteName":"Box Dev Docs","title":"Self-hosted Box MCP server (legacy) - Box Dev Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"en":{"href":"/guides/box-mcp/self-hosted/index","matchLevel":2},"ja":{"href":"/ja/guides/box-mcp/self-hosted/index","matchLevel":1}}},"lastModified":"2026-09-04T16:53:24.675Z","gitLastModified":"2026-09-04T16:50:59.000Z","originalFileLocation":"guides/box-mcp/self-hosted/index.mdx","locale":"en"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Deprecated open-source MCP server for local use. Prefer the remote Box MCP server for new integrations.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Box Dev Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/box/ZCmC4_xrCUAVE-ZZ/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/box/ZCmC4_xrCUAVE-ZZ/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/box/ZCmC4_xrCUAVE-ZZ/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/box/ZCmC4_xrCUAVE-ZZ/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/box/ZCmC4_xrCUAVE-ZZ/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/box/ZCmC4_xrCUAVE-ZZ/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/box/ZCmC4_xrCUAVE-ZZ/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/box/ZCmC4_xrCUAVE-ZZ/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/box/ZCmC4_xrCUAVE-ZZ/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Self-hosted Box MCP server (legacy) - Box Dev Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Deprecated open-source MCP server for local use. Prefer the remote Box MCP server for new integrations.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Box Dev Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://developer.box.com/guides/box-mcp/self-hosted\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://box.mintlify.site/_mintlify/api/og/v2?division=Documentation\u0026amp;title=Self-hosted+Box+MCP+server+%28legacy%29\u0026amp;description=Deprecated+open-source+MCP+server+for+local+use.+Prefer+the+remote+Box+MCP+server+for+new+integrations.\u0026amp;theme=7c006b8b877970d319badcf9\u0026amp;signature=4191a54963968c1d99b525683f84fe1ed23b647c3137f37daf5facb24ffa2907\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Self-hosted Box MCP server (legacy) - Box Dev Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Deprecated open-source MCP server for local use. Prefer the remote Box MCP server for new integrations.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://box.mintlify.site/_mintlify/api/og/v2?division=Documentation\u0026amp;title=Self-hosted+Box+MCP+server+%28legacy%29\u0026amp;description=Deprecated+open-source+MCP+server+for+local+use.+Prefer+the+remote+Box+MCP+server+for+new+integrations.\u0026amp;theme=7c006b8b877970d319badcf9\u0026amp;signature=4191a54963968c1d99b525683f84fe1ed23b647c3137f37daf5facb24ffa2907\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/box/ZCmC4_xrCUAVE-ZZ/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Box Dev Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0061d5\">\u003cmeta data-mint-head name=\"google-site-verification\" content=\"fuelbNhVR1kQluNBJjYt4K1Hj5HvJLhLnIq0o9CAY9E\">\u003clink data-mint-head rel=\"canonical\" href=\"https://developer.box.com/guides/box-mcp/self-hosted\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/guides/box-mcp/self-hosted.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://developer.box.com/guides/box-mcp/self-hosted\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"ja\" href=\"https://developer.box.com/ja/guides/box-mcp/self-hosted\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://developer.box.com/guides/box-mcp/self-hosted\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://developer.box.com/#organization\",\"name\":\"Box Dev Docs\",\"url\":\"https://developer.box.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/box/lJLw9z7FWORNWMcq/logo/boxdev-light.png?fit=max\u0026auto=format\u0026n=lJLw9z7FWORNWMcq\u0026q=85\u0026s=a11710b698ff59d24426f9ecec6c7e9c\"}},{\"@type\":\"WebSite\",\"@id\":\"https://developer.box.com#website\",\"name\":\"Box Dev Docs\",\"url\":\"https://developer.box.com\",\"publisher\":{\"@id\":\"https://developer.box.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://developer.box.com/guides/box-mcp/self-hosted#webpage\",\"url\":\"https://developer.box.com/guides/box-mcp/self-hosted\",\"name\":\"Self-hosted Box MCP server (legacy)\",\"description\":\"Deprecated open-source MCP server for local use. Prefer the remote Box MCP server for new integrations.\",\"dateModified\":\"2026-09-04T16:50:59.000Z\",\"isPartOf\":{\"@id\":\"https://developer.box.com#website\"},\"breadcrumb\":{\"@id\":\"https://developer.box.com/guides/box-mcp/self-hosted#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://developer.box.com/guides/box-mcp/self-hosted#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"AI\",\"item\":\"https://developer.box.com/ai\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Box MCP server\",\"item\":\"https://developer.box.com/guides/box-mcp/index\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Appendix\",\"item\":\"https://developer.box.com/guides/box-mcp/self-hosted/index\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Self-hosted Box MCP server (legacy)\",\"item\":\"https://developer.box.com/guides/box-mcp/self-hosted\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://developer.box.com/guides/box-mcp/self-hosted#article\",\"headline\":\"Self-hosted Box MCP server (legacy)\",\"name\":\"Self-hosted Box MCP server (legacy)\",\"description\":\"Deprecated open-source MCP server for local use. Prefer the remote Box MCP server for new integrations.\",\"url\":\"https://developer.box.com/guides/box-mcp/self-hosted\",\"mainEntityOfPage\":{\"@id\":\"https://developer.box.com/guides/box-mcp/self-hosted#webpage\"},\"dateModified\":\"2026-09-04T16:50:59.000Z\",\"publisher\":{\"@id\":\"https://developer.box.com/#organization\"},\"isPartOf\":{\"@id\":\"https://developer.box.com#website\"}}]}\u003c/script>","siteName":"Box Dev Docs","nav":{"global":null,"languages":[{"language":"en","banner":{"content":"Join BoxWorks Dev Summit on Nov 5-6, San Francisco and dive into AI agents and unstructured content. [See agenda](https://boxworks.box.com/series/boxworks-2026-dev-summit/landing_page).","dismissible":true},"footer":{"socials":{"x":"https://x.com/box","github":"https://github.com/box-community","linkedin":"https://linkedin.com/company/box","youtube":"https://www.youtube.com/user/box","facebook":"https://www.facebook.com/box"},"links":[{"header":"Resources","items":[{"label":"Newsletter unsubscribe","href":"https://go.box.com/preferences.html"},{"label":"Terms of Use","href":"https://cloud.app.box.com/s/rmwxu64h1ipr41u49w3bbuvbsa29wku9"},{"label":"Privacy Policy","href":"https://www.box.com/en-gb/legal/privacypolicy?url_redirect=direct"},{"label":"Cookie Notification","href":"https://www.box.com/en-gb/legal/cookie-notification?url_redirect=direct"},{"label":"llms.txt","href":"https://developer.box.com/llms.txt"}]}]},"navbar":{"links":[{"href":"https://account.box.com/developers/console","label":"Log in","type":"button"}],"primary":{"type":"button","label":"Get started for free","href":"https://account.box.com/signup/developer"}},"tabs":[{"tab":"Home","pages":[{"title":"Home","href":""}]},{"tab":"AI","pages":[{"group":"AI","pages":[{"title":"Build with AI","href":"/ai"},{"group":"Supported AI models","root":{"title":"Supported AI models","sidebarTitle":"Overview","href":"/guides/box-ai/ai-models/index"},"pages":[{"title":"OpenAI GPT-6.1 Sol","href":"/guides/box-ai/ai-models/openai-gpt-6-1-sol-model-card"},{"title":"OpenAI GPT-6.1 Terra","href":"/guides/box-ai/ai-models/openai-gpt-6-1-terra-model-card"},{"title":"OpenAI GPT-6 Sol","href":"/guides/box-ai/ai-models/openai-gpt-6-sol-model-card"},{"title":"OpenAI GPT-6 Luna","href":"/guides/box-ai/ai-models/openai-gpt-6-luna-model-card"},{"title":"OpenAI GPT-6 Astra","href":"/guides/box-ai/ai-models/openai-gpt-6-astra-model-card"},{"title":"OpenAI GPT-5.6 Sol","href":"/guides/box-ai/ai-models/openai-gpt-5-6-sol-model-card"},{"title":"OpenAI GPT-5.6 Terra","href":"/guides/box-ai/ai-models/openai-gpt-5-6-terra-model-card"},{"title":"OpenAI GPT-5.6 Luna","href":"/guides/box-ai/ai-models/openai-gpt-5-6-luna-model-card"},{"title":"OpenAI GPT-5.5","href":"/guides/box-ai/ai-models/openai-gpt-5-5-model-card"},{"title":"OpenAI GPT-5.4","href":"/guides/box-ai/ai-models/openai-gpt-5-4-model-card"},{"title":"OpenAI GPT-5.4 mini","href":"/guides/box-ai/ai-models/openai-gpt-5-4-mini-model-card"},{"title":"OpenAI GPT-5.2","href":"/guides/box-ai/ai-models/openai-gpt-5-2-model-card"},{"title":"OpenAI GPT-5.1","href":"/guides/box-ai/ai-models/openai-gpt-5-1-model-card"},{"title":"OpenAI GPT-5","href":"/guides/box-ai/ai-models/openai-gpt-5-model-card"},{"title":"OpenAI GPT-5 mini","href":"/guides/box-ai/ai-models/openai-gpt-5-mini-model-card"},{"title":"OpenAI GPT o3","href":"/guides/box-ai/ai-models/openai-gpt-o3-model-card"},{"title":"Azure text-embedding-ada-002","href":"/guides/box-ai/ai-models/azure-text-embedding-ada-002-model-card"},{"title":"Google Gemini 4 Argon","href":"/guides/box-ai/ai-models/google-gemini-4-argon-model-card"},{"title":"Google Gemini 3.8 Flash","href":"/guides/box-ai/ai-models/google-gemini-3-8-flash-model-card"},{"title":"Google Gemini 3.7 Flash","href":"/guides/box-ai/ai-models/google-gemini-3-7-flash-model-card"},{"title":"Google Gemini 3.6 Flash","href":"/guides/box-ai/ai-models/google-gemini-3-6-flash-model-card"},{"title":"Google Gemini 3.5 Flash","href":"/guides/box-ai/ai-models/google-gemini-3-5-flash-model-card"},{"title":"Google Gemini 3.5 Flash Lite","href":"/guides/box-ai/ai-models/google-gemini-3-5-flash-lite-model-card"},{"title":"Google Gemini 3.1 Pro","href":"/guides/box-ai/ai-models/google-gemini-3-1-pro-model-card"},{"title":"Google Gemini 3.1 Flash Lite","href":"/guides/box-ai/ai-models/google-gemini-3-1-flash-lite-model-card"},{"title":"Google Gemini 3 Flash","href":"/guides/box-ai/ai-models/google-gemini-3-flash-model-card"},{"title":"Google Gemini 2.5 Pro","href":"/guides/box-ai/ai-models/google-gemini-2-5-pro-model-card"},{"title":"Google Gemini 2.5 Flash","href":"/guides/box-ai/ai-models/google-gemini-2-5-flash-model-card"},{"title":"AWS Claude Haiku 5.5","href":"/guides/box-ai/ai-models/aws-claude-haiku-5-5-model-card"},{"title":"AWS Claude Sonnet 5.5","href":"/guides/box-ai/ai-models/aws-claude-sonnet-5-5-model-card"},{"title":"AWS Claude Opus 5.5","href":"/guides/box-ai/ai-models/aws-claude-opus-5-5-model-card"},{"title":"AWS Claude Fable 5.1","href":"/guides/box-ai/ai-models/aws-claude-fable-5-1-model-card"},{"title":"AWS Claude Fable 5","href":"/guides/box-ai/ai-models/aws-claude-fable-5-model-card"},{"title":"AWS Claude Opus 5","href":"/guides/box-ai/ai-models/aws-claude-opus-5-model-card"},{"title":"AWS Claude Sonnet 5","href":"/guides/box-ai/ai-models/aws-claude-sonnet-5-model-card"},{"title":"AWS Claude Opus 4.8","href":"/guides/box-ai/ai-models/aws-claude-4-8-opus-model-card"},{"title":"AWS Claude Opus 4.7","href":"/guides/box-ai/ai-models/aws-claude-4-7-opus-model-card"},{"title":"AWS Claude Opus 4.6","href":"/guides/box-ai/ai-models/aws-claude-4-6-opus-model-card"},{"title":"AWS Claude Sonnet 4.6","href":"/guides/box-ai/ai-models/aws-claude-4-6-sonnet-model-card"},{"title":"AWS Claude Opus 4.5","href":"/guides/box-ai/ai-models/aws-claude-4-5-opus-model-card"},{"title":"AWS Claude Sonnet 4.5","href":"/guides/box-ai/ai-models/aws-claude-4-5-sonnet-model-card"},{"title":"AWS Claude Haiku 4.5","href":"/guides/box-ai/ai-models/aws-claude-4-5-haiku-model-card"},{"title":"IBM Llama 4 Maverick","href":"/guides/box-ai/ai-models/ibm-llama-4-maverick-model-card"},{"title":"Meta Muse Spark 1.3","href":"/guides/box-ai/ai-models/meta-muse-spark-1-3-model-card"},{"title":"Meta Muse Spark 1.2","href":"/guides/box-ai/ai-models/meta-muse-spark-1-2-model-card"},{"title":"IBM Mistral Medium 3","href":"/guides/box-ai/ai-models/ibm-mistral-medium-3-model-card"},{"title":"IBM Mistral Small 3.1","href":"/guides/box-ai/ai-models/ibm-mistral-small-3-1-model-card"},{"title":"NVIDIA Nemotron 3 Ultra","href":"/guides/box-ai/ai-models/azure-nemotron-3-ultra-model-card"},{"title":"xAI Grok 4.7","href":"/guides/box-ai/ai-models/xai-grok-4-7-model-card"},{"title":"xAI Grok 4.6","href":"/guides/box-ai/ai-models/xai-grok-4-6-model-card"}]},{"group":"AI integrations","root":{"title":"AI integrations","href":"/ai/integrations"},"pages":[{"title":"Build RAG over enterprise documents stored in Box","sidebarTitle":"RAG on Box content","href":"/ai/rag"},{"title":"Box and Pinecone","href":"/ai/vector-databases/pinecone"},{"title":"Box and Weaviate","href":"/ai/vector-databases/weaviate"}]},{"title":"Box Agent Skills","href":"/ai/agent-skills"},{"title":"Box AI API agent configurator","mode":"wide","href":"/agent-configurator"},{"group":"Box AI","root":{"title":"Box AI","sidebarTitle":"About Box AI","href":"/guides/box-ai/index"},"pages":[{"title":"Get started with Box AI","href":"/guides/box-ai/ai-tutorials/prerequisites"},{"title":"Ask questions to Box AI","href":"/guides/box-ai/ai-tutorials/ask-questions"},{"title":"Generate text with Box AI","href":"/guides/box-ai/ai-tutorials/generate-text"},{"title":"Extract APIs overview and use cases","href":"/guides/box-ai/ai-tutorials/extract-use-cases"},{"title":"Extract metadata from file (freeform)","href":"/guides/box-ai/ai-tutorials/extract-metadata"},{"title":"Extract metadata from file (structured)","href":"/guides/box-ai/ai-tutorials/extract-metadata-structured"},{"title":"Best practices for the Extract Structured API","href":"/guides/box-ai/ai-tutorials/extract-structured-best-practices"},{"group":"AI model overrides","root":{"title":"AI model overrides","sidebarTitle":"Overview","href":"/guides/box-ai/ai-agents/index"},"pages":[{"title":"Get default AI agent configuration","href":"/guides/box-ai/ai-agents/get-agent-default-config"},{"title":"AI agent configuration versioning","href":"/guides/box-ai/ai-agents/ai-agent-versioning"},{"title":"AI model configuration override reference","href":"/guides/box-ai/ai-agents/ai-agent-overrides"},{"title":"Override AI model configuration","href":"/guides/box-ai/ai-tutorials/default-agent-overrides"}]},{"group":"AI quick starts","root":{"title":"Extract structured data with Box AI in Python","sidebarTitle":"Extracting structured data","href":"/guides/box-ai/quick-start/box-ai-extract"},"pages":[{"title":"Natural language extraction with Box AI in Python","sidebarTitle":"Extracting freeform data","href":"/guides/box-ai/quick-start/box-ai-extract-freeform"},{"title":"Structured extraction with the Box AI Enhanced Extract Agent in Python","sidebarTitle":"Extracting complex data","href":"/guides/box-ai/quick-start/box-ai-extract-enhanced"},{"title":"Summarize files with Box AI in Python","sidebarTitle":"Summarizing data","href":"/guides/box-ai/quick-start/box-ai-summarize"}]},{"title":"Box AI API","href":"/ai/box-ai-api"},{"group":"Box AI Studio","root":{"title":"Box AI Studio","sidebarTitle":"Overview","href":"/guides/ai-studio/index"},"pages":[{"title":"Get started with AI Studio","href":"/guides/ai-studio/getting-started-ai-studio"},{"group":"AI Studio Agents","root":{"title":"AI Studio agents","sidebarTitle":"Overview","href":"/guides/ai-studio/ai-studio-agents/index"},"pages":[{"title":"Create agents","href":"/guides/ai-studio/ai-studio-agents/create-agents"},{"title":"List agents","href":"/guides/ai-studio/ai-studio-agents/get-agents"},{"title":"Get AI agent by ID","href":"/guides/ai-studio/ai-studio-agents/get-agent-id"},{"title":"Update AI agents","href":"/guides/ai-studio/ai-studio-agents/update-agents"},{"title":"Delete AI agents","href":"/guides/ai-studio/ai-studio-agents/delete-agents"}]}]}]},{"group":"Box MCP server","root":{"title":"Box MCP server","sidebarTitle":"Box MCP server","href":"/guides/box-mcp/index"},"pages":[{"title":"Give an AI agent secure, permission-aware access to enterprise documents","sidebarTitle":"Permission-aware agent access","href":"/guides/box-mcp/permission-aware-access"},{"group":"Configuration","root":{"title":"Set up the MCP server","sidebarTitle":"Set up the MCP server","href":"/guides/box-mcp/setup"},"pages":[{"group":"Platform setup guides","root":{"title":"Platform setup guides","sidebarTitle":"Platform setup guides","href":"/guides/box-mcp/integrations/index"},"pages":[{"title":"Anthropic's Messages API","sidebarTitle":"Anthropic Messages API","href":"/guides/box-mcp/integrations/anthropic-messages-api"},{"title":"Box MCP for Claude Code","sidebarTitle":"Claude Code","href":"/guides/box-mcp/integrations/claude-code"},{"title":"Codex","sidebarTitle":"Codex","href":"/guides/box-mcp/integrations/codex"},{"title":"Cursor","sidebarTitle":"Cursor","href":"/guides/box-mcp/integrations/cursor"},{"title":"Box MCP for GitHub Copilot","sidebarTitle":"GitHub Copilot","href":"/guides/box-mcp/integrations/github-copilot"},{"title":"Groq Responses API","sidebarTitle":"Groq Responses API","href":"/guides/box-mcp/integrations/groq-responses-api"},{"title":"LangSmith Agent Builder","sidebarTitle":"LangSmith Agent Builder","href":"/guides/box-mcp/integrations/langsmith-agent-builder"},{"title":"Microsoft Foundry Tools","sidebarTitle":"Microsoft Foundry Tools","href":"/guides/box-mcp/integrations/microsoft-foundry-tools"},{"title":"OpenAI AgentKit","sidebarTitle":"OpenAI AgentKit","href":"/guides/box-mcp/integrations/openai-agentkit"},{"title":"Windows ODR (On Device Registry)","sidebarTitle":"Windows ODR (On Device Registry)","href":"/guides/box-mcp/integrations/windows-on-device-registry"}]}]},{"title":"Available tools","sidebarTitle":"Available tools","description":"Reference list of Box MCP server tools by category, including which tools an admin must turn on before agents can use them.","href":"/guides/box-mcp/tools"},{"group":"Appendix","root":{"title":"Self-hosted Box MCP server (legacy)","sidebarTitle":"Self-hosted Box MCP server (legacy)","href":"/guides/box-mcp/self-hosted/index"},"pages":[]}]}]}]},{"tab":"API reference","pages":[{"title":"API reference","href":"/reference"}]},{"tab":"Tools","pages":[{"title":"Tools","href":"/sdks-and-tools"}]},{"tab":"Tutorials","pages":[{"title":"Tutorials","href":"/tutorials"}]},{"tab":"Changelog","pages":[{"title":"Changelog","href":"/changelog/2026"}]}],"global":{"anchors":[{"anchor":"Box","icon":"https://mintlify.s3.us-west-1.amazonaws.com/box/images/sidebar/box.svg","href":"https://www.box.com/home"},{"anchor":"Community","icon":"book-open-cover","href":"https://community.box.com/box-platform-5"},{"anchor":"Developer Blog","icon":"newspaper","href":"https://blog.box.com/developer"},{"anchor":"Box SDKs","icon":"code","href":"https://github.com/box/sdks"},{"anchor":"Box Docs","icon":"file-lines","href":"https://docs.box.com"}]}},{"language":"ja","banner":{"content":"Join BoxWorks Dev Summit on Nov 5-6, San Francisco and dive into AI agents and unstructured content. [See agenda](https://boxworks.box.com/series/boxworks-2026-dev-summit/landing_page).","dismissible":true},"footer":{"socials":{"x":"https://x.com/box","github":"https://github.com/box-community","linkedin":"https://linkedin.com/company/box","youtube":"https://www.youtube.com/user/box","facebook":"https://www.facebook.com/box"},"links":[{"header":"リソース","items":[{"label":"ニュースレターの登録解除","href":"https://go.box.com/preferences.html"},{"label":"利用規約","href":"https://cloud.app.box.com/s/rmwxu64h1ipr41u49w3bbuvbsa29wku9"},{"label":"個人情報保護方針","href":"https://www.box.com/en-gb/legal/privacypolicy?url_redirect=direct"},{"label":"Cookieに関する通知","href":"https://www.box.com/en-gb/legal/cookie-notification?url_redirect=direct"},{"label":"llms.txt","href":"https://developer.box.com/llms.txt"}]}]},"navbar":{"links":[{"href":"https://account.box.com/developers/console","label":"ログイン","type":"button"}],"primary":{"type":"button","label":"今すぐ無料で開始","href":"https://account.box.com/signup/developer"}},"pages":[{"title":"ja","href":"/ja/guides/box-mcp/self-hosted"}]}]},"basePath":"","title":"Self-hosted Box MCP server (legacy) - Box Dev Docs","buildId":"dpl_8LJbrAiZvr1K98WQNZXCyY5AvT34","deploymentId":"dpl_8LJbrAiZvr1K98WQNZXCyY5AvT34","dynamics":["10e4515597"],"chunks":["BannerMarkdown-BcDCEkh6.js","dist-CwjSCXIK.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","clsx-eKJ4rcii.js","html-void-elements-mCSPHezU.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js"]}