Connect NexSpace as an MCP server in Cursor to access the governed NexSpace
tool surface — workforce verbs, category tools, and connected-app actions —
from the IDE.
Setup
NexSpace is a remote MCP server, so Cursor talks to it over HTTP. Add to
your project’s .cursor/mcp.json:
Put the key in headers, not in an env block. /mcp authenticates
exclusively from the Authorization request header — the server reads
Bearer <token> off Authorization and has no environment-variable or
query-string fallback. An env block is only meaningful for stdio (command)
MCP servers; on a remote (url) server nothing forwards it, so the connection
arrives unauthenticated and gets the 401 + WWW-Authenticate challenge
instead of a tool list.
Or skip the key entirely (OAuth)
https://mcp.nexspace365.com/mcp serves RFC 9728 protected-resource metadata
at both /.well-known/oauth-protected-resource and
/.well-known/oauth-protected-resource/mcp, pointing at the NexSpace
authorization server. An OAuth-capable MCP client can therefore drop the
headers block, self-register via Dynamic Client Registration, and run the
consent flow — no long-lived key in a config file, and the grant is revocable
per user. A 401 from the endpoint carries a WWW-Authenticate: Bearer resource_metadata="…" header so the client can bootstrap from the failure
alone.
Paste it into the Authorization header as Bearer <key>
Usage
Once configured, Cursor discovers the full governed tool catalog —
tools/list is not filtered by your key’s scopes. Scope is enforced when a
tool is invoked: a tools/call for a tool your credential lacks the scope
for returns -32003 FORBIDDEN with required, granted, and a suggestion
naming the missing scope. So expect to see tools you cannot yet run, and read
the catalog as “what NexSpace exposes”, not “what this key can do”. See
MCP for the scope model and the error codes.Ask the agent naturally:
“Search for available staff at facility 12 for tomorrow”
“Show me the coverage report for all facilities this week”
“Verify credential #456 and tell me if it’s still valid”
The one exception to the unfiltered catalog is the connected-apps lane: those
tools are listed per caller, only when the credential carries apps:read /
apps:writeand the bound user has an active connection to that app.
Agent skill (recommended)
Prefer the CLI skill installer — it drops the nexspace-operations skill so
Cursor follows the canonical loop (search → schema → --dry-run → execute)
and compliance walls:
npm install -g @nexspace/clinexspace loginnexspace skill install --cursor --project # or omit --project for user-global
Cursor Rules (legacy)
You can still copy the older rule file if you are not using the skill yet:
Search for “NexSpace” on cursor.directory for
one-click installation.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"NexSpace Developer Docs","colors":{"primary":"#2563EB","light":"#60A5FA","dark":"#2563EB"},"logo":{"light":"https://mintcdn.com/nexspace365llc/21j0LL11KKqoYm2B/logo/light.png?fit=max\u0026auto=format\u0026n=21j0LL11KKqoYm2B\u0026q=85\u0026s=0d9972d5ef71de66b5eb2f87e39d22db","dark":"https://mintcdn.com/nexspace365llc/21j0LL11KKqoYm2B/logo/dark.png?fit=max\u0026auto=format\u0026n=21j0LL11KKqoYm2B\u0026q=85\u0026s=d28e8c7ab6777003c6c2633f81859237"},"favicon":"https://mintcdn.com/nexspace365llc/21j0LL11KKqoYm2B/favicon.png?fit=max\u0026auto=format\u0026n=21j0LL11KKqoYm2B\u0026q=85\u0026s=870af17e66cf7713bd976289f6b96737","api":{"openapi":["https://api.nexspace365.com/api/openapi.json"],"mdx":{"auth":{"method":"bearer","name":"Authorization"},"server":"https://api.nexspace365.com"}},"navbar":{"links":[{"href":"mailto:admin@nexspace365.com","label":"Contact"}],"primary":{"type":"button","label":"Dashboard","href":"https://app.nexspace365.com"}},"footer":{"socials":{"x":"https://x.com/nexspace365","github":"https://github.com/Nexspace365","linkedin":"https://linkedin.com/company/nexspace365"}},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"GitHub","icon":"github","href":"https://github.com/Nexspace365/NexSpace"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"nexspace365llc","hasAudioNarration":false,"actualSubdomain":"nexspace365llc","customDomains":["developers.nexspace365.com"],"gitSource":{"type":"github","owner":"nexspace365","repo":"nexspace","deployBranch":"production","contentDirectory":"docs/developers","isPrivate":true,"mountPath":"","label":"","_id":"6b10e8c99ffae5051c41467c"},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6b07b2d4572bfd1099776647","clientVersion":"0.0.4448","searchFilterCounts":[{"language":"default","tag":"API Reference","count":87},{"language":"default","tag":"Endpoints","count":84},{"language":"default","tag":"Documentation","count":22},{"language":"default","tag":"Agents","count":17},{"language":"default","tag":"OAuth","count":13},{"language":"default","tag":"Core Concepts","count":12},{"language":"default","tag":"CLI","count":8},{"language":"default","tag":"Analytics","count":7},{"language":"default","tag":"Shifts","count":7},{"language":"default","tag":"Integrations","count":6}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"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":"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":"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":"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":"turbopuffer-dual-write","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":"editor-metadata","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":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"auth-vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"integrations/cursor","slug":"/integrations/cursor","pageMetadata":{"title":"Cursor","description":"Add the NexSpace MCP server to Cursor IDE","href":"/integrations/cursor"},"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: \"Add the NexSpace MCP server to Cursor IDE\"\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`,blockquote:`blockquote`,code:`code`,li:`li`,ol:`ol`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,..._provideComponents(),...props.components},{CodeBlock,Heading,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`1`,id:`cursor-integration`,children:`Cursor Integration`}),`\n`,_jsx(_components.p,{children:`Connect NexSpace as an MCP server in Cursor to access the governed NexSpace\ntool surface — workforce verbs, category tools, and connected-app actions —\nfrom the IDE.`}),`\n`,_jsx(Heading,{level:`2`,id:`setup`,children:`Setup`}),`\n`,_jsxs(_components.p,{children:[`NexSpace is a `,_jsx(_components.strong,{children:`remote`}),` MCP server, so Cursor talks to it over HTTP. Add to\nyour project’s `,_jsx(_components.code,{children:`.cursor/mcp.json`}),`:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`10`,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:`10`,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:` \"nexspace\"`}),_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:` \"url\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://mcp.nexspace365.com/mcp\"`}),_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:` \"headers\"`}),_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:` \"Authorization\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Bearer nex_live_YOUR_KEY\"`})]}),`\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.p,{children:[`Or add globally at `,_jsx(_components.code,{children:`~/.cursor/mcp.json`}),`.`]}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`Put the key in `,_jsx(_components.code,{children:`headers`}),`, not in an `,_jsx(_components.code,{children:`env`}),` block. `,_jsx(_components.code,{children:`/mcp`}),` authenticates\n`,_jsx(_components.strong,{children:`exclusively`}),` from the `,_jsx(_components.code,{children:`Authorization`}),` request header — the server reads\n`,_jsx(_components.code,{children:`Bearer \u003ctoken>`}),` off `,_jsx(_components.code,{children:`Authorization`}),` and has no environment-variable or\nquery-string fallback. An `,_jsx(_components.code,{children:`env`}),` block is only meaningful for stdio (`,_jsx(_components.code,{children:`command`}),`)\nMCP servers; on a remote (`,_jsx(_components.code,{children:`url`}),`) server nothing forwards it, so the connection\narrives unauthenticated and gets the `,_jsx(_components.code,{children:`401`}),` + `,_jsx(_components.code,{children:`WWW-Authenticate`}),` challenge\ninstead of a tool list.`]})}),`\n`,_jsx(Heading,{level:`3`,id:`or-skip-the-key-entirely-oauth`,children:`Or skip the key entirely (OAuth)`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`https://mcp.nexspace365.com/mcp`}),` serves RFC 9728 protected-resource metadata\nat both `,_jsx(_components.code,{children:`/.well-known/oauth-protected-resource`}),` and\n`,_jsx(_components.code,{children:`/.well-known/oauth-protected-resource/mcp`}),`, pointing at the NexSpace\nauthorization server. An OAuth-capable MCP client can therefore drop the\n`,_jsx(_components.code,{children:`headers`}),` block, self-register via Dynamic Client Registration, and run the\nconsent flow — no long-lived key in a config file, and the grant is revocable\nper user. A `,_jsx(_components.code,{children:`401`}),` from the endpoint carries a `,_jsx(_components.code,{children:`WWW-Authenticate: Bearer resource_metadata=\"…\"`}),` header so the client can bootstrap from the failure\nalone.`]}),`\n`,_jsx(Heading,{level:`2`,id:`get-an-api-key`,children:`Get an API Key`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`Log in to `,_jsx(_components.a,{href:`https://app.nexspace365.com`,children:`NexSpace`})]}),`\n`,_jsxs(_components.li,{children:[`Go to `,_jsx(_components.strong,{children:`Settings → API Keys`})]}),`\n`,_jsx(_components.li,{children:`Create a key with the scopes you need`}),`\n`,_jsxs(_components.li,{children:[`Paste it into the `,_jsx(_components.code,{children:`Authorization`}),` header as `,_jsx(_components.code,{children:`Bearer \u003ckey>`})]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`usage`,children:`Usage`}),`\n`,_jsxs(_components.p,{children:[`Once configured, Cursor discovers the `,_jsx(_components.strong,{children:`full governed tool catalog`}),` —\n`,_jsx(_components.code,{children:`tools/list`}),` is not filtered by your key’s scopes. Scope is enforced when a\ntool is `,_jsx(_components.strong,{children:`invoked`}),`: a `,_jsx(_components.code,{children:`tools/call`}),` for a tool your credential lacks the scope\nfor returns `,_jsx(_components.code,{children:`-32003 FORBIDDEN`}),` with `,_jsx(_components.code,{children:`required`}),`, `,_jsx(_components.code,{children:`granted`}),`, and a suggestion\nnaming the missing scope. So expect to see tools you cannot yet run, and read\nthe catalog as “what NexSpace exposes”, not “what this key can do”. See\n`,_jsx(_components.a,{href:`/concepts/mcp`,children:`MCP`}),` for the scope model and the error codes.`]}),`\n`,_jsx(_components.p,{children:`Ask the agent naturally:`}),`\n`,_jsxs(_components.blockquote,{children:[`\n`,_jsx(_components.p,{children:`“Search for available staff at facility 12 for tomorrow”`}),`\n`]}),`\n`,_jsxs(_components.blockquote,{children:[`\n`,_jsx(_components.p,{children:`“Show me the coverage report for all facilities this week”`}),`\n`]}),`\n`,_jsxs(_components.blockquote,{children:[`\n`,_jsx(_components.p,{children:`“Verify credential #456 and tell me if it’s still valid”`}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`The one exception to the unfiltered catalog is the connected-apps lane: those\ntools are listed per caller, only when the credential carries `,_jsx(_components.code,{children:`apps:read`}),` /\n`,_jsx(_components.code,{children:`apps:write`}),` `,_jsx(_components.strong,{children:`and`}),` the bound user has an active connection to that app.`]}),`\n`,_jsx(Heading,{level:`2`,id:`agent-skill-recommended`,children:`Agent skill (recommended)`}),`\n`,_jsxs(_components.p,{children:[`Prefer the CLI skill installer — it drops the `,_jsx(_components.code,{children:`nexspace-operations`}),` skill so\nCursor follows the canonical loop (`,_jsx(_components.code,{children:`search`}),` → `,_jsx(_components.code,{children:`schema`}),` → `,_jsx(_components.code,{children:`--dry-run`}),` → execute)\nand compliance walls:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`3`,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:`3`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`npm`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` install`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -g`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` @nexspace/cli`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`nexspace`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` login`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`nexspace`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` skill`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` install`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --cursor`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --project`}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` # or omit --project for user-global`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`cursor-rules-legacy`,children:`Cursor Rules (legacy)`}),`\n`,_jsx(_components.p,{children:`You can still copy the older rule file if you are not using the skill yet:`}),`\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:`cp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` tools/cursor-mcp/nexspace.mdc`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` .cursor/rules/nexspace.mdc`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`available-on-cursor-directory`,children:`Available on cursor.directory`}),`\n`,_jsxs(_components.p,{children:[`Search for “NexSpace” on `,_jsx(_components.a,{href:`https://cursor.directory`,children:`cursor.directory`}),` for\none-click installation.`]})]})}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":"Cursor","description":"Add the NexSpace MCP server to Cursor IDE","href":"/integrations/cursor"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Cursor Integration","slug":"cursor-integration","depth":1,"children":[]},{"title":"Setup","slug":"setup","depth":2,"children":[{"title":"Or skip the key entirely (OAuth)","slug":"or-skip-the-key-entirely-oauth","depth":3,"children":[]}]},{"title":"Get an API Key","slug":"get-an-api-key","depth":2,"children":[]},{"title":"Usage","slug":"usage","depth":2,"children":[]},{"title":"Agent skill (recommended)","slug":"agent-skill-recommended","depth":2,"children":[]},{"title":"Cursor Rules (legacy)","slug":"cursor-rules-legacy","depth":2,"children":[]},{"title":"Available on cursor.directory","slug":"available-on-cursor-directory","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"nexspace365llc","siteName":"NexSpace Developer Docs","title":"Cursor - NexSpace Developer Docs","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-08-28T18:06:33.066Z","originalFileLocation":"integrations/cursor.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=\"Add the NexSpace MCP server to Cursor IDE\">\u003cmeta data-mint-head name=\"application-name\" content=\"NexSpace Developer 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/nexspace365llc/i9uOvj_RbWrMRRIL/_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/nexspace365llc/i9uOvj_RbWrMRRIL/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/nexspace365llc/i9uOvj_RbWrMRRIL/_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/nexspace365llc/i9uOvj_RbWrMRRIL/_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/nexspace365llc/i9uOvj_RbWrMRRIL/_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/nexspace365llc/i9uOvj_RbWrMRRIL/_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/nexspace365llc/i9uOvj_RbWrMRRIL/_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/nexspace365llc/i9uOvj_RbWrMRRIL/_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/nexspace365llc/i9uOvj_RbWrMRRIL/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Cursor - NexSpace Developer Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Add the NexSpace MCP server to Cursor IDE\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"NexSpace Developer Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://developers.nexspace365.com/integrations/cursor\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://nexspace365llc.mintlify.site/_mintlify/api/og/v2?division=Integrations\u0026amp;title=Cursor\u0026amp;description=Add+the+NexSpace+MCP+server+to+Cursor+IDE\u0026amp;theme=b6b488d5142a420cec1aa907\u0026amp;signature=d01106f001cc1dc8df3a0b4b6ece8b5baae28a0344d67380c678a09af3edeba0\">\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=\"Cursor - NexSpace Developer Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Add the NexSpace MCP server to Cursor IDE\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://nexspace365llc.mintlify.site/_mintlify/api/og/v2?division=Integrations\u0026amp;title=Cursor\u0026amp;description=Add+the+NexSpace+MCP+server+to+Cursor+IDE\u0026amp;theme=b6b488d5142a420cec1aa907\u0026amp;signature=d01106f001cc1dc8df3a0b4b6ece8b5baae28a0344d67380c678a09af3edeba0\">\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/nexspace365llc/i9uOvj_RbWrMRRIL/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"NexSpace Developer Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#2563EB\">\u003clink data-mint-head rel=\"canonical\" href=\"https://developers.nexspace365.com/integrations/cursor\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/integrations/cursor.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://developers.nexspace365.com/#organization\",\"name\":\"NexSpace Developer Docs\",\"url\":\"https://developers.nexspace365.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/nexspace365llc/21j0LL11KKqoYm2B/logo/light.png?fit=max\u0026auto=format\u0026n=21j0LL11KKqoYm2B\u0026q=85\u0026s=0d9972d5ef71de66b5eb2f87e39d22db\"}},{\"@type\":\"WebSite\",\"@id\":\"https://developers.nexspace365.com#website\",\"name\":\"NexSpace Developer Docs\",\"url\":\"https://developers.nexspace365.com\",\"publisher\":{\"@id\":\"https://developers.nexspace365.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://developers.nexspace365.com/integrations/cursor#webpage\",\"url\":\"https://developers.nexspace365.com/integrations/cursor\",\"name\":\"Cursor\",\"description\":\"Add the NexSpace MCP server to Cursor IDE\",\"dateModified\":\"2026-08-28T18:06:33.066Z\",\"isPartOf\":{\"@id\":\"https://developers.nexspace365.com#website\"},\"breadcrumb\":{\"@id\":\"https://developers.nexspace365.com/integrations/cursor#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://developers.nexspace365.com/integrations/cursor#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Integrations\",\"item\":\"https://developers.nexspace365.com/integrations/claude-ai\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Cursor\",\"item\":\"https://developers.nexspace365.com/integrations/cursor\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://developers.nexspace365.com/integrations/cursor#article\",\"headline\":\"Cursor\",\"name\":\"Cursor\",\"description\":\"Add the NexSpace MCP server to Cursor IDE\",\"url\":\"https://developers.nexspace365.com/integrations/cursor\",\"mainEntityOfPage\":{\"@id\":\"https://developers.nexspace365.com/integrations/cursor#webpage\"},\"dateModified\":\"2026-08-28T18:06:33.066Z\",\"publisher\":{\"@id\":\"https://developers.nexspace365.com/#organization\"},\"isPartOf\":{\"@id\":\"https://developers.nexspace365.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"NexSpace Developer Docs\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"NexSpace Developer Docs\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/integrations/cursor.md","siteName":"NexSpace Developer Docs","nav":{"global":{"anchors":[{"anchor":"GitHub","icon":"github","href":"https://github.com/Nexspace365/NexSpace"}]},"tabs":[{"tab":"Documentation","groups":[{"group":"Getting Started","pages":[{"title":"Introduction","href":"/introduction"},{"title":"Quickstart","href":"/quickstart"},{"title":"Authentication","href":"/authentication"}]},{"group":"Core Concepts","pages":[{"title":"Sandbox (test API keys)","href":"/concepts/sandbox"},{"title":"Model Context Protocol (MCP)","href":"/concepts/mcp"},{"title":"Governance","href":"/concepts/governance"},{"title":"Model Tier Gate","href":"/concepts/model-tier-gate"},{"title":"Tenant Isolation","href":"/concepts/tenant-isolation"},{"title":"Agent Runs","href":"/concepts/agent-runs"},{"title":"Agent Automations","href":"/concepts/automations"},{"title":"Webhooks","href":"/concepts/webhooks"},{"title":"API Versioning","href":"/concepts/versioning"},{"title":"Error Handling","href":"/concepts/errors"},{"title":"Rate Limits","href":"/concepts/rate-limits"},{"title":"Idempotency","href":"/concepts/idempotency"}]},{"group":"Integrations","pages":[{"title":"Claude (claude.ai)","href":"/integrations/claude-ai"},{"title":"ChatGPT","href":"/integrations/chatgpt"},{"title":"Google Gemini","href":"/integrations/gemini"},{"title":"Claude Code","description":"Install the NexSpace plugin for Claude Code","href":"/integrations/claude-code"},{"title":"Cursor","href":"/integrations/cursor"},{"title":"Composio","description":"Use NexSpace tools from LangChain, CrewAI, and other agent frameworks","href":"/integrations/composio"}]},{"group":"Reference","pages":[{"title":"API Changelog","href":"/changelog"}]}]},{"tab":"API Reference","pages":[{"title":"API Reference","href":"/api-reference/overview"}]},{"tab":"SDKs","pages":[{"title":"SDKs","href":"/sdks/overview"}]},{"tab":"CLI","pages":[{"title":"CLI","href":"/cli/overview"}]}]},"basePath":"","title":"Cursor - NexSpace Developer Docs","deploymentId":"dpl_XLevHnGPjzxq9mbREha5Faad63Sp","buildId":"dpl_XLevHnGPjzxq9mbREha5Faad63Sp","dynamics":[],"chunks":[]}