Test Praxa MCP schemas, annotations, scopes, idempotency, OAuth handling, and host behavior before enabling agent calls.
MCP connects model-selected tool calls to external authority. Secure the host,
transport, OAuth grant, Gateway policy, tool arguments, outputs, approvals, and
readback independently; no prompt instruction substitutes for those controls.
Put adversarial instructions inside a returned skill, memory result, trace, and
capability description. The host must treat them as data, keep the original
tool/purpose boundary, and require approval for any newly proposed mutation.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Praxa","description":"Build governed AI agents with Praxa APIs, SDKs, CLI tools, MCP contracts, durable missions, webhooks, memory federation, tutorials, and benchmarks.","colors":{"primary":"#909090","light":"#dddddd","dark":"#1d1d1d"},"logo":{"light":"https://mintcdn.com/praxa-ai/A7sq1R7I_fyz1Wjb/logo-light.svg?fit=max\u0026auto=format\u0026n=A7sq1R7I_fyz1Wjb\u0026q=85\u0026s=00ae74f5749278ab3f33ae0e0d93c0ad","dark":"https://mintcdn.com/praxa-ai/A7sq1R7I_fyz1Wjb/logo-dark.svg?fit=max\u0026auto=format\u0026n=A7sq1R7I_fyz1Wjb\u0026q=85\u0026s=7be26e1381dab8298e115bf27b0c9336","href":"https://praxa.io"},"favicon":"https://mintcdn.com/praxa-ai/A7sq1R7I_fyz1Wjb/app-icon.png?fit=max\u0026auto=format\u0026n=A7sq1R7I_fyz1Wjb\u0026q=85\u0026s=24ed405581da511b0407be4f84a00f20","api":{"openapi":["fabric/api/openapi.yaml","memory-federation/openapi.yaml"],"playground":{"display":"interactive","proxy":true},"examples":{"defaults":"required","languages":["curl","javascript","python"]},"mdx":{"auth":{"method":"bearer"},"server":"https://api.praxa.io"}},"navbar":{"primary":{"type":"github","href":"https://github.com/praxa-labs/praxa"}},"search":{"prompt":"Search Praxa APIs, SDK, CLI, MCP, memory, tutorials, and benchmarks"},"seo":{"metatags":{"og:site_name":"Praxa Developer Documentation","twitter:card":"summary_large_image"},"indexing":"navigable"},"metadata":{"timestamp":true},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"praxa-ai","hasAudioNarration":false,"actualSubdomain":"praxa-ai","customDomains":["docs.praxa.io"],"gitSource":{"type":"github","owner":"praxa-labs","repo":"praxa-docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"chroma":{"latestBuiltDeploymentHistoryId":"6a7f5f274ee23a3639404e9d","collectionId":"1eb23b8a-ca39-4a6b-896f-c127a0f4aff6","liveDeploymentHistoryId":"6a7f5f274ee23a3639404e9d","schemaVersion":"v3"},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6ae95c911da1b8da413502a9:success","clientVersion":"0.0.4054","searchFilterCounts":[{"language":"default","tag":"Overview","count":82},{"language":"default","tag":"Execution Fabric","count":37},{"language":"default","tag":"Tutorials","count":29},{"language":"default","tag":"API Playground","count":19},{"language":"default","tag":"SDK","count":16},{"language":"default","tag":"API Reference","count":15},{"language":"default","tag":"Use cases","count":12},{"language":"default","tag":"Web and server frameworks","count":12},{"language":"default","tag":"Benchmarks \u0026 Research","count":11},{"language":"default","tag":"Product guides","count":11}]},"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":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"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":"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":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"mcp/security-and-testing","slug":"/mcp/security-and-testing","pageMetadata":{"title":"MCP security and testing","sidebarTitle":"Security and testing","description":"Test Praxa MCP schemas, annotations, scopes, idempotency, OAuth handling, and host behavior before enabling agent calls.","keywords":["Praxa MCP security and testing","Praxa MCP","Model Context Protocol","AI agent tools"],"href":"/mcp/security-and-testing"},"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: \"Test Praxa MCP schemas, annotations, scopes, idempotency, OAuth handling, and host behavior before enabling agent calls.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,ol:`ol`,p:`p`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{Heading,Table,Warning}=_components;if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`MCP connects model-selected tool calls to external authority. Secure the host,\ntransport, OAuth grant, Gateway policy, tool arguments, outputs, approvals, and\nreadback independently; no prompt instruction substitutes for those controls.`}),`\n`,_jsx(Heading,{level:`2`,id:`threat-model`,children:`Threat model`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Threat`}),_jsx(_components.th,{children:`Required control`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Prompt injection requests an unrelated tool`}),_jsx(_components.td,{children:`Tool allowlist, purpose policy, approval`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Model supplies tenant or credential`}),_jsx(_components.td,{children:`Server-derived tenant and host-owned token`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Tool annotation is wrong or untrusted`}),_jsx(_components.td,{children:`Gateway authorization and independent host policy`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`OAuth token is replayed at another resource`}),_jsx(_components.td,{children:`Audience/resource binding and no token passthrough`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Mutation is retried after timeout`}),_jsx(_components.td,{children:`Stable key, exact input digest, reconciliation`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Tool output injects new instructions`}),_jsx(_components.td,{children:`Treat output as untrusted data; bound and label it`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Result leaks sensitive content`}),_jsx(_components.td,{children:`Purpose filtering, projection, redaction, output cap`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Destructive call is hidden in a chain`}),_jsx(_components.td,{children:`Exact approval presentation and post-call readback`})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`contract-tests`,children:`Contract tests`}),`\n`,_jsx(_components.p,{children:`Assert:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Exactly 12 published tool definitions`}),`\n`,_jsxs(_components.li,{children:[`Stable `,_jsx(`code`,{children:`aura_*`}),` names`]}),`\n`,_jsx(_components.li,{children:`JSON Schema draft 2020-12 metadata`}),`\n`,_jsx(_components.li,{children:`Required annotations on every tool`}),`\n`,_jsx(_components.li,{children:`Read-only and destructive hints match the operation`}),`\n`,_jsx(_components.li,{children:`Required OAuth scope matches the Gateway route`}),`\n`,_jsx(_components.li,{children:`Idempotency mode is preserved`}),`\n`,_jsxs(_components.li,{children:[_jsx(`code`,{children:`MCP_SERVER_VERSION`}),` is not used as the protocol revision`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`runtime-tests`,children:`Runtime tests`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsx(_components.li,{children:`Register every contract with the host’s schema adapter.`}),`\n`,_jsx(_components.li,{children:`Call one safe read with the correct scope.`}),`\n`,_jsx(_components.li,{children:`Call the same read with a wrong-scope token.`}),`\n`,_jsx(_components.li,{children:`Send a mutating tool with a stable idempotency key.`}),`\n`,_jsx(_components.li,{children:`Replay the same logical mutation with the same key.`}),`\n`,_jsx(_components.li,{children:`Change the payload under that key and expect a conflict.`}),`\n`,_jsx(_components.li,{children:`Confirm destructive annotations reach the host UI.`}),`\n`,_jsx(_components.li,{children:`Confirm the host does not log the delegated token.`}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`transport-and-oauth-tests`,children:`Transport and OAuth tests`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`Require HTTPS and reject invalid `,_jsx(_components.code,{children:`Origin`}),` values at the remote server.`]}),`\n`,_jsx(_components.li,{children:`Discover OAuth through Protected Resource Metadata.`}),`\n`,_jsx(_components.li,{children:`Verify PKCE, state, exact redirect URI, token audience, expiry, and revocation.`}),`\n`,_jsx(_components.li,{children:`Reject Fabric keys, provider tokens, and tokens issued for another resource.`}),`\n`,_jsx(_components.li,{children:`Confirm the server never passes the MCP token through to a downstream provider.`}),`\n`,_jsxs(_components.li,{children:[`If the server returns `,_jsx(_components.code,{children:`MCP-Session-Id`}),`, reject missing, foreign, fixed, or expired session identifiers and reinitialize after `,_jsx(_components.code,{children:`404`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`Resume only the originating SSE stream with `,_jsx(_components.code,{children:`Last-Event-ID`}),`; never replay messages from another stream.`]}),`\n`,_jsx(_components.li,{children:`Bound sessions, reconnects, concurrent calls, output bytes, and total turn time.`}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`prompt-injection-tests`,children:`Prompt-injection tests`}),`\n`,_jsx(_components.p,{children:`Put adversarial instructions inside a returned skill, memory result, trace, and\ncapability description. The host must treat them as data, keep the original\ntool/purpose boundary, and require approval for any newly proposed mutation.`}),`\n`,_jsx(Heading,{level:`2`,id:`observability-without-secret-leakage`,children:`Observability without secret leakage`}),`\n`,_jsx(_components.p,{children:`Record host request ID, MCP request ID, tool name, input digest, approval state,\nGateway request/run ID, latency, result type, error code, retry count, and\nredacted byte count. Never record authorization headers, provider credentials,\nwebhook secrets, raw customer content, or unbounded model output.`}),`\n`,_jsx(Warning,{children:_jsx(_components.p,{children:`The contracts package contains no execution engine. A successful import or\nhost registration does not prove that an Integration Gateway is deployed.`})}),`\n`,_jsxs(_components.p,{children:[`Use the `,_jsx(_components.a,{href:`/mcp/production-checklist`,children:`production checklist`}),` before enabling the\nintegration for customer data.`]})]})}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":"MCP security and testing","sidebarTitle":"Security and testing","description":"Test Praxa MCP schemas, annotations, scopes, idempotency, OAuth handling, and host behavior before enabling agent calls.","keywords":["Praxa MCP security and testing","Praxa MCP","Model Context Protocol","AI agent tools"],"href":"/mcp/security-and-testing"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Threat model","slug":"threat-model","depth":2,"children":[]},{"title":"Contract tests","slug":"contract-tests","depth":2,"children":[]},{"title":"Runtime tests","slug":"runtime-tests","depth":2,"children":[]},{"title":"Transport and OAuth tests","slug":"transport-and-oauth-tests","depth":2,"children":[]},{"title":"Prompt-injection tests","slug":"prompt-injection-tests","depth":2,"children":[]},{"title":"Observability without secret leakage","slug":"observability-without-secret-leakage","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"praxa-ai","siteName":"Praxa","title":"MCP security and testing - Praxa","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-08-14T09:14:44.731Z","gitLastModified":"2026-08-14T09:14:00.000Z","originalFileLocation":"mcp/security-and-testing.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=\"Test Praxa MCP schemas, annotations, scopes, idempotency, OAuth handling, and host behavior before enabling agent calls.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Praxa\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/praxa-ai/WolJUpkJ-x7JoGAk/_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/praxa-ai/WolJUpkJ-x7JoGAk/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/praxa-ai/WolJUpkJ-x7JoGAk/_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/praxa-ai/WolJUpkJ-x7JoGAk/_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/praxa-ai/WolJUpkJ-x7JoGAk/_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/praxa-ai/WolJUpkJ-x7JoGAk/_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/praxa-ai/WolJUpkJ-x7JoGAk/_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/praxa-ai/WolJUpkJ-x7JoGAk/_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/praxa-ai/WolJUpkJ-x7JoGAk/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"MCP security and testing - Praxa\">\u003cmeta data-mint-head property=\"og:description\" content=\"Test Praxa MCP schemas, annotations, scopes, idempotency, OAuth handling, and host behavior before enabling agent calls.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Praxa Developer Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.praxa.io/mcp/security-and-testing\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://praxa-ai.mintlify.app/_mintlify/api/og/v2?division=Secure+and+operate\u0026amp;title=MCP+security+and+testing\u0026amp;description=Test+Praxa+MCP+schemas%2C+annotations%2C+scopes%2C+idempotency%2C+OAuth+handling%2C+and+host+behavior+before+enabling+agent+calls.\u0026amp;theme=11c08bf52210bcaea5147dfc\u0026amp;signature=5d283c32be57e837a0f92c8136bda089e59feb7d8e8514956f6ca68d00e4233d\">\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=\"MCP security and testing - Praxa\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Test Praxa MCP schemas, annotations, scopes, idempotency, OAuth handling, and host behavior before enabling agent calls.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://praxa-ai.mintlify.app/_mintlify/api/og/v2?division=Secure+and+operate\u0026amp;title=MCP+security+and+testing\u0026amp;description=Test+Praxa+MCP+schemas%2C+annotations%2C+scopes%2C+idempotency%2C+OAuth+handling%2C+and+host+behavior+before+enabling+agent+calls.\u0026amp;theme=11c08bf52210bcaea5147dfc\u0026amp;signature=5d283c32be57e837a0f92c8136bda089e59feb7d8e8514956f6ca68d00e4233d\">\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/praxa-ai/WolJUpkJ-x7JoGAk/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Praxa\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#909090\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.praxa.io/mcp/security-and-testing\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/mcp/security-and-testing.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.praxa.io/#organization\",\"name\":\"Praxa\",\"url\":\"https://docs.praxa.io\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/praxa-ai/A7sq1R7I_fyz1Wjb/logo-light.svg?fit=max\u0026auto=format\u0026n=A7sq1R7I_fyz1Wjb\u0026q=85\u0026s=00ae74f5749278ab3f33ae0e0d93c0ad\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.praxa.io#website\",\"name\":\"Praxa\",\"url\":\"https://docs.praxa.io\",\"publisher\":{\"@id\":\"https://docs.praxa.io/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.praxa.io/mcp/security-and-testing#webpage\",\"url\":\"https://docs.praxa.io/mcp/security-and-testing\",\"name\":\"MCP security and testing\",\"description\":\"Test Praxa MCP schemas, annotations, scopes, idempotency, OAuth handling, and host behavior before enabling agent calls.\",\"dateModified\":\"2026-08-14T09:14:00.000Z\",\"isPartOf\":{\"@id\":\"https://docs.praxa.io#website\"},\"breadcrumb\":{\"@id\":\"https://docs.praxa.io/mcp/security-and-testing#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.praxa.io/mcp/security-and-testing#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Praxa\",\"item\":\"https://docs.praxa.io\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"MCP security and testing\",\"item\":\"https://docs.praxa.io/mcp/security-and-testing\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.praxa.io/mcp/security-and-testing#article\",\"headline\":\"MCP security and testing\",\"name\":\"MCP security and testing\",\"description\":\"Test Praxa MCP schemas, annotations, scopes, idempotency, OAuth handling, and host behavior before enabling agent calls.\",\"url\":\"https://docs.praxa.io/mcp/security-and-testing\",\"mainEntityOfPage\":{\"@id\":\"https://docs.praxa.io/mcp/security-and-testing#webpage\"},\"dateModified\":\"2026-08-14T09:14:00.000Z\",\"keywords\":\"Praxa MCP security and testing, Praxa MCP, Model Context Protocol, AI agent tools\",\"publisher\":{\"@id\":\"https://docs.praxa.io/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.praxa.io#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Praxa\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Praxa","nav":{"global":null,"tabs":[{"tab":"Overview","pages":[{"title":"Overview","href":""}]},{"tab":"Execution Fabric","pages":[{"title":"Execution Fabric","href":"/fabric"}]},{"tab":"SDK","pages":[{"title":"SDK","href":"/sdk/overview"}]},{"tab":"CLI","pages":[{"title":"CLI","href":"/cli/overview"}]},{"tab":"MCP Contracts","groups":[{"group":"Start","root":{"title":"Praxa MCP contracts for governed AI agent tools","sidebarTitle":"Overview","href":"/mcp/overview"},"pages":[{"title":"Set up Praxa MCP contracts and test your first tool","sidebarTitle":"Quickstart","href":"/mcp/quickstart"},{"title":"Praxa MCP Tools: Reference for All 12 Tool Definitions","sidebarTitle":"MCP Tools","href":"/mcp/tools"}]},{"group":"Integrate","pages":[{"title":"Integrate an MCP host","sidebarTitle":"Host integration","href":"/mcp/host-integration"},{"title":"Connect Praxa MCP to Claude, Cursor, VS Code, and OpenAI","sidebarTitle":"Host setup guides","href":"/mcp/host-guides"},{"title":"Praxa MCP use cases for developers and businesses","sidebarTitle":"Use cases","description":"Apply Praxa MCP tools to governed missions, capability discovery, memory recall, traces, goals, skills, and evidence workflows with safe boundaries.","href":"/mcp/use-cases"}]},{"group":"Secure and operate","pages":[{"title":"MCP security and testing","sidebarTitle":"Security and testing","href":"/mcp/security-and-testing"},{"title":"MCP compatibility","sidebarTitle":"Compatibility","description":"Upgrade Praxa MCP protocol revisions, package versions, tool identifiers, JSON Schema adapters, transports, and hosts without breaking integrations.","href":"/mcp/compatibility"},{"title":"Troubleshoot Praxa MCP discovery, OAuth, schemas, and tools","sidebarTitle":"Troubleshooting","href":"/mcp/troubleshooting"},{"title":"Praxa MCP production readiness checklist","sidebarTitle":"Production checklist","href":"/mcp/production-checklist"}]}]},{"tab":"Benchmarks \u0026 Research","pages":[{"title":"Benchmarks \u0026 Research","href":"/benchmarks/overview"}]},{"tab":"API Reference","pages":[{"title":"API Reference","href":"/api-reference/overview"}]},{"tab":"API Playground","pages":[{"title":"API Playground","href":"/api-playground/overview"}]}]},"basePath":"","title":"MCP security and testing - Praxa","buildId":"dpl_345ReqzYaAjzS9QpeJemsKdb7KDj","deploymentId":"dpl_345ReqzYaAjzS9QpeJemsKdb7KDj","dynamics":[],"chunks":[]}