Use SocQ to check my account, then collect the latest 20 comments from thisYouTube video. Wait for the task to finish and return the results as a table:https://www.youtube.com/watch?v=VIDEO_ID
The connection is working when Codex discovers the SocQ tools, calls socq_account, submits the collection, and reads the returned task with socq_get_task.
Add workflow guidance
Install the socq-social-research Skill for endpoint selection, cost awareness, polling, pagination, and cross-platform research guidance:
npx skills add SocQAPI/socq-devtools
The Skill complements MCP; it does not replace the server. See Agent Skill.
Troubleshoot
Begin a new session after configuration changes so Codex refreshes the tool list. See Troubleshooting integrations for authentication, missing-tool, and task errors.See the official Codex config.toml reference for current MCP configuration fields.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"SocQ","colors":{"primary":"#F64C31","light":"#FF806B","dark":"#C63A28"},"logo":{"light":"https://mintcdn.com/socq/EOxTyM_j9SqnaDht/assets/socq-logo-light.png?fit=max\u0026auto=format\u0026n=EOxTyM_j9SqnaDht\u0026q=85\u0026s=0aafae4122cb2c6c9b4e3671022d1a2f","dark":"https://mintcdn.com/socq/EOxTyM_j9SqnaDht/assets/socq-logo-dark.png?fit=max\u0026auto=format\u0026n=EOxTyM_j9SqnaDht\u0026q=85\u0026s=86c9c7033fdf80e9392361db3708fd4d","href":"https://socq.ai"},"favicon":{"light":"https://mintcdn.com/socq/EOxTyM_j9SqnaDht/assets/socq-logo-light.png?fit=max\u0026auto=format\u0026n=EOxTyM_j9SqnaDht\u0026q=85\u0026s=0aafae4122cb2c6c9b4e3671022d1a2f","dark":"https://mintcdn.com/socq/EOxTyM_j9SqnaDht/assets/socq-logo-dark.png?fit=max\u0026auto=format\u0026n=EOxTyM_j9SqnaDht\u0026q=85\u0026s=86c9c7033fdf80e9392361db3708fd4d"},"api":{"openapi":["api-manual/agent-api/agent-api.json"],"playground":{}},"appearance":{"default":"system"},"background":{"color":{"light":"#FCFAF8","dark":"#090909"}},"navbar":{"links":[{"href":"https://socq.ai","label":"Website"},{"href":"https://socq.ai/dashboard/settings#discord","label":"Discord","type":"discord"}],"primary":{"type":"button","label":"Get API key","href":"https://socq.ai/dashboard/api-key"}},"fonts":{"family":"Geist"},"icons":{"library":"fontawesome"},"styling":{"codeblocks":"dark","latex":false},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"navigation":{"languages":[{"language":"en","default":true,"navbar":{"links":[{"href":"https://socq.ai","label":"Website"},{"href":"https://socq.ai/dashboard/settings#discord","label":"Discord","type":"discord"}],"primary":{"type":"button","label":"Get API key","href":"https://socq.ai/dashboard/api-key"}},"href":""},{"language":"zh","navbar":{"links":[{"href":"https://socq.ai","label":"官网"},{"href":"https://socq.ai/dashboard/settings#discord","label":"Discord","type":"discord"}],"primary":{"type":"button","label":"获取 API Key","href":"https://socq.ai/dashboard/api-key"}},"href":"zh"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"socq","hasAudioNarration":false,"actualSubdomain":"socq","customDomains":["docs.socq.ai"],"gitSource":{"type":"github","owner":"coolhackboy","repo":"socq-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":"","_id":"6af190fb7a3776e6c0c6bd54"},"entitlements":{},"buildId":"6b0e850b8007c388aa2d2f25","clientVersion":"0.0.4434","searchFilterCounts":[{"language":"en","tag":"More Social","count":150},{"language":"zh","tag":"更多社媒","count":148},{"language":"en","tag":"TikTok","count":94},{"language":"zh","tag":"TikTok","count":94},{"language":"en","tag":"X","count":60},{"language":"zh","tag":"X","count":60},{"language":"en","tag":"SEO","count":58},{"language":"zh","tag":"SEO","count":58},{"language":"en","tag":"Market Data","count":56},{"language":"zh","tag":"市场数据","count":56},{"language":"en","tag":"Instagram","count":54},{"language":"zh","tag":"Instagram","count":54},{"language":"en","tag":"YouTube","count":44},{"language":"zh","tag":"YouTube","count":44},{"language":"en","tag":"Facebook","count":39},{"language":"zh","tag":"Facebook","count":39},{"language":"en","tag":"LinkedIn","count":29},{"language":"zh","tag":"LinkedIn","count":29},{"language":"en","tag":"Reddit","count":15},{"language":"zh","tag":"Reddit","count":15}]},"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":true},"customCss":[{"filePath":"style.css","content":":root{--socq-accent: #f64c31;--socq-accent-dark: #c63a28;--socq-accent-hover: #ad3021;--socq-accent-soft: rgba(246, 76, 49, 0.12);--socq-accent-text: #b53625;--socq-border: rgba(35, 27, 24, 0.12);--socq-control-fg: #fcfaf8;--socq-focus: rgba(246, 76, 49, 0.72);--socq-method-muted-bg: rgba(35, 27, 24, 0.07);--socq-method-muted-fg: #6f6865;--socq-scrollbar-thumb: rgba(111, 104, 101, 0.3);--socq-scrollbar-thumb-hover: rgba(111, 104, 101, 0.5)}.dark{--socq-accent-soft: rgba(246, 76, 49, 0.15);--socq-accent-text: #ff806b;--socq-border: rgba(255, 248, 244, 0.12);--socq-focus: rgba(255, 128, 107, 0.78);--socq-method-muted-bg: rgba(255, 248, 244, 0.08);--socq-method-muted-fg: #b8b1af;--socq-scrollbar-thumb: rgba(184, 177, 175, 0.3);--socq-scrollbar-thumb-hover: rgba(184, 177, 175, 0.5)}*{scrollbar-width:thin;scrollbar-color:var(--socq-scrollbar-thumb) transparent}::-webkit-scrollbar{width:6px;height:6px;background:transparent}::-webkit-scrollbar-track,::-webkit-scrollbar-corner{background:transparent}::-webkit-scrollbar-thumb{border-radius:3px;background:var(--socq-scrollbar-thumb)}::-webkit-scrollbar-thumb:hover{background:var(--socq-scrollbar-thumb-hover)}::-webkit-scrollbar-button{display:none;width:0;height:0}#navbar{border-bottom:1px solid var(--socq-border);box-shadow:none}.tryit-button{background-color:var(--socq-accent-dark)!important;color:var(--socq-control-fg)!important;opacity:1!important}.tryit-button:hover{background-color:var(--socq-accent-hover)!important;opacity:1!important}.tryit-button svg{background-color:var(--socq-control-fg)!important}.method-pill{background-color:var(--socq-accent-soft)!important;color:var(--socq-accent-text)!important}.method-nav-pill>span{background-color:var(--socq-method-muted-bg)!important;color:var(--socq-method-muted-fg)!important}.dark footer{border-top:1px solid var(--socq-border);box-shadow:none}:where(a,button,input,select,textarea,[role=\"button\"]):focus-visible{outline:2px solid var(--socq-focus);outline-offset:2px}::selection{background:rgba(246, 76, 49, 0.2)}@media (prefers-reduced-motion: reduce){*,*::before,*::after{scroll-behavior:auto!important;transition-duration:0.01ms!important;animation-duration:0.01ms!important;animation-iteration-count:1!important}}"}]}
{"page":{"pagePath":"integrations/codex","slug":"/integrations/codex","pageMetadata":{"title":"Codex","description":"Connect Codex to SocQ MCP, verify a collection, and optionally add the Agent Skill.","icon":"code","href":"/integrations/codex"},"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: \"Connect Codex to SocQ MCP, verify a collection, and optionally add the Agent Skill.\"\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`,ul:`ul`,..._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:`codex`,children:`Codex`}),`\n`,_jsxs(_components.p,{children:[`Codex CLI and the IDE extension read MCP configuration from `,_jsx(_components.code,{children:`~/.codex/config.toml`}),`. A trusted project can also provide `,_jsx(_components.code,{children:`.codex/config.toml`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`prerequisites`,children:`Prerequisites`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`a SocQ API key;`}),`\n`,_jsx(_components.li,{children:`Codex CLI or the Codex IDE extension.`}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`configure`,children:`Configure`}),`\n`,_jsxs(_components.p,{children:[`Set `,_jsx(_components.code,{children:`SOCQ_API_KEY`}),` in the environment before starting Codex, then add:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`4`,language:`toml`,children:_jsx(_components.pre,{className:`shiki shiki-themes dark-plus dark-plus`,style:{backgroundColor:`#0B0C0E`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},language:`toml`,children:_jsxs(_components.code,{language:`toml`,numberOfLines:`4`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`[mcp_servers.socq]`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`url`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` = `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"https://api.socq.ai/mcp\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`bearer_token_env_var`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` = `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"SOCQ_API_KEY\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`tool_timeout_sec`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` = `}),_jsx(_components.span,{style:{color:`#B5CEA8`,\"--shiki-dark\":`#B5CEA8`},children:`45`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`Restart or begin a new Codex session after changing the configuration.`}),`\n`,_jsx(Warning,{children:_jsx(_components.p,{children:`Keep the API key in the environment. Do not put it in the MCP URL or commit it to a project configuration.`})}),`\n`,_jsx(Heading,{level:`2`,id:`limit-the-tool-list`,children:`Limit the tool list`}),`\n`,_jsx(_components.p,{children:`To expose typed YouTube tools, use a filtered MCP URL:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`4`,language:`toml`,children:_jsx(_components.pre,{className:`shiki shiki-themes dark-plus dark-plus`,style:{backgroundColor:`#0B0C0E`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},language:`toml`,children:_jsxs(_components.code,{language:`toml`,numberOfLines:`4`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`[mcp_servers.socq_youtube]`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`url`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` = `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"https://api.socq.ai/mcp?platforms=youtube\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`bearer_token_env_var`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` = `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"SOCQ_API_KEY\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`tool_timeout_sec`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` = `}),_jsx(_components.span,{style:{color:`#B5CEA8`,\"--shiki-dark\":`#B5CEA8`},children:`45`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/integrations/mcp-filtering`,children:`Choose MCP tools`}),` for mode selection and filtering limits.`]}),`\n`,_jsx(Heading,{level:`2`,id:`verify`,children:`Verify`}),`\n`,_jsx(_components.p,{children:`Ask Codex:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`4`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes dark-plus dark-plus`,style:{backgroundColor:`#0B0C0E`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`4`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Use SocQ to check my account, then collect the latest 20 comments from this`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`YouTube video. Wait for the task to finish and return the results as a table:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`https://www.youtube.com/watch?v=VIDEO_ID`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsxs(_components.p,{children:[`The connection is working when Codex discovers the SocQ tools, calls `,_jsx(_components.code,{children:`socq_account`}),`, submits the collection, and reads the returned task with `,_jsx(_components.code,{children:`socq_get_task`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`add-workflow-guidance`,children:`Add workflow guidance`}),`\n`,_jsxs(_components.p,{children:[`Install the `,_jsx(_components.code,{children:`socq-social-research`}),` Skill for endpoint selection, cost awareness, polling, pagination, and cross-platform research guidance:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes dark-plus dark-plus`,style:{backgroundColor:`#0B0C0E`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#D4D4D4`,\"--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:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`npx`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` skills`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` add`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` SocQAPI/socq-devtools`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`The Skill complements MCP; it does not replace the server. See `,_jsx(_components.a,{href:`/integrations/skill`,children:`Agent Skill`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`troubleshoot`,children:`Troubleshoot`}),`\n`,_jsxs(_components.p,{children:[`Begin a new session after configuration changes so Codex refreshes the tool list. See `,_jsx(_components.a,{href:`/integrations/troubleshooting`,children:`Troubleshooting integrations`}),` for authentication, missing-tool, and task errors.`]}),`\n`,_jsxs(_components.p,{children:[`See the official Codex `,_jsxs(_components.a,{href:`https://learn.chatgpt.com/docs/config-file/config-reference#configtoml`,children:[_jsx(_components.code,{children:`config.toml`}),` reference`]}),` for current MCP configuration fields.`]})]})}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":{"codeStyling":"dark","config":{},"pageMetadata":{"title":"Codex","description":"Connect Codex to SocQ MCP, verify a collection, and optionally add the Agent Skill.","icon":"code","href":"/integrations/codex"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Codex","slug":"codex","depth":1,"children":[]},{"title":"Prerequisites","slug":"prerequisites","depth":2,"children":[]},{"title":"Configure","slug":"configure","depth":2,"children":[]},{"title":"Limit the tool list","slug":"limit-the-tool-list","depth":2,"children":[]},{"title":"Verify","slug":"verify","depth":2,"children":[]},{"title":"Add workflow guidance","slug":"add-workflow-guidance","depth":2,"children":[]},{"title":"Troubleshoot","slug":"troubleshoot","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/socq/76ba4a32229b2aba/favicon-theme.js"],"subdomain":"socq","siteName":"SocQ","title":"Codex - SocQ","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"en":{"href":"/integrations/codex","matchLevel":0},"zh":{"href":"/zh/integrations/codex","matchLevel":1}}},"lastModified":"2026-11-12T02:30:55.150Z","originalFileLocation":"integrations/codex.mdx","locale":"en"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Connect Codex to SocQ MCP, verify a collection, and optionally add the Agent Skill.\">\u003cmeta data-mint-head name=\"application-name\" content=\"SocQ\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/socq/hOuyzCkUr9BrHo8d/_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/socq/hOuyzCkUr9BrHo8d/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/socq/hOuyzCkUr9BrHo8d/_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/socq/hOuyzCkUr9BrHo8d/_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/socq/hOuyzCkUr9BrHo8d/_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/socq/hOuyzCkUr9BrHo8d/_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/socq/hOuyzCkUr9BrHo8d/_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/socq/hOuyzCkUr9BrHo8d/_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/socq/hOuyzCkUr9BrHo8d/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Codex - SocQ\">\u003cmeta data-mint-head property=\"og:description\" content=\"Connect Codex to SocQ MCP, verify a collection, and optionally add the Agent Skill.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"SocQ\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.socq.ai/integrations/codex\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://socq.mintlify.site/_mintlify/api/og/v2?division=Clients\u0026amp;title=Codex\u0026amp;description=Connect+Codex+to+SocQ+MCP%2C+verify+a+collection%2C+and+optionally+add+the+Agent+Skill.\u0026amp;theme=1c6d9c159af44d0cd9cae483\u0026amp;signature=0fc9334a9464eca0dee3acd1074bdb30425df086bd56c66b31ce1f6ad74a5c11\">\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=\"Codex - SocQ\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Connect Codex to SocQ MCP, verify a collection, and optionally add the Agent Skill.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://socq.mintlify.site/_mintlify/api/og/v2?division=Clients\u0026amp;title=Codex\u0026amp;description=Connect+Codex+to+SocQ+MCP%2C+verify+a+collection%2C+and+optionally+add+the+Agent+Skill.\u0026amp;theme=1c6d9c159af44d0cd9cae483\u0026amp;signature=0fc9334a9464eca0dee3acd1074bdb30425df086bd56c66b31ce1f6ad74a5c11\">\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/socq/hOuyzCkUr9BrHo8d/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"SocQ\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#F64C31\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.socq.ai/integrations/codex\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/integrations/codex.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://docs.socq.ai/integrations/codex\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"zh\" href=\"https://docs.socq.ai/zh/integrations/codex\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://docs.socq.ai/integrations/codex\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.socq.ai/#organization\",\"name\":\"SocQ\",\"url\":\"https://docs.socq.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/socq/EOxTyM_j9SqnaDht/assets/socq-logo-light.png?fit=max\u0026auto=format\u0026n=EOxTyM_j9SqnaDht\u0026q=85\u0026s=0aafae4122cb2c6c9b4e3671022d1a2f\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.socq.ai#website\",\"name\":\"SocQ\",\"url\":\"https://docs.socq.ai\",\"publisher\":{\"@id\":\"https://docs.socq.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.socq.ai/integrations/codex#webpage\",\"url\":\"https://docs.socq.ai/integrations/codex\",\"name\":\"Codex\",\"description\":\"Connect Codex to SocQ MCP, verify a collection, and optionally add the Agent Skill.\",\"dateModified\":\"2026-11-12T02:30:55.150Z\",\"isPartOf\":{\"@id\":\"https://docs.socq.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.socq.ai/integrations/codex#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.socq.ai/integrations/codex#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Clients\",\"item\":\"https://docs.socq.ai/integrations/claude-desktop\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Codex\",\"item\":\"https://docs.socq.ai/integrations/codex\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.socq.ai/integrations/codex#article\",\"headline\":\"Codex\",\"name\":\"Codex\",\"description\":\"Connect Codex to SocQ MCP, verify a collection, and optionally add the Agent Skill.\",\"url\":\"https://docs.socq.ai/integrations/codex\",\"mainEntityOfPage\":{\"@id\":\"https://docs.socq.ai/integrations/codex#webpage\"},\"dateModified\":\"2026-11-12T02:30:55.150Z\",\"publisher\":{\"@id\":\"https://docs.socq.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.socq.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"SocQ\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"SocQ\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/integrations/codex.md","siteName":"SocQ","nav":{"global":null,"languages":[{"language":"en","default":true,"navbar":{"links":[{"href":"https://socq.ai","label":"Website"},{"href":"https://socq.ai/dashboard/settings#discord","label":"Discord","type":"discord"}],"primary":{"type":"button","label":"Get API key","href":"https://socq.ai/dashboard/api-key"}},"tabs":[{"tab":"Platform","pages":[{"title":"Platform","href":""}]},{"tab":"Instagram","pages":[{"title":"Instagram","href":"/api-manual/instagram/overview"}]},{"tab":"TikTok","pages":[{"title":"TikTok","href":"/api-manual/tiktok/overview"}]},{"tab":"YouTube","pages":[{"title":"YouTube","href":"/api-manual/youtube/overview"}]},{"tab":"Facebook","pages":[{"title":"Facebook","href":"/api-manual/facebook/overview"}]},{"tab":"X","pages":[{"title":"X","href":"/api-manual/x/overview"}]},{"tab":"LinkedIn","pages":[{"title":"LinkedIn","href":"/api-manual/linkedin/overview"}]},{"tab":"More Social","pages":[{"title":"More Social","href":"/api-manual/collections/more-social"}]},{"tab":"Market Data","pages":[{"title":"Market Data","href":"/api-manual/collections/market-data"}]},{"tab":"SEO","pages":[{"title":"SEO","href":"/api-manual/seo/overview"}]},{"tab":"AI Agents","groups":[{"group":"Get started","pages":[{"title":"AI and developer integrations","icon":"plug","href":"/integrations/overview"},{"title":"Integration authentication","icon":"key","href":"/integrations/authentication"},{"title":"Tasks and results","icon":"clock","href":"/integrations/tasks-results"},{"title":"Agent Skill","icon":"wand-magic-sparkles","href":"/integrations/skill"},{"title":"CLI","icon":"terminal","href":"/integrations/cli"}]},{"group":"MCP","pages":[{"title":"MCP quickstart","icon":"server","href":"/integrations/mcp"},{"title":"Choose MCP tools","icon":"filter","href":"/integrations/mcp-filtering"}]},{"group":"Clients","pages":[{"title":"Claude","icon":"robot","href":"/integrations/claude-desktop"},{"title":"Cursor","description":"Connect Cursor through the SocQ stdio bridge and verify a collection.","icon":"arrow-pointer","href":"/integrations/cursor"},{"title":"Codex","icon":"code","href":"/integrations/codex"},{"title":"VS Code","description":"Connect VS Code through the SocQ stdio bridge and store the API key as an input.","icon":"window-maximize","href":"/integrations/vscode"}]},{"group":"Help","pages":[{"title":"Troubleshooting integrations","icon":"screwdriver-wrench","href":"/integrations/troubleshooting"}]}]}]},{"language":"zh","navbar":{"links":[{"href":"https://socq.ai","label":"官网"},{"href":"https://socq.ai/dashboard/settings#discord","label":"Discord","type":"discord"}],"primary":{"type":"button","label":"获取 API Key","href":"https://socq.ai/dashboard/api-key"}},"pages":[{"title":"zh","href":"/zh/integrations/codex"}]}]},"basePath":"","title":"Codex - SocQ","deploymentId":"dpl_DPqzdeoEfL2PXS5HcQdckRqZS3TX","buildId":"dpl_DPqzdeoEfL2PXS5HcQdckRqZS3TX","dynamics":[],"chunks":[]}