The token is created as the person who created the API key. A full access token follows that
person’s permissions as they change; a scoped one may only name resources they can reach.
This token is scoped because it declares scope fields: it reaches every table and the whole semantic
layer the key’s creator can see, and only the five read tools listed. To create a full access token,
send only a description. The token expires one year after creation.
The reveal link needs a person. It resolves only in the browser session of the user who
created the API key; calling it with x-api-key returns 401/403, and it works once. A
script can therefore mint the token unattended, but a human has to open the link to collect the
secret and paste it into the tool that will use it.This is deliberate: an MCP token lives up to a year, and returning it in an API response would
put it in whatever log, transcript or webhook payload the caller happens to keep.
403. Creating and rotating are reversible, deleting is not. Revoke from the MCP page.
See other people’s tokens
The listing shows only tokens created by the key’s own creator, stricter than that person’s own session, where an Owner or Admin sees every token in the workspace.
Bypass the creation role
If the workspace requires Admin to create MCP tokens, a key created by a member gets 403, exactly as that member would.
Read the scope pickers
GET /api/v1/mcp/tokens/available-scopes/ is not available to an API key. Take tool names from the tools reference and resource ids from /api/v1/tables/, /api/v1/secrets/, /api/v1/semantic-layer/documents/ and /api/v1/live-connections/.
When the token stops working. Optional and create-only — omit it for the default 1-year lifetime. Must be in the future and at most 1 year from now. Requires the mcp_token_custom_expiration feature flag.
Names of the native Nekt MCP tools this token may use. NULL = every tool available to the token's creator, future ones included; [] = none. Restricted tokens only — a full-access token always exposes its creator's whole surface.
Semantic Layer surface of this restricted token: {"folders": [...], "documents": [...]}. A folder covers its whole subtree, resolved at read time. Omit to inherit the creator's.
Catalog links for the TABLES axis: {"layers": [...], "folders": [...], "tables": [...]}. A layer or folder link means everything inside it, now and in the future — tables only.
Catalog links for the VOLUMES axis: {"layers": [...], "folders": [...], "volumes": [...]}. The same layer linked here brings volumes only, never tables.
When the token stops working. Optional and create-only — omit it for the default 1-year lifetime. Must be in the future and at most 1 year from now. Requires the mcp_token_custom_expiration feature flag.
Names of the native Nekt MCP tools this token may use. NULL = every tool available to the token's creator, future ones included; [] = none. Restricted tokens only — a full-access token always exposes its creator's whole surface.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Nekt","colors":{"primary":"#097860","light":"#FAF9F7","dark":"#222427"},"logo":{"light":"https://mintcdn.com/nekt/fAFtC-RZLnUKCv7c/assets/logo/light.svg?fit=max\u0026auto=format\u0026n=fAFtC-RZLnUKCv7c\u0026q=85\u0026s=cba8701f886607d770a7510c525d81b7","dark":"https://mintcdn.com/nekt/fAFtC-RZLnUKCv7c/assets/logo/dark.svg?fit=max\u0026auto=format\u0026n=fAFtC-RZLnUKCv7c\u0026q=85\u0026s=49a92921377751229bc12ae4b61b1c6a"},"favicon":"https://mintcdn.com/nekt/DJnjRR_rS7CNJfYV/favicon.png?fit=max\u0026auto=format\u0026n=DJnjRR_rS7CNJfYV\u0026q=85\u0026s=4df461957abd65599739f5ec1c8c84cf","api":{"openapi":{"source":"https://api.nekt.ai/api/schema/"},"mdx":{"auth":{"method":"key","name":"x-api-key"},"server":"https://api.nekt.ai/"}},"background":{"color":{"light":"#FAF9F7","dark":"#222427"}},"navbar":{"primary":{"type":"button","label":"Platform","href":"https://app.nekt.ai"}},"footer":{"socials":{"website":"https://nekt.com","linkedin":"https://www.linkedin.com/company/nektai","youtube":"https://www.youtube.com/@nektdata","github":"https://github.com/nektcom"}},"integrations":{"ga4":{"measurementId":"G-8YEZ2TKV3C"}},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"nekt","hasAudioNarration":false,"actualSubdomain":"nekt","customDomains":["docs.nekt.com"],"gitSource":{"type":"github","owner":"nektcom","repo":"nekt-docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6adff9c3799060f7e9364a32","collectionId":"f9fc1626-9d64-4d06-a3be-85ccdf0a6fb9","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6adff9c3799060f7e9364a32"},"feedback":{"thumbs":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6ae010da9fecc3e97fb135b6","clientVersion":"0.0.3971","searchFilterCounts":[{"language":"default","tag":"Documentation","count":499},{"language":"default","tag":"Connectors","count":436},{"language":"default","tag":"Context","count":394},{"language":"default","tag":"Sources","count":386},{"language":"default","tag":"Platform API","count":137},{"language":"default","tag":"Activate","count":76},{"language":"default","tag":"Destinations","count":59},{"language":"default","tag":"Permissions","count":34},{"language":"default","tag":"Catalog","count":24},{"language":"default","tag":"Build with AI","count":17}]},"assistantConfig":{},"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":"editor-v7-file-tree","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":"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":"pause-universal-search-reconcile","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":"per-site-search-delta","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":"editor-private-page-search","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":"editor-nav-generations","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":"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":"byok-sep-25","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":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-agent-model-picker","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","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":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"isAtlas":false,"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"#content-area a{text-underline-offset:2px;transition:opacity .15s ease}#content-area a:hover{opacity:.7}#content-area a.card{text-decoration:none}a[href*=\"utm_campaign=poweredBy\"]{display:none}"}],"page":{"pagePath":"platform-api/mcp-tokens/create","slug":"/platform-api/mcp-tokens/create","pageMetadata":{"title":"Create MCP Token","sidebarTitle":"Create token","description":"Mint a token for an assistant or automation with an API key.","openapi":"POST /api/v1/mcp/tokens/","href":"/platform-api/mcp-tokens/create"},"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: \"Mint a token for an assistant or automation with an API key.\"\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`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Table,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`The token is created `,_jsx(_components.strong,{children:`as the person who created the API key`}),`. A full access token follows that\nperson’s permissions as they change; a scoped one may only name resources they can reach.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`10`,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:`10`,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:` --request`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --url`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://api.nekt.ai/api/v1/mcp/tokens/\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"x-api-key: YOUR_API_KEY\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type: application/json\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --data`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"description\": \"n8n reporting agent\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"all_tables\": true,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"all_semantic_layer\": true,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"tool_scope\": [\"get_semantic_context\", \"list_tables\", \"get_relevant_tables_ddl\", \"generate_sql\", \"execute_sql\"]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }'`})}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`This token is scoped because it declares scope fields: it reaches every table and the whole semantic\nlayer the key’s creator can see, and only the five read tools listed. To create a full access token,\nsend only a `,_jsx(_components.code,{children:`description`}),`. The token expires one year after creation.`]}),`\n`,_jsx(Heading,{level:`2`,id:`getting-the-secret-the-reveal-link`,children:`Getting the secret: the reveal link`}),`\n`,_jsxs(_components.p,{children:[`The response carries `,_jsxs(_components.strong,{children:[`no `,_jsx(_components.code,{children:`bearer_token`})]}),`. It carries a `,_jsx(_components.code,{children:`reveal_url`}),` instead:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`6`,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:`6`,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:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"0f9c7e4a-...\"`}),_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:` \"description\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"n8n reporting agent\"`}),_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:` \"reveal_url\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"/api/v1/mcp/tokens/reveal/UGxhdGZvcm0.../\"`}),_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:` \"...\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"...\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsxs(Warning,{children:[_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`The reveal link needs a person.`}),` It resolves only in the browser session of the user who\ncreated the API key; calling it with `,_jsx(_components.code,{children:`x-api-key`}),` returns `,_jsx(_components.code,{children:`401`}),`/`,_jsx(_components.code,{children:`403`}),`, and it works once. A\nscript can therefore mint the token unattended, but a human has to open the link to collect the\nsecret and paste it into the tool that will use it.`]}),_jsx(_components.p,{children:`This is deliberate: an MCP token lives up to a year, and returning it in an API response would\nput it in whatever log, transcript or webhook payload the caller happens to keep.`})]}),`\n`,_jsx(Heading,{level:`2`,id:`what-an-api-key-cannot-do`,children:`What an API key cannot do`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{}),_jsx(_components.th,{})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Delete a token`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`403`}),`. Creating and rotating are reversible, deleting is not. Revoke from the `,_jsx(_components.a,{href:`https://app.nekt.ai/mcp`,children:`MCP page`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`See other people’s tokens`})}),_jsx(_components.td,{children:`The listing shows only tokens created by the key’s own creator, stricter than that person’s own session, where an Owner or Admin sees every token in the workspace.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Bypass the creation role`})}),_jsxs(_components.td,{children:[`If the workspace requires Admin to create MCP tokens, a key created by a member gets `,_jsx(_components.code,{children:`403`}),`, exactly as that member would.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Read the scope pickers`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`GET /api/v1/mcp/tokens/available-scopes/`}),` is not available to an API key. Take tool names from the `,_jsx(_components.a,{href:`/mcp-server/tools`,children:`tools reference`}),` and resource ids from `,_jsx(_components.code,{children:`/api/v1/tables/`}),`, `,_jsx(_components.code,{children:`/api/v1/secrets/`}),`, `,_jsx(_components.code,{children:`/api/v1/semantic-layer/documents/`}),` and `,_jsx(_components.code,{children:`/api/v1/live-connections/`}),`.`]})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`related`,children:`Related`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.a,{href:`/platform-api/mcp-tokens/mcp-token`,children:`MCP token object`}),`: every scope field, and what each one covers.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.a,{href:`/platform-api/mcp-tokens/rotate`,children:`Rotate an MCP token`}),`: new secret, same token.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.a,{href:`/mcp-server/permissions`,children:`Permissions`}),`: how full access and scoped tokens react to permission changes.`]}),`\n`]})]})}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":"Create MCP Token","sidebarTitle":"Create token","description":"Mint a token for an assistant or automation with an API key.","openapi":"POST /api/v1/mcp/tokens/","href":"/platform-api/mcp-tokens/create"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Getting the secret: the reveal link","slug":"getting-the-secret-the-reveal-link","depth":2,"children":[]},{"title":"What an API key cannot do","slug":"what-an-api-key-cannot-do","depth":2,"children":[]},{"title":"Related","slug":"related","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"operationId":"v1_mcp_tokens_create","description":"Mint a token for an assistant or automation with an API key.","summary":"Create an MCP token","tags":["v1"],"requestBody":"69849e69-166b-4c4f-976c-e2e037460310","security":["d2f42cef-39e8-4a0a-aa62-40b5aeb512ac"],"responses":{"201":"d088957b-dd87-4df8-bd31-49231b9323b5"},"method":"post","type":"path","servers":["b879420b-1df7-445c-9056-7f9b48a392a0"],"path":"/api/v1/mcp/tokens/","baseUrlOptions":["https://api.nekt.ai"],"title":"Create an MCP token","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"description":{"type":"string","maxLength":80,"isRequired":true,"uniqueKey":"description","typeLabel":"string"},"expires_at":{"type":"string","format":"date-time","description":"When the token stops working. Optional and create-only — omit it for the default 1-year lifetime. Must be in the future and at most 1 year from now. Requires the mcp_token_custom_expiration feature flag.","uniqueKey":"expires_at","typeLabel":"string\u003cdate-time>"},"use_created_by_permissions":{"type":"boolean","uniqueKey":"use_created_by_permissions","typeLabel":"boolean"},"tool_scope":{"oneOf":[{"description":"Names of the native Nekt MCP tools this token may use. NULL = every tool available to the token's creator, future ones included; [] = none. Restricted tokens only — a full-access token always exposes its creator's whole surface.","uniqueKey":"tool_scope.oneOf.0","typeLabel":"any"},{"description":"Names of the native Nekt MCP tools this token may use. NULL = every tool available to the token's creator, future ones included; [] = none. Restricted tokens only — a full-access token always exposes its creator's whole surface.","type":"null","uniqueKey":"tool_scope.oneOf.1","typeLabel":"null"}],"uniqueKey":"tool_scope","typeLabel":"any | null"},"live_connection_scopes":{"type":"array","items":{"type":"object","properties":{"live_connection":{"type":"string","format":"uuid","isRequired":true,"uniqueKey":"live_connection_scopes.items.[INDEX].live_connection","typeLabel":"string\u003cuuid>"},"tools":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"live_connection_scopes.items.[INDEX].tools.oneOf.0.items.[INDEX]","typeLabel":"string"},"uniqueKey":"live_connection_scopes.items.[INDEX].tools.oneOf.0","typeLabel":"string[]"},{"type":"null","items":{"type":"string"},"uniqueKey":"live_connection_scopes.items.[INDEX].tools.oneOf.1","typeLabel":"null"}],"uniqueKey":"live_connection_scopes.items.[INDEX].tools","typeLabel":"string[] | null"}},"required":["live_connection"],"uniqueKey":"live_connection_scopes.items.[INDEX]","typeLabel":"object"},"writeOnly":true,"uniqueKey":"live_connection_scopes","typeLabel":"object[]"},"secret_scopes":{"oneOf":[{"type":"array","items":{"type":"string","format":"uuid","uniqueKey":"secret_scopes.oneOf.0.items.[INDEX]","typeLabel":"string\u003cuuid>"},"writeOnly":true,"description":"Ids of the secrets this restricted token may reference. Omit to inherit the creator's; [] for none.","uniqueKey":"secret_scopes.oneOf.0","typeLabel":"string\u003cuuid>[]"},{"type":"null","items":{"type":"string","format":"uuid"},"writeOnly":true,"description":"Ids of the secrets this restricted token may reference. Omit to inherit the creator's; [] for none.","uniqueKey":"secret_scopes.oneOf.1","typeLabel":"null"}],"uniqueKey":"secret_scopes","typeLabel":"string\u003cuuid>[] | null"},"semantic_layer_scopes":{"oneOf":[{"type":"object","additionalProperties":{"type":"array","items":{"type":"string","format":"uuid","uniqueKey":"semantic_layer_scopes.oneOf.0.additionalProperties.items.[INDEX]","typeLabel":"string\u003cuuid>"},"uniqueKey":"semantic_layer_scopes.oneOf.0.additionalProperties","typeLabel":"string\u003cuuid>[]"},"writeOnly":true,"description":"Semantic Layer surface of this restricted token: {\"folders\": [...], \"documents\": [...]}. A folder covers its whole subtree, resolved at read time. Omit to inherit the creator's.","uniqueKey":"semantic_layer_scopes.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":{"type":"array","items":{"type":"string","format":"uuid","uniqueKey":"semantic_layer_scopes.oneOf.1.additionalProperties.items.[INDEX]","typeLabel":"string\u003cuuid>"},"uniqueKey":"semantic_layer_scopes.oneOf.1.additionalProperties","typeLabel":"string\u003cuuid>[]"},"writeOnly":true,"description":"Semantic Layer surface of this restricted token: {\"folders\": [...], \"documents\": [...]}. A folder covers its whole subtree, resolved at read time. Omit to inherit the creator's.","uniqueKey":"semantic_layer_scopes.oneOf.1","typeLabel":"null"}],"uniqueKey":"semantic_layer_scopes","typeLabel":"object | null"},"table_scopes":{"oneOf":[{"type":"object","additionalProperties":{"type":"array","items":{"type":"string","format":"uuid","uniqueKey":"table_scopes.oneOf.0.additionalProperties.items.[INDEX]","typeLabel":"string\u003cuuid>"},"uniqueKey":"table_scopes.oneOf.0.additionalProperties","typeLabel":"string\u003cuuid>[]"},"writeOnly":true,"description":"Catalog links for the TABLES axis: {\"layers\": [...], \"folders\": [...], \"tables\": [...]}. A layer or folder link means everything inside it, now and in the future — tables only.","uniqueKey":"table_scopes.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":{"type":"array","items":{"type":"string","format":"uuid","uniqueKey":"table_scopes.oneOf.1.additionalProperties.items.[INDEX]","typeLabel":"string\u003cuuid>"},"uniqueKey":"table_scopes.oneOf.1.additionalProperties","typeLabel":"string\u003cuuid>[]"},"writeOnly":true,"description":"Catalog links for the TABLES axis: {\"layers\": [...], \"folders\": [...], \"tables\": [...]}. A layer or folder link means everything inside it, now and in the future — tables only.","uniqueKey":"table_scopes.oneOf.1","typeLabel":"null"}],"uniqueKey":"table_scopes","typeLabel":"object | null"},"volume_scopes":{"oneOf":[{"type":"object","additionalProperties":{"type":"array","items":{"type":"string","format":"uuid","uniqueKey":"volume_scopes.oneOf.0.additionalProperties.items.[INDEX]","typeLabel":"string\u003cuuid>"},"uniqueKey":"volume_scopes.oneOf.0.additionalProperties","typeLabel":"string\u003cuuid>[]"},"writeOnly":true,"description":"Catalog links for the VOLUMES axis: {\"layers\": [...], \"folders\": [...], \"volumes\": [...]}. The same layer linked here brings volumes only, never tables.","uniqueKey":"volume_scopes.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":{"type":"array","items":{"type":"string","format":"uuid","uniqueKey":"volume_scopes.oneOf.1.additionalProperties.items.[INDEX]","typeLabel":"string\u003cuuid>"},"uniqueKey":"volume_scopes.oneOf.1.additionalProperties","typeLabel":"string\u003cuuid>[]"},"writeOnly":true,"description":"Catalog links for the VOLUMES axis: {\"layers\": [...], \"folders\": [...], \"volumes\": [...]}. The same layer linked here brings volumes only, never tables.","uniqueKey":"volume_scopes.oneOf.1","typeLabel":"null"}],"uniqueKey":"volume_scopes","typeLabel":"object | null"},"all_tables":{"type":"boolean","uniqueKey":"all_tables","typeLabel":"boolean"},"all_volumes":{"type":"boolean","uniqueKey":"all_volumes","typeLabel":"boolean"},"all_secrets":{"type":"boolean","uniqueKey":"all_secrets","typeLabel":"boolean"},"all_semantic_layer":{"type":"boolean","uniqueKey":"all_semantic_layer","typeLabel":"boolean"},"all_live_connections":{"type":"boolean","uniqueKey":"all_live_connections","typeLabel":"boolean"},"tables":{"type":"array","items":{"type":"string","uniqueKey":"tables.items.[INDEX]","typeLabel":"string"},"description":"Tables (Expandable)","uniqueKey":"tables","typeLabel":"string[]"}},"required":["bearer_token","created_at","created_by","description","id","last_used_at","mcp_config","updated_at"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"description":"\u003cstring>","expires_at":"2023-11-07T05:31:56Z","use_created_by_permissions":true,"tool_scope":"\u003cunknown>","live_connection_scopes":[{"live_connection":"3c90c3cc-0d44-4b50-8888-8dd25736052a","tools":["\u003cstring>"]}],"secret_scopes":["3c90c3cc-0d44-4b50-8888-8dd25736052a"],"semantic_layer_scopes":{},"table_scopes":{},"volume_scopes":{},"all_tables":true,"all_volumes":true,"all_secrets":true,"all_semantic_layer":true,"all_live_connections":true,"tables":["\u003cstring>"]}}},"exampleType":"generated"},"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"description":{"type":"string","maxLength":80,"isRequired":true,"uniqueKey":"description","typeLabel":"string"},"expires_at":{"type":"string","format":"date-time","description":"When the token stops working. Optional and create-only — omit it for the default 1-year lifetime. Must be in the future and at most 1 year from now. Requires the mcp_token_custom_expiration feature flag.","uniqueKey":"expires_at","typeLabel":"string\u003cdate-time>"},"use_created_by_permissions":{"type":"boolean","uniqueKey":"use_created_by_permissions","typeLabel":"boolean"},"tool_scope":{"oneOf":[{"description":"Names of the native Nekt MCP tools this token may use. NULL = every tool available to the token's creator, future ones included; [] = none. Restricted tokens only — a full-access token always exposes its creator's whole surface.","uniqueKey":"tool_scope.oneOf.0","typeLabel":"any"},{"description":"Names of the native Nekt MCP tools this token may use. NULL = every tool available to the token's creator, future ones included; [] = none. Restricted tokens only — a full-access token always exposes its creator's whole surface.","type":"null","uniqueKey":"tool_scope.oneOf.1","typeLabel":"null"}],"uniqueKey":"tool_scope","typeLabel":"any | null"},"live_connection_scopes":{"type":"array","items":{"type":"object","properties":{"live_connection":{"type":"string","format":"uuid","isRequired":true,"uniqueKey":"live_connection_scopes.items.[INDEX].live_connection","typeLabel":"string\u003cuuid>"},"tools":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"live_connection_scopes.items.[INDEX].tools.oneOf.0.items.[INDEX]","typeLabel":"string"},"uniqueKey":"live_connection_scopes.items.[INDEX].tools.oneOf.0","typeLabel":"string[]"},{"type":"null","items":{"type":"string"},"uniqueKey":"live_connection_scopes.items.[INDEX].tools.oneOf.1","typeLabel":"null"}],"uniqueKey":"live_connection_scopes.items.[INDEX].tools","typeLabel":"string[] | null"}},"required":["live_connection"],"uniqueKey":"live_connection_scopes.items.[INDEX]","typeLabel":"object"},"writeOnly":true,"uniqueKey":"live_connection_scopes","typeLabel":"object[]"},"secret_scopes":{"oneOf":[{"type":"array","items":{"type":"string","format":"uuid","uniqueKey":"secret_scopes.oneOf.0.items.[INDEX]","typeLabel":"string\u003cuuid>"},"writeOnly":true,"description":"Ids of the secrets this restricted token may reference. Omit to inherit the creator's; [] for none.","uniqueKey":"secret_scopes.oneOf.0","typeLabel":"string\u003cuuid>[]"},{"type":"null","items":{"type":"string","format":"uuid"},"writeOnly":true,"description":"Ids of the secrets this restricted token may reference. Omit to inherit the creator's; [] for none.","uniqueKey":"secret_scopes.oneOf.1","typeLabel":"null"}],"uniqueKey":"secret_scopes","typeLabel":"string\u003cuuid>[] | null"},"semantic_layer_scopes":{"oneOf":[{"type":"object","additionalProperties":{"type":"array","items":{"type":"string","format":"uuid","uniqueKey":"semantic_layer_scopes.oneOf.0.additionalProperties.items.[INDEX]","typeLabel":"string\u003cuuid>"},"uniqueKey":"semantic_layer_scopes.oneOf.0.additionalProperties","typeLabel":"string\u003cuuid>[]"},"writeOnly":true,"description":"Semantic Layer surface of this restricted token: {\"folders\": [...], \"documents\": [...]}. A folder covers its whole subtree, resolved at read time. Omit to inherit the creator's.","uniqueKey":"semantic_layer_scopes.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":{"type":"array","items":{"type":"string","format":"uuid","uniqueKey":"semantic_layer_scopes.oneOf.1.additionalProperties.items.[INDEX]","typeLabel":"string\u003cuuid>"},"uniqueKey":"semantic_layer_scopes.oneOf.1.additionalProperties","typeLabel":"string\u003cuuid>[]"},"writeOnly":true,"description":"Semantic Layer surface of this restricted token: {\"folders\": [...], \"documents\": [...]}. A folder covers its whole subtree, resolved at read time. Omit to inherit the creator's.","uniqueKey":"semantic_layer_scopes.oneOf.1","typeLabel":"null"}],"uniqueKey":"semantic_layer_scopes","typeLabel":"object | null"},"table_scopes":{"oneOf":[{"type":"object","additionalProperties":{"type":"array","items":{"type":"string","format":"uuid","uniqueKey":"table_scopes.oneOf.0.additionalProperties.items.[INDEX]","typeLabel":"string\u003cuuid>"},"uniqueKey":"table_scopes.oneOf.0.additionalProperties","typeLabel":"string\u003cuuid>[]"},"writeOnly":true,"description":"Catalog links for the TABLES axis: {\"layers\": [...], \"folders\": [...], \"tables\": [...]}. A layer or folder link means everything inside it, now and in the future — tables only.","uniqueKey":"table_scopes.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":{"type":"array","items":{"type":"string","format":"uuid","uniqueKey":"table_scopes.oneOf.1.additionalProperties.items.[INDEX]","typeLabel":"string\u003cuuid>"},"uniqueKey":"table_scopes.oneOf.1.additionalProperties","typeLabel":"string\u003cuuid>[]"},"writeOnly":true,"description":"Catalog links for the TABLES axis: {\"layers\": [...], \"folders\": [...], \"tables\": [...]}. A layer or folder link means everything inside it, now and in the future — tables only.","uniqueKey":"table_scopes.oneOf.1","typeLabel":"null"}],"uniqueKey":"table_scopes","typeLabel":"object | null"},"volume_scopes":{"oneOf":[{"type":"object","additionalProperties":{"type":"array","items":{"type":"string","format":"uuid","uniqueKey":"volume_scopes.oneOf.0.additionalProperties.items.[INDEX]","typeLabel":"string\u003cuuid>"},"uniqueKey":"volume_scopes.oneOf.0.additionalProperties","typeLabel":"string\u003cuuid>[]"},"writeOnly":true,"description":"Catalog links for the VOLUMES axis: {\"layers\": [...], \"folders\": [...], \"volumes\": [...]}. The same layer linked here brings volumes only, never tables.","uniqueKey":"volume_scopes.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":{"type":"array","items":{"type":"string","format":"uuid","uniqueKey":"volume_scopes.oneOf.1.additionalProperties.items.[INDEX]","typeLabel":"string\u003cuuid>"},"uniqueKey":"volume_scopes.oneOf.1.additionalProperties","typeLabel":"string\u003cuuid>[]"},"writeOnly":true,"description":"Catalog links for the VOLUMES axis: {\"layers\": [...], \"folders\": [...], \"volumes\": [...]}. The same layer linked here brings volumes only, never tables.","uniqueKey":"volume_scopes.oneOf.1","typeLabel":"null"}],"uniqueKey":"volume_scopes","typeLabel":"object | null"},"all_tables":{"type":"boolean","uniqueKey":"all_tables","typeLabel":"boolean"},"all_volumes":{"type":"boolean","uniqueKey":"all_volumes","typeLabel":"boolean"},"all_secrets":{"type":"boolean","uniqueKey":"all_secrets","typeLabel":"boolean"},"all_semantic_layer":{"type":"boolean","uniqueKey":"all_semantic_layer","typeLabel":"boolean"},"all_live_connections":{"type":"boolean","uniqueKey":"all_live_connections","typeLabel":"boolean"},"tables":{"type":"array","items":{"type":"string","uniqueKey":"tables.items.[INDEX]","typeLabel":"string"},"description":"Tables (Expandable)","uniqueKey":"tables","typeLabel":"string[]"}},"required":["bearer_token","created_at","created_by","description","id","last_used_at","mcp_config","updated_at"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"description":"\u003cstring>","expires_at":"2023-11-07T05:31:56Z","use_created_by_permissions":true,"tool_scope":"\u003cunknown>","live_connection_scopes":[{"live_connection":"3c90c3cc-0d44-4b50-8888-8dd25736052a","tools":["\u003cstring>"]}],"secret_scopes":["3c90c3cc-0d44-4b50-8888-8dd25736052a"],"semantic_layer_scopes":{},"table_scopes":{},"volume_scopes":{},"all_tables":true,"all_volumes":true,"all_secrets":true,"all_semantic_layer":true,"all_live_connections":true,"tables":["\u003cstring>"]}}},"exampleType":"generated"},"multipart/form-data":{"schema":{"type":"object","properties":{"description":{"type":"string","maxLength":80,"isRequired":true,"uniqueKey":"description","typeLabel":"string"},"expires_at":{"type":"string","format":"date-time","description":"When the token stops working. Optional and create-only — omit it for the default 1-year lifetime. Must be in the future and at most 1 year from now. Requires the mcp_token_custom_expiration feature flag.","uniqueKey":"expires_at","typeLabel":"string\u003cdate-time>"},"use_created_by_permissions":{"type":"boolean","uniqueKey":"use_created_by_permissions","typeLabel":"boolean"},"tool_scope":{"oneOf":[{"description":"Names of the native Nekt MCP tools this token may use. NULL = every tool available to the token's creator, future ones included; [] = none. Restricted tokens only — a full-access token always exposes its creator's whole surface.","uniqueKey":"tool_scope.oneOf.0","typeLabel":"any"},{"description":"Names of the native Nekt MCP tools this token may use. NULL = every tool available to the token's creator, future ones included; [] = none. Restricted tokens only — a full-access token always exposes its creator's whole surface.","type":"null","uniqueKey":"tool_scope.oneOf.1","typeLabel":"null"}],"uniqueKey":"tool_scope","typeLabel":"any | null"},"live_connection_scopes":{"type":"array","items":{"type":"object","properties":{"live_connection":{"type":"string","format":"uuid","isRequired":true,"uniqueKey":"live_connection_scopes.items.[INDEX].live_connection","typeLabel":"string\u003cuuid>"},"tools":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"live_connection_scopes.items.[INDEX].tools.oneOf.0.items.[INDEX]","typeLabel":"string"},"uniqueKey":"live_connection_scopes.items.[INDEX].tools.oneOf.0","typeLabel":"string[]"},{"type":"null","items":{"type":"string"},"uniqueKey":"live_connection_scopes.items.[INDEX].tools.oneOf.1","typeLabel":"null"}],"uniqueKey":"live_connection_scopes.items.[INDEX].tools","typeLabel":"string[] | null"}},"required":["live_connection"],"uniqueKey":"live_connection_scopes.items.[INDEX]","typeLabel":"object"},"writeOnly":true,"uniqueKey":"live_connection_scopes","typeLabel":"object[]"},"secret_scopes":{"oneOf":[{"type":"array","items":{"type":"string","format":"uuid","uniqueKey":"secret_scopes.oneOf.0.items.[INDEX]","typeLabel":"string\u003cuuid>"},"writeOnly":true,"description":"Ids of the secrets this restricted token may reference. Omit to inherit the creator's; [] for none.","uniqueKey":"secret_scopes.oneOf.0","typeLabel":"string\u003cuuid>[]"},{"type":"null","items":{"type":"string","format":"uuid"},"writeOnly":true,"description":"Ids of the secrets this restricted token may reference. Omit to inherit the creator's; [] for none.","uniqueKey":"secret_scopes.oneOf.1","typeLabel":"null"}],"uniqueKey":"secret_scopes","typeLabel":"string\u003cuuid>[] | null"},"semantic_layer_scopes":{"oneOf":[{"type":"object","additionalProperties":{"type":"array","items":{"type":"string","format":"uuid","uniqueKey":"semantic_layer_scopes.oneOf.0.additionalProperties.items.[INDEX]","typeLabel":"string\u003cuuid>"},"uniqueKey":"semantic_layer_scopes.oneOf.0.additionalProperties","typeLabel":"string\u003cuuid>[]"},"writeOnly":true,"description":"Semantic Layer surface of this restricted token: {\"folders\": [...], \"documents\": [...]}. A folder covers its whole subtree, resolved at read time. Omit to inherit the creator's.","uniqueKey":"semantic_layer_scopes.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":{"type":"array","items":{"type":"string","format":"uuid","uniqueKey":"semantic_layer_scopes.oneOf.1.additionalProperties.items.[INDEX]","typeLabel":"string\u003cuuid>"},"uniqueKey":"semantic_layer_scopes.oneOf.1.additionalProperties","typeLabel":"string\u003cuuid>[]"},"writeOnly":true,"description":"Semantic Layer surface of this restricted token: {\"folders\": [...], \"documents\": [...]}. A folder covers its whole subtree, resolved at read time. Omit to inherit the creator's.","uniqueKey":"semantic_layer_scopes.oneOf.1","typeLabel":"null"}],"uniqueKey":"semantic_layer_scopes","typeLabel":"object | null"},"table_scopes":{"oneOf":[{"type":"object","additionalProperties":{"type":"array","items":{"type":"string","format":"uuid","uniqueKey":"table_scopes.oneOf.0.additionalProperties.items.[INDEX]","typeLabel":"string\u003cuuid>"},"uniqueKey":"table_scopes.oneOf.0.additionalProperties","typeLabel":"string\u003cuuid>[]"},"writeOnly":true,"description":"Catalog links for the TABLES axis: {\"layers\": [...], \"folders\": [...], \"tables\": [...]}. A layer or folder link means everything inside it, now and in the future — tables only.","uniqueKey":"table_scopes.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":{"type":"array","items":{"type":"string","format":"uuid","uniqueKey":"table_scopes.oneOf.1.additionalProperties.items.[INDEX]","typeLabel":"string\u003cuuid>"},"uniqueKey":"table_scopes.oneOf.1.additionalProperties","typeLabel":"string\u003cuuid>[]"},"writeOnly":true,"description":"Catalog links for the TABLES axis: {\"layers\": [...], \"folders\": [...], \"tables\": [...]}. A layer or folder link means everything inside it, now and in the future — tables only.","uniqueKey":"table_scopes.oneOf.1","typeLabel":"null"}],"uniqueKey":"table_scopes","typeLabel":"object | null"},"volume_scopes":{"oneOf":[{"type":"object","additionalProperties":{"type":"array","items":{"type":"string","format":"uuid","uniqueKey":"volume_scopes.oneOf.0.additionalProperties.items.[INDEX]","typeLabel":"string\u003cuuid>"},"uniqueKey":"volume_scopes.oneOf.0.additionalProperties","typeLabel":"string\u003cuuid>[]"},"writeOnly":true,"description":"Catalog links for the VOLUMES axis: {\"layers\": [...], \"folders\": [...], \"volumes\": [...]}. The same layer linked here brings volumes only, never tables.","uniqueKey":"volume_scopes.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":{"type":"array","items":{"type":"string","format":"uuid","uniqueKey":"volume_scopes.oneOf.1.additionalProperties.items.[INDEX]","typeLabel":"string\u003cuuid>"},"uniqueKey":"volume_scopes.oneOf.1.additionalProperties","typeLabel":"string\u003cuuid>[]"},"writeOnly":true,"description":"Catalog links for the VOLUMES axis: {\"layers\": [...], \"folders\": [...], \"volumes\": [...]}. The same layer linked here brings volumes only, never tables.","uniqueKey":"volume_scopes.oneOf.1","typeLabel":"null"}],"uniqueKey":"volume_scopes","typeLabel":"object | null"},"all_tables":{"type":"boolean","uniqueKey":"all_tables","typeLabel":"boolean"},"all_volumes":{"type":"boolean","uniqueKey":"all_volumes","typeLabel":"boolean"},"all_secrets":{"type":"boolean","uniqueKey":"all_secrets","typeLabel":"boolean"},"all_semantic_layer":{"type":"boolean","uniqueKey":"all_semantic_layer","typeLabel":"boolean"},"all_live_connections":{"type":"boolean","uniqueKey":"all_live_connections","typeLabel":"boolean"},"tables":{"type":"array","items":{"type":"string","uniqueKey":"tables.items.[INDEX]","typeLabel":"string"},"description":"Tables (Expandable)","uniqueKey":"tables","typeLabel":"string[]"}},"required":["bearer_token","created_at","created_by","description","id","last_used_at","mcp_config","updated_at"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"description":"\u003cstring>","expires_at":"2023-11-07T05:31:56Z","use_created_by_permissions":true,"tool_scope":"\u003cunknown>","live_connection_scopes":[{"live_connection":"3c90c3cc-0d44-4b50-8888-8dd25736052a","tools":["\u003cstring>"]}],"secret_scopes":["3c90c3cc-0d44-4b50-8888-8dd25736052a"],"semantic_layer_scopes":{},"table_scopes":{},"volume_scopes":{},"all_tables":true,"all_volumes":true,"all_secrets":true,"all_semantic_layer":true,"all_live_connections":true,"tables":["\u003cstring>"]}}},"exampleType":"generated"}},"required":true,"exampleType":"generated"},"responses":{"d088957b-dd87-4df8-bd31-49231b9323b5":{"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true,"isRequired":true,"uniqueKey":"id","typeLabel":"string\u003cuuid>"},"description":{"type":"string","maxLength":80,"isRequired":true,"uniqueKey":"description","typeLabel":"string"},"bearer_token":{"type":"string","readOnly":true,"isRequired":true,"uniqueKey":"bearer_token","typeLabel":"string"},"last_used_at":{"oneOf":[{"type":"string","format":"date-time","readOnly":true,"description":"When the token was last used to call the API, or null if it never was.","isRequired":true,"uniqueKey":"last_used_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","readOnly":true,"description":"When the token was last used to call the API, or null if it never was.","isRequired":true,"uniqueKey":"last_used_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"last_used_at","typeLabel":"string\u003cdate-time> | null"},"created_at":{"type":"string","format":"date-time","readOnly":true,"isRequired":true,"uniqueKey":"created_at","typeLabel":"string\u003cdate-time>"},"updated_at":{"type":"string","format":"date-time","readOnly":true,"isRequired":true,"uniqueKey":"updated_at","typeLabel":"string\u003cdate-time>"},"mcp_config":{"type":"string","readOnly":true,"description":"MCP Configuration (Field only visible on expanded view. Expandable)","isRequired":true,"uniqueKey":"mcp_config","typeLabel":"string"},"created_by":{"type":"integer","readOnly":true,"description":"Created by (Expandable)","isRequired":true,"uniqueKey":"created_by","typeLabel":"integer"},"expires_at":{"type":"string","format":"date-time","description":"When the token stops working. Optional and create-only — omit it for the default 1-year lifetime. Must be in the future and at most 1 year from now. Requires the mcp_token_custom_expiration feature flag.","uniqueKey":"expires_at","typeLabel":"string\u003cdate-time>"},"use_created_by_permissions":{"type":"boolean","uniqueKey":"use_created_by_permissions","typeLabel":"boolean"},"tool_scope":{"oneOf":[{"description":"Names of the native Nekt MCP tools this token may use. NULL = every tool available to the token's creator, future ones included; [] = none. Restricted tokens only — a full-access token always exposes its creator's whole surface.","uniqueKey":"tool_scope.oneOf.0","typeLabel":"any"},{"description":"Names of the native Nekt MCP tools this token may use. NULL = every tool available to the token's creator, future ones included; [] = none. Restricted tokens only — a full-access token always exposes its creator's whole surface.","type":"null","uniqueKey":"tool_scope.oneOf.1","typeLabel":"null"}],"uniqueKey":"tool_scope","typeLabel":"any | null"},"all_tables":{"type":"boolean","uniqueKey":"all_tables","typeLabel":"boolean"},"all_volumes":{"type":"boolean","uniqueKey":"all_volumes","typeLabel":"boolean"},"all_secrets":{"type":"boolean","uniqueKey":"all_secrets","typeLabel":"boolean"},"all_semantic_layer":{"type":"boolean","uniqueKey":"all_semantic_layer","typeLabel":"boolean"},"all_live_connections":{"type":"boolean","uniqueKey":"all_live_connections","typeLabel":"boolean"},"tables":{"type":"array","items":{"type":"string","uniqueKey":"tables.items.[INDEX]","typeLabel":"string"},"description":"Tables (Expandable)","uniqueKey":"tables","typeLabel":"string[]"}},"required":["bearer_token","created_at","created_by","description","id","last_used_at","mcp_config","updated_at"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","description":"\u003cstring>","bearer_token":"\u003cstring>","last_used_at":"2023-11-07T05:31:56Z","created_at":"2023-11-07T05:31:56Z","updated_at":"2023-11-07T05:31:56Z","mcp_config":"\u003cstring>","created_by":123,"expires_at":"2023-11-07T05:31:56Z","use_created_by_permissions":true,"tool_scope":"\u003cunknown>","all_tables":true,"all_volumes":true,"all_secrets":true,"all_semantic_layer":true,"all_live_connections":true,"tables":["\u003cstring>"]}}},"exampleType":"generated"}},"description":"","exampleType":"generated"}},"security":{"d2f42cef-39e8-4a0a-aa62-40b5aeb512ac":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"x-api-key","description":"API Key authentication. Format: 'x-api-key: api_key'","scopes":[],"schemeName":"ApiKeyAuth"}}},"servers":{"b879420b-1df7-445c-9056-7f9b48a392a0":{"url":"https://api.nekt.ai"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"x-api-key","description":"API Key authentication. Format: 'x-api-key: api_key'","scopes":[],"schemeName":"ApiKeyAuth"},"schema":{"title":"x-api-key","type":"string","description":"API Key authentication. Format: 'x-api-key: api_key'","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"ApiKeyAuth","name":"x-api-key"}],"title":"ApiKeyAuth"}]},"originalFileLocation":"https://api.nekt.ai/api/schema/"},"subdomain":"nekt","siteName":"Nekt","title":"Create MCP Token - Nekt","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-09T11:32:15.269Z","originalFileLocation":"platform-api/mcp-tokens/create.mdx"},"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=\"Mint a token for an assistant or automation with an API key.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Nekt\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/nekt/vtuzSdYqWUIGYPQe/_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/nekt/vtuzSdYqWUIGYPQe/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/nekt/vtuzSdYqWUIGYPQe/_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/nekt/vtuzSdYqWUIGYPQe/_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/nekt/vtuzSdYqWUIGYPQe/_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/nekt/vtuzSdYqWUIGYPQe/_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/nekt/vtuzSdYqWUIGYPQe/_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/nekt/vtuzSdYqWUIGYPQe/_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/nekt/vtuzSdYqWUIGYPQe/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Create MCP Token - Nekt\">\u003cmeta data-mint-head property=\"og:description\" content=\"Mint a token for an assistant or automation with an API key.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Nekt\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.nekt.com/platform-api/mcp-tokens/create\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://nekt.mintlify.app/_mintlify/api/og/v2?division=MCP+Tokens\u0026amp;title=Create+MCP+Token\u0026amp;description=Mint+a+token+for+an+assistant+or+automation+with+an+API+key.\u0026amp;theme=416ae616f46b2404cfa6736a\u0026amp;signature=f59bc5c185bf3829c1a7a6e42c22bbb7f0a08c9cced473fcd5ac361cc2df3a8e\">\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=\"Create MCP Token - Nekt\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Mint a token for an assistant or automation with an API key.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://nekt.mintlify.app/_mintlify/api/og/v2?division=MCP+Tokens\u0026amp;title=Create+MCP+Token\u0026amp;description=Mint+a+token+for+an+assistant+or+automation+with+an+API+key.\u0026amp;theme=416ae616f46b2404cfa6736a\u0026amp;signature=f59bc5c185bf3829c1a7a6e42c22bbb7f0a08c9cced473fcd5ac361cc2df3a8e\">\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/nekt/vtuzSdYqWUIGYPQe/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Nekt\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#097860\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.nekt.com/platform-api/mcp-tokens/create\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/platform-api/mcp-tokens/create.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.nekt.com/#organization\",\"name\":\"Nekt\",\"url\":\"https://docs.nekt.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/nekt/fAFtC-RZLnUKCv7c/assets/logo/light.svg?fit=max\u0026auto=format\u0026n=fAFtC-RZLnUKCv7c\u0026q=85\u0026s=cba8701f886607d770a7510c525d81b7\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.nekt.com#website\",\"name\":\"Nekt\",\"url\":\"https://docs.nekt.com\",\"publisher\":{\"@id\":\"https://docs.nekt.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.nekt.com/platform-api/mcp-tokens/create#webpage\",\"url\":\"https://docs.nekt.com/platform-api/mcp-tokens/create\",\"name\":\"Create MCP Token\",\"description\":\"Mint a token for an assistant or automation with an API key.\",\"dateModified\":\"2026-10-09T11:32:15.269Z\",\"isPartOf\":{\"@id\":\"https://docs.nekt.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.nekt.com/platform-api/mcp-tokens/create#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.nekt.com/platform-api/mcp-tokens/create#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"MCP Tokens\",\"item\":\"https://docs.nekt.com/platform-api/mcp-tokens/mcp-token\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Create MCP Token\",\"item\":\"https://docs.nekt.com/platform-api/mcp-tokens/create\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.nekt.com/platform-api/mcp-tokens/create#apireference\",\"headline\":\"Create MCP Token\",\"name\":\"Create MCP Token\",\"description\":\"Mint a token for an assistant or automation with an API key.\",\"url\":\"https://docs.nekt.com/platform-api/mcp-tokens/create\",\"mainEntityOfPage\":{\"@id\":\"https://docs.nekt.com/platform-api/mcp-tokens/create#webpage\"},\"dateModified\":\"2026-10-09T11:32:15.269Z\",\"publisher\":{\"@id\":\"https://docs.nekt.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.nekt.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Nekt\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Nekt","nav":{"global":null,"anchors":[{"anchor":"Documentation","icon":"book-open","pages":[{"title":"Documentation","href":"/what-is-nekt"}]},{"anchor":"Platform API","icon":"square-terminal","groups":[{"group":"Platform API","pages":[{"title":"Introduction","sidebarTitle":"Introduction","href":"/platform-api/introduction"},{"title":"Expanding Responses","sidebarTitle":"Expanding Responses","href":"/platform-api/expanding-responses"}]},{"group":"Activities","pages":[{"title":"Activity object","href":"/platform-api/activities/activity"},{"title":"List Activities","openapi":"GET /api/v1/activities/","href":"/platform-api/activities/list"}]},{"group":"Connectors","pages":[{"title":"Connector object","href":"/platform-api/connectors/connector"},{"title":"Connector version object","href":"/platform-api/connectors/version"},{"title":"List Source Connectors","openapi":"GET /api/v1/sources/connectors/","href":"/platform-api/connectors/source"},{"title":"List Destination Connectors","openapi":"GET /api/v1/destinations/connectors/","href":"/platform-api/connectors/destination"},{"title":"List MCP Connectors","openapi":"GET /api/v1/live-connectors/","href":"/platform-api/connectors/mcp"}]},{"group":"Sources","pages":[{"title":"Source object","href":"/platform-api/sources/source"},{"title":"List Sources","openapi":"GET /api/v1/sources/","href":"/platform-api/sources/list"},{"title":"Get Source","openapi":"GET /api/v1/sources/{slug}/","href":"/platform-api/sources/details"},{"title":"Create Source","sidebarTitle":"Create Source","openapi":"POST /api/v1/sources/","href":"/platform-api/sources/create"},{"title":"Configure a source with a setup link","sidebarTitle":"Setup link \u0026 callback","href":"/platform-api/sources/setup-link"},{"title":"Create Setup Token","openapi":"POST /api/v1/sources/{source_slug}/setup-tokens/","href":"/platform-api/sources/setup-tokens/create"},{"title":"List Setup Tokens","openapi":"GET /api/v1/sources/{source_slug}/setup-tokens/","href":"/platform-api/sources/setup-tokens/list"},{"title":"Delete Setup Token","openapi":"DELETE /api/v1/sources/{source_slug}/setup-tokens/{id}/","href":"/platform-api/sources/setup-tokens/delete"},{"title":"Validate Connector","openapi":"POST /api/v1/sources/{slug}/revalidate/","href":"/platform-api/sources/revalidate"},{"title":"Update Source","openapi":"PATCH /api/v1/sources/{slug}/","href":"/platform-api/sources/update"},{"title":"Delete Source","sidebarTitle":"Delete Source","openapi":"DELETE /api/v1/sources/{slug}/","href":"/platform-api/sources/delete"},{"title":"Bulk Delete Sources","sidebarTitle":"Bulk Delete Sources","openapi":"POST /api/v1/sources/bulk-delete/","href":"/platform-api/sources/bulk-delete"},{"title":"Trigger Source","openapi":"POST /api/v1/sources/{slug}/trigger/","href":"/platform-api/sources/trigger"},{"title":"List Source Triggers","openapi":"GET /api/v1/sources/{source_slug}/triggers/","href":"/platform-api/sources/triggers/list"},{"title":"Get Source Trigger","openapi":"GET /api/v1/sources/{source_slug}/triggers/{id}/","href":"/platform-api/sources/triggers/details"}]},{"group":"MCP connections","pages":[{"title":"MCP Connection object","href":"/platform-api/mcp-connections/mcp-connection"},{"title":"List MCP Connections","openapi":"GET /api/v1/live-connections/","href":"/platform-api/mcp-connections/list"},{"title":"MCP Connection Details","openapi":"GET /api/v1/live-connections/{slug}/","href":"/platform-api/mcp-connections/details"},{"title":"Create MCP Connection","openapi":"POST /api/v1/live-connections/","href":"/platform-api/mcp-connections/create"},{"title":"Connect an MCP with a setup link","sidebarTitle":"Setup link \u0026 callback","href":"/platform-api/mcp-connections/setup-link"},{"title":"Create Setup Token","openapi":"POST /api/v1/live-connections/{live_connection_slug}/setup-tokens/","href":"/platform-api/mcp-connections/setup-tokens/create"},{"title":"List Setup Tokens","openapi":"GET /api/v1/live-connections/{live_connection_slug}/setup-tokens/","href":"/platform-api/mcp-connections/setup-tokens/list"},{"title":"Delete Setup Token","openapi":"DELETE /api/v1/live-connections/{live_connection_slug}/setup-tokens/{id}/","href":"/platform-api/mcp-connections/setup-tokens/delete"},{"title":"List Connection Tools","openapi":"GET /api/v1/live-connections/{slug}/tools/","href":"/platform-api/mcp-connections/tools"},{"title":"Update Connection Tools","openapi":"PATCH /api/v1/live-connections/{slug}/tools/","href":"/platform-api/mcp-connections/update-tools"},{"title":"Update MCP Connection","openapi":"PATCH /api/v1/live-connections/{slug}/","href":"/platform-api/mcp-connections/update"},{"title":"Archive MCP Connection","openapi":"POST /api/v1/live-connections/{slug}/archive/","href":"/platform-api/mcp-connections/archive"},{"title":"Unarchive MCP Connection","openapi":"POST /api/v1/live-connections/{slug}/unarchive/","href":"/platform-api/mcp-connections/unarchive"},{"title":"Delete MCP Connection","openapi":"DELETE /api/v1/live-connections/{slug}/","href":"/platform-api/mcp-connections/delete"}]},{"group":"Connector validations","pages":[{"title":"Get Connector Validation","openapi":"GET /api/v1/connector-validations/{id}/","href":"/platform-api/connector-validations/details"},{"title":"Get Connector Validation Logs","openapi":"GET /api/v1/connector-validations/{id}/logs/","href":"/platform-api/connector-validations/logs"}]},{"group":"Transformations","pages":[{"title":"Transformation object","href":"/platform-api/transformations/transformation"},{"title":"Get Transformations","openapi":"GET /api/v1/transformations/","href":"/platform-api/transformations/list"},{"title":"Get Transformation","openapi":"GET /api/v1/transformations/{slug}/","href":"/platform-api/transformations/details"},{"title":"Update Transformation","openapi":"PATCH /api/v1/transformations/{slug}/","href":"/platform-api/transformations/update"},{"title":"Delete Transformation","sidebarTitle":"Delete Transformation","openapi":"DELETE /api/v1/transformations/{slug}/","href":"/platform-api/transformations/delete"},{"title":"Bulk Delete Transformations","sidebarTitle":"Bulk Delete Transformations","openapi":"POST /api/v1/transformations/bulk-delete/","href":"/platform-api/transformations/bulk-delete"},{"title":"Trigger Transformation","openapi":"POST /api/v1/transformations/{slug}/trigger/","href":"/platform-api/transformations/trigger"}]},{"group":"Destinations","pages":[{"title":"Destination object","href":"/platform-api/destinations/destination"},{"title":"List Destinations","openapi":"GET /api/v1/destinations/","href":"/platform-api/destinations/list"},{"title":"Get Destination","openapi":"GET /api/v1/destinations/{slug}/","href":"/platform-api/destinations/details"},{"title":"Update Destination","openapi":"PATCH /api/v1/destinations/{slug}/","href":"/platform-api/destinations/update"},{"title":"Delete Destination","sidebarTitle":"Delete Destination","openapi":"DELETE /api/v1/destinations/{slug}/","href":"/platform-api/destinations/delete"},{"title":"Bulk Delete Destinations","sidebarTitle":"Bulk Delete Destinations","openapi":"POST /api/v1/destinations/bulk-delete/","href":"/platform-api/destinations/bulk-delete"},{"title":"Trigger Destination","openapi":"POST /api/v1/destinations/{slug}/trigger/","href":"/platform-api/destinations/trigger"},{"title":"List Destination Triggers","openapi":"GET /api/v1/destinations/{destination_slug}/triggers/","href":"/platform-api/destinations/triggers/list"},{"title":"Get Destination Trigger","openapi":"GET /api/v1/destinations/{destination_slug}/triggers/{id}/","href":"/platform-api/destinations/triggers/details"}]},{"group":"Runs","pages":[{"title":"Run object","href":"/platform-api/runs/run"},{"title":"Get Runs","openapi":"GET /api/v1/runs/","href":"/platform-api/runs/list"},{"title":"Get Run","openapi":"GET /api/v1/runs/{id}/","href":"/platform-api/runs/details"},{"title":"Get Run Logs","openapi":"GET /api/v1/runs/{id}/logs/","href":"/platform-api/runs/logs"},{"title":"Cancel Run","openapi":"POST /api/v1/runs/{id}/cancel/","href":"/platform-api/runs/cancel"}]},{"group":"Catalog","pages":[{"title":"Layer object","href":"/platform-api/catalog/layer"},{"title":"List Layers","openapi":"GET /api/v1/layers/","href":"/platform-api/catalog/list-layers"},{"title":"Update Layer","openapi":"PATCH /api/v1/layers/{slug}/","href":"/platform-api/catalog/update-layer"},{"title":"Table object","href":"/platform-api/catalog/table"},{"title":"Update Table","openapi":"PATCH /api/v1/tables/{id}/","href":"/platform-api/catalog/update-table"},{"title":"Update Field","openapi":"PATCH /api/v1/tables/{table_pk}/fields/{name}/","href":"/platform-api/catalog/update-field"},{"title":"Volume object","href":"/platform-api/catalog/volume"},{"title":"Folder object","href":"/platform-api/catalog/folder"}]},{"group":"Semantic Layer","pages":[{"title":"Semantic Layer document object","sidebarTitle":"Document object","href":"/platform-api/semantic-layer/document"},{"title":"List Semantic Layer Documents","sidebarTitle":"List documents","openapi":"GET /api/v1/semantic-layer/documents/","href":"/platform-api/semantic-layer/list"},{"title":"Retrieve Semantic Layer Document","sidebarTitle":"Retrieve document","openapi":"GET /api/v1/semantic-layer/documents/{id}/","href":"/platform-api/semantic-layer/retrieve"},{"title":"Create Semantic Layer Document","sidebarTitle":"Create document","openapi":"POST /api/v1/semantic-layer/documents/","href":"/platform-api/semantic-layer/create"},{"title":"Update Semantic Layer Document","sidebarTitle":"Update document","openapi":"PATCH /api/v1/semantic-layer/documents/{id}/","href":"/platform-api/semantic-layer/update"}]},{"group":"MCP Tokens","pages":[{"title":"MCP token object","sidebarTitle":"MCP token object","href":"/platform-api/mcp-tokens/mcp-token"},{"title":"List MCP Tokens","sidebarTitle":"List tokens","description":"The tokens your API key's creator has minted.","openapi":"GET /api/v1/mcp/tokens/","href":"/platform-api/mcp-tokens/list"},{"title":"Create MCP Token","sidebarTitle":"Create token","openapi":"POST /api/v1/mcp/tokens/","href":"/platform-api/mcp-tokens/create"},{"title":"Update MCP Token","sidebarTitle":"Update token","description":"Rename a token or change what it reaches.","openapi":"PATCH /api/v1/mcp/tokens/{id}/","href":"/platform-api/mcp-tokens/update"},{"title":"Rotate MCP Token","sidebarTitle":"Rotate token","openapi":"POST /api/v1/mcp/tokens/{id}/rotate-credentials/","href":"/platform-api/mcp-tokens/rotate"}]},{"group":"Users","pages":[{"title":"User object","href":"/platform-api/users/user"}]},{"group":"Invitations","pages":[{"title":"Onboarding flow","sidebarTitle":"Overview","href":"/platform-api/invitations/overview"},{"title":"Invitation object","href":"/platform-api/invitations/invitation"},{"title":"List Invitations","sidebarTitle":"List Invitations","openapi":"GET /api/v1/invitations/","href":"/platform-api/invitations/list"},{"title":"Invite User","sidebarTitle":"Invite User","openapi":"POST /api/v1/invitations/","href":"/platform-api/invitations/invite"},{"title":"Bulk Invite Users","sidebarTitle":"Bulk Invite Users","openapi":"POST /api/v1/invitations/bulk-invite/","href":"/platform-api/invitations/bulk-invite"},{"title":"Revoke an Invitation","sidebarTitle":"Revoke an Invitation","openapi":"DELETE /api/v1/invitations/{token}/","href":"/platform-api/invitations/revoke"}]},{"group":"Permissions","pages":[{"title":"Permissions flow","sidebarTitle":"Overview","href":"/platform-api/permissions/overview"},{"group":"Permission groups","pages":[{"title":"Permission groups","sidebarTitle":"Overview","href":"/platform-api/permission-groups/overview"},{"title":"Permission group object","href":"/platform-api/permission-groups/permission-group"},{"title":"List Permission Groups","sidebarTitle":"List Groups","openapi":"GET /api/v1/organization/permission-groups/","href":"/platform-api/permission-groups/list"},{"title":"Retrieve a Permission Group","sidebarTitle":"Retrieve a Group","openapi":"GET /api/v1/organization/permission-groups/{id}/","href":"/platform-api/permission-groups/details"},{"title":"Create a Permission Group","sidebarTitle":"Create a Group","openapi":"POST /api/v1/organization/permission-groups/","href":"/platform-api/permission-groups/create"},{"title":"Update a Permission Group","sidebarTitle":"Update a Group","openapi":"PATCH /api/v1/organization/permission-groups/{id}/","href":"/platform-api/permission-groups/update"},{"title":"Delete a Permission Group","sidebarTitle":"Delete a Group","openapi":"DELETE /api/v1/organization/permission-groups/{id}/","href":"/platform-api/permission-groups/delete"},{"title":"List Group Members","sidebarTitle":"List Members","openapi":"GET /api/v1/organization/permission-groups/{permission_group_pk}/users/","href":"/platform-api/permission-groups/members"},{"title":"Add Group Members","sidebarTitle":"Add Members","openapi":"POST /api/v1/organization/permission-groups/{permission_group_pk}/users/","href":"/platform-api/permission-groups/add-members"},{"title":"Remove Group Members","sidebarTitle":"Remove Members","openapi":"DELETE /api/v1/organization/permission-groups/{permission_group_pk}/users/","href":"/platform-api/permission-groups/remove-members"}]},{"group":"Catalog","pages":[{"title":"Permission object","href":"/platform-api/permissions/catalog/permission"},{"title":"List Permission Recipients","sidebarTitle":"List Recipients","openapi":"GET /api/v1/permission-recipients/","href":"/platform-api/permissions/catalog/recipients"},{"title":"List Permissions","openapi":"GET /api/v1/permissions/","href":"/platform-api/permissions/catalog/list"},{"title":"Retrieve Permission","openapi":"GET /api/v1/permissions/{id}/","href":"/platform-api/permissions/catalog/details"},{"title":"Assign Permissions","sidebarTitle":"Assign Permissions","openapi":"POST /api/v1/permissions/","href":"/platform-api/permissions/catalog/assign"},{"title":"Update Permission","sidebarTitle":"Update Permission","openapi":"PATCH /api/v1/permissions/{id}/","href":"/platform-api/permissions/catalog/update"},{"title":"Revoke Permission","sidebarTitle":"Revoke Permission","openapi":"DELETE /api/v1/permissions/{id}/","href":"/platform-api/permissions/catalog/revoke"}]},{"group":"Secrets \u0026 live connections","pages":[{"title":"Object permission object","href":"/platform-api/permissions/objects/object-permission"},{"title":"List Object Permission Recipients","sidebarTitle":"List Recipients","openapi":"GET /api/v1/organization/object-permission-recipients/","href":"/platform-api/permissions/objects/recipients"},{"title":"List Object Permissions","sidebarTitle":"List Object Permissions","openapi":"GET /api/v1/organization/object-permissions/","href":"/platform-api/permissions/objects/list"},{"title":"Retrieve Object Permission","openapi":"GET /api/v1/organization/object-permissions/{id}/","href":"/platform-api/permissions/objects/details"},{"title":"Assign Object Permissions","sidebarTitle":"Assign Object Permissions","openapi":"POST /api/v1/organization/object-permissions/","href":"/platform-api/permissions/objects/assign"},{"title":"Update Object Permission","sidebarTitle":"Update Object Permission","openapi":"PATCH /api/v1/organization/object-permissions/{id}/","href":"/platform-api/permissions/objects/update"},{"title":"Revoke Object Permission","sidebarTitle":"Revoke Object Permission","openapi":"DELETE /api/v1/organization/object-permissions/{id}/","href":"/platform-api/permissions/objects/revoke"}]},{"group":"Semantic Layer","pages":[{"title":"Semantic Layer permission object","href":"/platform-api/permissions/semantic-layer/semantic-layer-permission"},{"title":"Read the Semantic Layer","sidebarTitle":"Read resources","openapi":"GET /api/v1/semantic-layer/catalog/","href":"/platform-api/permissions/semantic-layer/resources"},{"title":"List Semantic Layer Folders","sidebarTitle":"List Folders","openapi":"GET /api/v1/semantic-layer/folders/","href":"/platform-api/permissions/semantic-layer/list-folders"},{"title":"List Semantic Layer Permission Recipients","sidebarTitle":"List Recipients","openapi":"GET /api/v1/semantic-layer/permission-recipients/","href":"/platform-api/permissions/semantic-layer/recipients"},{"title":"List Semantic Layer Permissions","sidebarTitle":"List Permissions","openapi":"GET /api/v1/semantic-layer/permissions/","href":"/platform-api/permissions/semantic-layer/list"},{"title":"Retrieve Semantic Layer Permission","sidebarTitle":"Retrieve Permission","openapi":"GET /api/v1/semantic-layer/permissions/{id}/","href":"/platform-api/permissions/semantic-layer/details"},{"title":"Assign Semantic Layer Permissions","sidebarTitle":"Assign Permissions","openapi":"POST /api/v1/semantic-layer/permissions/","href":"/platform-api/permissions/semantic-layer/assign"},{"title":"Update Semantic Layer Permission","sidebarTitle":"Update Permission","openapi":"PATCH /api/v1/semantic-layer/permissions/{id}/","href":"/platform-api/permissions/semantic-layer/update"},{"title":"Revoke Semantic Layer Permission","sidebarTitle":"Revoke Permission","openapi":"DELETE /api/v1/semantic-layer/permissions/{id}/","href":"/platform-api/permissions/semantic-layer/revoke"}]}]},{"group":"Visualizations","pages":[{"title":"Visualization object","href":"/platform-api/visualizations/visualization"}]},{"group":"Tags","pages":[{"title":"Tag object","href":"/platform-api/tags/tag"},{"title":"List Tags","openapi":"GET /api/v1/tags/","href":"/platform-api/tags/list"},{"title":"Get Tag","openapi":"GET /api/v1/tags/{id}/","href":"/platform-api/tags/details"},{"title":"Create Tag","openapi":"POST /api/v1/tags/","href":"/platform-api/tags/create"},{"title":"Update Tag","openapi":"PATCH /api/v1/tags/{id}/","href":"/platform-api/tags/update"},{"title":"Attach Tags","sidebarTitle":"Attach Tags","openapi":"POST /api/v1/tags/attach/","href":"/platform-api/tags/attach"},{"title":"Detach Tags","sidebarTitle":"Detach Tags","openapi":"POST /api/v1/tags/detach/","href":"/platform-api/tags/detach"}]},{"group":"API Tokens","pages":[{"title":"API token object","href":"/platform-api/api-token/token"}]},{"group":"Audit Logs","pages":[{"title":"Token access log object","href":"/platform-api/token-access-logs/token-access-log"},{"title":"List Token Access Logs","openapi":"GET /api/v1/token-access-logs/","href":"/platform-api/token-access-logs/list"},{"title":"Get Token Access Log","openapi":"GET /api/v1/token-access-logs/{id}/","href":"/platform-api/token-access-logs/details"},{"title":"Token access log export object","href":"/platform-api/token-access-logs/token-access-log-export"},{"title":"Export Token Access Logs","openapi":"POST /api/v1/token-access-logs/exports/","href":"/platform-api/token-access-logs/export"},{"title":"Get Token Access Log Export","openapi":"GET /api/v1/token-access-logs/exports/{id}/","href":"/platform-api/token-access-logs/export-details"}]}]},{"anchor":"Data API","icon":"square-terminal","pages":[{"title":"Data API","href":"/data-api/introduction"}]},{"anchor":"Build with AI","icon":"robot","pages":[{"title":"Build with AI","href":"/build-with-ai"}]}]},"title":"Create MCP Token - Nekt","buildId":"dpl_DFJrtvUi8HS5F9nkooKuDJsuD5BM","deploymentId":"dpl_DFJrtvUi8HS5F9nkooKuDJsuD5BM","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-rfhihCWU.js","utils-BmH1XFxk.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-BcNsxPKB.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-BAES3tkd.js","snippetPresets-DCMQBKLP.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-D6l_bzE9.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-BOktbnNh.js","shallow-BCs8SgM7.js","getApiPlaygroundDisplay-DEmW5bJB.js","CodeSnippet-CpZOpB9C.js","CodeSnippets-BOBDqibl.js","Page-D5fEM6aW.js","getPastedJson-DH2JBvmr.js","icon-BBJH-kKh.js","MethodPill-D2Sd5NLC.js","DuplicateIcon-CGgfL2qN.js","createIcon-BKudBBzi.js","DynamicMarkdown-85clUA0i.js","SectionHeading-D0JiMgDx.js","axios-vUo_bRtp.js","Markdown-Cfiy0xZO.js","clsx-rL8ZCCw4.js","lib--scc4DXi.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-aeztFa9U.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-BywkCr5C.js"]}