Full reference for all tools exposed by the kontxt MCP server.
Once kontxt is registered with your MCP client, these tools are available by name. Your host calls them automatically. Most users never invoke them manually.
How hosts use these tools
Most MCP hosts follow the same loop:
Your message provides a task.
The host decides whether it needs context.
The host calls get_relevant_context with a query derived from your task.
The host injects returned memories into the prompt as grounding context.
During the conversation, the host may call store_memory or summarization tools when it identifies durable information.
This means you should treat your vault like a source of stable facts, preferences, and decisions. You should not treat it as a raw transcript log.
Tool conventions
Most tools use the same ideas:
query is a natural language string.
limit controls how many results are returned.
project scopes to a named project when provided.
Returned memories include an id. You can use that id for edit or delete workflows.
get_relevant_context
Semantic search over your vault. Returns the top-ranked memories for the active task.When it’s called: At the start of most sessions, or when the host determines context would be useful.Returns: An ordered list of memories ranked by relevance to the current task.
Write a durable memory from the current conversation.When it’s called: When you or the AI identifies something worth preserving, such as a decision, a preference, or a fact.
{ "tool": "store_memory", "input": { "content": "Uses JWT with 7-day expiry for API auth", "type": "decision", "importance": 0.9 }}
Choosing a type
Use types consistently. Retrieval quality improves when types match intent.Recommended mapping:
preference for stable personal preferences.
fact for stable project facts and identity facts.
project for ongoing context that is not a single fact.
decision for decisions and tradeoffs.
skill for capabilities and workflows.
episodic for context you may want later but that is not permanent.
store_conversation_summary
Summarize and store a full thread as a single memory entry.When it’s called: At the end of a long session to compress the context into something retrievable later.
Use summaries when a session contains multiple decisions and stable facts, but storing each as a separate memory would be noisy.Summaries are most useful for:
Technical design sessions
Project planning sessions
Debugging sessions with a clear root cause
auto_capture
Like store_conversation_summary, but with stronger automatic typing/classification. Useful when you want passive “extract the durable bits” behavior.
auto_capture is opt-in and disabled by default. Enable it only if you want more passive capture.
Suggested workflow
If your host supports it, use auto capture near the end of a long session. It can extract multiple typed entries that are easier to retrieve later than a single long summary.
get_user_profile
Returns preferences and facts grouped for grounding. Used to establish who you are at the start of a session.When it’s called: When the host needs a baseline context snapshot, typically on the first message.Returns: A structured profile derived from your stored preferences and facts.
What belongs in a profile
Profiles are useful when they stay stable.Good profile content:
Your preferred language and formatting.
Your default stack and tools.
Stable constraints, such as “keep answers concise” or “prefer SQL migrations over ORM magic”.
Deletion is permanent because the vault is local. If you need undo, back up your database file periodically.
Tool availability
Tool
Status
get_relevant_context
Available
search_memories
Available
list_memories
Available
store_memory
Available
store_conversation_summary
Available
get_user_profile
Available
auto_capture
Available. Opt in.
delete_memory
Available
Prompt resource: kontxt_context
Some hosts support prompt “resources” that are injected at session start. kontxt exposes a kontxt_context resource that provides top-ranked memories as grounding context.If your host supports prompt resources, this is the simplest way to get “always on” grounding without manually requesting context.
Was this page helpful?
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"4StaX","colors":{"primary":"#8B7CFF","light":"#A99FFF","dark":"#6B5CDF"},"logo":{"light":"https://mintcdn.com/4stax-806fdcd3/0IfZadW8ku_EcZZd/logo/4stax-default-light.png?fit=max\u0026auto=format\u0026n=0IfZadW8ku_EcZZd\u0026q=85\u0026s=4a62ea18ce5cad2ce8eedcaf27489a61","dark":"https://mintcdn.com/4stax-806fdcd3/0IfZadW8ku_EcZZd/logo/4stax-default-dark.png?fit=max\u0026auto=format\u0026n=0IfZadW8ku_EcZZd\u0026q=85\u0026s=f4718eed2ef417a46bf8c570d8b51d3a"},"favicon":"/favicon.svg","navbar":{"links":[{"href":"https://4stax.com","label":"4StaX"}],"primary":{"type":"button","label":"Join waitlist","href":"https://4stax.com/#waitlist"}},"footer":{"socials":{"x":"https://x.com/4stax","github":"https://github.com/4stax-hq","linkedin":"https://linkedin.com/company/4stax"}},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"4stax-806fdcd3","hasAudioNarration":false,"actualSubdomain":"4stax-806fdcd3","customDomains":["docs.4stax.com"],"gitSource":{"type":"github","owner":"4stax-hq","repo":"documentation","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"feedback":{"thumbs":true},"entitlements":{},"buildId":"6ae94b30a79c9948d2459940:success","clientVersion":"0.0.4131","searchFilterCounts":[{"language":"default","tag":"Docs","count":15},{"language":"default","tag":"API Reference","count":8},{"language":"default","tag":"Guides","count":8},{"language":"default","tag":"Memory","count":5},{"language":"default","tag":"Developers","count":4},{"language":"default","tag":"Get started","count":3},{"language":"default","tag":"Vault","count":3}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true,"deflection":{"enabled":true,"email":"support@4stax.com","showHelpButton":true}},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"developers/mcp-tools","slug":"/developers/mcp-tools","pageMetadata":{"title":"MCP tools","description":"Full reference for all tools exposed by the kontxt MCP server.","href":"/developers/mcp-tools"},"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: \"Full reference for all tools exposed by the kontxt MCP server.\"\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={code:`code`,hr:`hr`,li:`li`,ol:`ol`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{CodeBlock,Heading,Table,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Once kontxt is registered with your MCP client, these tools are available by name. Your host calls them automatically. Most users never invoke them manually.`}),`\n`,_jsx(Heading,{level:`2`,id:`how-hosts-use-these-tools`,children:`How hosts use these tools`}),`\n`,_jsx(_components.p,{children:`Most MCP hosts follow the same loop:`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsx(_components.li,{children:`Your message provides a task.`}),`\n`,_jsx(_components.li,{children:`The host decides whether it needs context.`}),`\n`,_jsxs(_components.li,{children:[`The host calls `,_jsx(_components.code,{children:`get_relevant_context`}),` with a query derived from your task.`]}),`\n`,_jsx(_components.li,{children:`The host injects returned memories into the prompt as grounding context.`}),`\n`,_jsxs(_components.li,{children:[`During the conversation, the host may call `,_jsx(_components.code,{children:`store_memory`}),` or summarization tools when it identifies durable information.`]}),`\n`]}),`\n`,_jsx(_components.p,{children:`This means you should treat your vault like a source of stable facts, preferences, and decisions. You should not treat it as a raw transcript log.`}),`\n`,_jsx(Heading,{level:`2`,id:`tool-conventions`,children:`Tool conventions`}),`\n`,_jsx(_components.p,{children:`Most tools use the same ideas:`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`query`}),` is a natural language string.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`limit`}),` controls how many results are returned.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`project`}),` scopes to a named project when provided.`]}),`\n`,_jsx(_components.li,{children:`Returned memories include an id. You can use that id for edit or delete workflows.`}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`get_relevant_context`,children:`get_relevant_context`}),`\n`,_jsx(_components.p,{children:`Semantic search over your vault. Returns the top-ranked memories for the active task.`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`When it’s called:`}),` At the start of most sessions, or when the host determines context would be useful.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Returns:`}),` An ordered list of memories ranked by relevance to the current task.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`7`,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:`7`,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:` \"tool\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"get_relevant_context\"`}),_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:` \"input\"`}),_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:` \"query\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"auth implementation preferences\"`}),_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:` \"limit\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`5`})]}),`\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(Heading,{level:`3`,id:`how-to-think-about-query`,children:[`How to think about `,_jsx(_components.code,{children:`query`})]}),`\n`,_jsx(_components.p,{children:`A good query is specific. It should name the topic and the intent.`}),`\n`,_jsx(_components.p,{children:`Examples:`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsx(_components.li,{children:`“auth architecture decisions”`}),`\n`,_jsx(_components.li,{children:`“repo stack and conventions”`}),`\n`,_jsx(_components.li,{children:`“preferred formatting and tone”`}),`\n`]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`search_memories`,children:`search_memories`}),`\n`,_jsx(_components.p,{children:`Search your vault with scores and stable IDs (useful for follow-up actions like edit/delete).`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`7`,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:`7`,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:` \"tool\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"search_memories\"`}),_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:` \"input\"`}),_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:` \"query\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"language preferences\"`}),_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:` \"limit\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`20`})]}),`\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`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`list_memories`,children:`list_memories`}),`\n`,_jsx(_components.p,{children:`List vault contents, optionally filtered (for example by project).`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`7`,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:`7`,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:` \"tool\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"list_memories\"`}),_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:` \"input\"`}),_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:` \"project\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"4stax\"`}),_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:` \"limit\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`50`})]}),`\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`,_jsx(Heading,{level:`3`,id:`common-uses`,children:`Common uses`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsx(_components.li,{children:`You want to browse everything you have stored.`}),`\n`,_jsx(_components.li,{children:`You want to inspect a project scoped memory set.`}),`\n`,_jsx(_components.li,{children:`You want to find an id to delete or edit.`}),`\n`]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`store_memory`,children:`store_memory`}),`\n`,_jsx(_components.p,{children:`Write a durable memory from the current conversation.`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`When it’s called:`}),` When you or the AI identifies something worth preserving, such as a decision, a preference, or a fact.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`8`,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:`8`,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:` \"tool\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"store_memory\"`}),_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:` \"input\"`}),_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:` \"content\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Uses JWT with 7-day expiry for API auth\"`}),_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:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"decision\"`}),_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:` \"importance\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0.9`})]}),`\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`,_jsx(Heading,{level:`3`,id:`choosing-a-type`,children:`Choosing a type`}),`\n`,_jsx(_components.p,{children:`Use types consistently. Retrieval quality improves when types match intent.`}),`\n`,_jsx(_components.p,{children:`Recommended mapping:`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`preference`}),` for stable personal preferences.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`fact`}),` for stable project facts and identity facts.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`project`}),` for ongoing context that is not a single fact.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`decision`}),` for decisions and tradeoffs.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`skill`}),` for capabilities and workflows.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`episodic`}),` for context you may want later but that is not permanent.`]}),`\n`]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`store_conversation_summary`,children:`store_conversation_summary`}),`\n`,_jsx(_components.p,{children:`Summarize and store a full thread as a single memory entry.`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`When it’s called:`}),` At the end of a long session to compress the context into something retrievable later.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`7`,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:`7`,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:` \"tool\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"store_conversation_summary\"`}),_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:` \"input\"`}),_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:` \"summary\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Designed the memory relevance scoring system. Decided on 4-signal ranking: semantic similarity, recency, frequency, importance.\"`}),_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:` \"session_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"abc123\"`})]}),`\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`,_jsx(Heading,{level:`3`,id:`when-to-use-summaries`,children:`When to use summaries`}),`\n`,_jsx(_components.p,{children:`Use summaries when a session contains multiple decisions and stable facts, but storing each as a separate memory would be noisy.`}),`\n`,_jsx(_components.p,{children:`Summaries are most useful for:`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsx(_components.li,{children:`Technical design sessions`}),`\n`,_jsx(_components.li,{children:`Project planning sessions`}),`\n`,_jsx(_components.li,{children:`Debugging sessions with a clear root cause`}),`\n`]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`auto_capture`,children:`auto_capture`}),`\n`,_jsxs(_components.p,{children:[`Like `,_jsx(_components.code,{children:`store_conversation_summary`}),`, but with stronger automatic typing/classification. Useful when you want passive “extract the durable bits” behavior.`]}),`\n`,_jsx(Warning,{children:_jsx(_components.p,{children:`auto_capture is opt-in and disabled by default. Enable it only if you want more passive capture.`})}),`\n`,_jsx(Heading,{level:`3`,id:`suggested-workflow`,children:`Suggested workflow`}),`\n`,_jsx(_components.p,{children:`If your host supports it, use auto capture near the end of a long session. It can extract multiple typed entries that are easier to retrieve later than a single long summary.`}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`get_user_profile`,children:`get_user_profile`}),`\n`,_jsx(_components.p,{children:`Returns preferences and facts grouped for grounding. Used to establish who you are at the start of a session.`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`When it’s called:`}),` When the host needs a baseline context snapshot, typically on the first message.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Returns:`}),` A structured profile derived from your stored preferences and facts.`]}),`\n`,_jsx(Heading,{level:`3`,id:`what-belongs-in-a-profile`,children:`What belongs in a profile`}),`\n`,_jsx(_components.p,{children:`Profiles are useful when they stay stable.`}),`\n`,_jsx(_components.p,{children:`Good profile content:`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsx(_components.li,{children:`Your preferred language and formatting.`}),`\n`,_jsx(_components.li,{children:`Your default stack and tools.`}),`\n`,_jsx(_components.li,{children:`Stable constraints, such as “keep answers concise” or “prefer SQL migrations over ORM magic”.`}),`\n`]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`delete_memory`,children:`delete_memory`}),`\n`,_jsx(_components.p,{children:`Delete a memory by ID.`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`6`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`6`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"tool\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"delete_memory\"`}),_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:` \"input\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"mem_abc123\"`})]}),`\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`,_jsx(Heading,{level:`3`,id:`safety-note`,children:`Safety note`}),`\n`,_jsx(_components.p,{children:`Deletion is permanent because the vault is local. If you need undo, back up your database file periodically.`}),`\n`,_jsx(Heading,{level:`2`,id:`tool-availability`,children:`Tool availability`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Tool`}),_jsx(_components.th,{children:`Status`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`get_relevant_context`})}),_jsx(_components.td,{children:`Available`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`search_memories`})}),_jsx(_components.td,{children:`Available`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`list_memories`})}),_jsx(_components.td,{children:`Available`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`store_memory`})}),_jsx(_components.td,{children:`Available`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`store_conversation_summary`})}),_jsx(_components.td,{children:`Available`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`get_user_profile`})}),_jsx(_components.td,{children:`Available`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`auto_capture`})}),_jsx(_components.td,{children:`Available. Opt in.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`delete_memory`})}),_jsx(_components.td,{children:`Available`})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`prompt-resource-kontxt_context`,children:`Prompt resource: kontxt_context`}),`\n`,_jsxs(_components.p,{children:[`Some hosts support prompt “resources” that are injected at session start. kontxt exposes a `,_jsx(_components.code,{children:`kontxt_context`}),` resource that provides top-ranked memories as grounding context.`]}),`\n`,_jsx(_components.p,{children:`If your host supports prompt resources, this is the simplest way to get “always on” grounding without manually requesting context.`})]})}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 tools","description":"Full reference for all tools exposed by the kontxt MCP server.","href":"/developers/mcp-tools"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"How hosts use these tools","slug":"how-hosts-use-these-tools","depth":2,"children":[]},{"title":"Tool conventions","slug":"tool-conventions","depth":2,"children":[]},{"title":"get_relevant_context","slug":"get_relevant_context","depth":2,"children":[{"title":"How to think about query","slug":"how-to-think-about-query","depth":3,"children":[]}]},{"title":"search_memories","slug":"search_memories","depth":2,"children":[]},{"title":"list_memories","slug":"list_memories","depth":2,"children":[{"title":"Common uses","slug":"common-uses","depth":3,"children":[]}]},{"title":"store_memory","slug":"store_memory","depth":2,"children":[{"title":"Choosing a type","slug":"choosing-a-type","depth":3,"children":[]}]},{"title":"store_conversation_summary","slug":"store_conversation_summary","depth":2,"children":[{"title":"When to use summaries","slug":"when-to-use-summaries","depth":3,"children":[]}]},{"title":"auto_capture","slug":"auto_capture","depth":2,"children":[{"title":"Suggested workflow","slug":"suggested-workflow","depth":3,"children":[]}]},{"title":"get_user_profile","slug":"get_user_profile","depth":2,"children":[{"title":"What belongs in a profile","slug":"what-belongs-in-a-profile","depth":3,"children":[]}]},{"title":"delete_memory","slug":"delete_memory","depth":2,"children":[{"title":"Safety note","slug":"safety-note","depth":3,"children":[]}]},{"title":"Tool availability","slug":"tool-availability","depth":2,"children":[]},{"title":"Prompt resource: kontxt_context","slug":"prompt-resource-kontxt_context","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"4stax-806fdcd3","siteName":"4StaX","title":"MCP tools - 4StaX","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-03-31T03:10:14.207Z","originalFileLocation":"developers/mcp-tools.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=\"Full reference for all tools exposed by the kontxt MCP server.\">\u003cmeta data-mint-head name=\"application-name\" content=\"4StaX\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/4stax-806fdcd3/hM6FUVppj8cVtXvp/_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/4stax-806fdcd3/hM6FUVppj8cVtXvp/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/4stax-806fdcd3/hM6FUVppj8cVtXvp/_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/4stax-806fdcd3/hM6FUVppj8cVtXvp/_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/4stax-806fdcd3/hM6FUVppj8cVtXvp/_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/4stax-806fdcd3/hM6FUVppj8cVtXvp/_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/4stax-806fdcd3/hM6FUVppj8cVtXvp/_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/4stax-806fdcd3/hM6FUVppj8cVtXvp/_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/4stax-806fdcd3/hM6FUVppj8cVtXvp/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"MCP tools - 4StaX\">\u003cmeta data-mint-head property=\"og:description\" content=\"Full reference for all tools exposed by the kontxt MCP server.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"4StaX\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.4stax.com/developers/mcp-tools\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://4stax-806fdcd3.mintlify.site/_mintlify/api/og/v2?division=Developers\u0026amp;title=MCP+tools\u0026amp;description=Full+reference+for+all+tools+exposed+by+the+kontxt+MCP+server.\u0026amp;theme=31ab1c22336a63a5a2a0c205\u0026amp;signature=a2a8253dec13d5e15976e8044b3667ad528772581bd2af61f1537327fec02b4e\">\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 tools - 4StaX\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Full reference for all tools exposed by the kontxt MCP server.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://4stax-806fdcd3.mintlify.site/_mintlify/api/og/v2?division=Developers\u0026amp;title=MCP+tools\u0026amp;description=Full+reference+for+all+tools+exposed+by+the+kontxt+MCP+server.\u0026amp;theme=31ab1c22336a63a5a2a0c205\u0026amp;signature=a2a8253dec13d5e15976e8044b3667ad528772581bd2af61f1537327fec02b4e\">\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/4stax-806fdcd3/hM6FUVppj8cVtXvp/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"4StaX\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#8B7CFF\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.4stax.com/developers/mcp-tools\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/developers/mcp-tools.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.4stax.com/#organization\",\"name\":\"4StaX\",\"url\":\"https://docs.4stax.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/4stax-806fdcd3/0IfZadW8ku_EcZZd/logo/4stax-default-light.png?fit=max\u0026auto=format\u0026n=0IfZadW8ku_EcZZd\u0026q=85\u0026s=4a62ea18ce5cad2ce8eedcaf27489a61\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.4stax.com#website\",\"name\":\"4StaX\",\"url\":\"https://docs.4stax.com\",\"publisher\":{\"@id\":\"https://docs.4stax.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.4stax.com/developers/mcp-tools#webpage\",\"url\":\"https://docs.4stax.com/developers/mcp-tools\",\"name\":\"MCP tools\",\"description\":\"Full reference for all tools exposed by the kontxt MCP server.\",\"dateModified\":\"2026-03-31T03:10:14.207Z\",\"isPartOf\":{\"@id\":\"https://docs.4stax.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.4stax.com/developers/mcp-tools#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.4stax.com/developers/mcp-tools#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Developers\",\"item\":\"https://docs.4stax.com/developers/kontxt\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"MCP tools\",\"item\":\"https://docs.4stax.com/developers/mcp-tools\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.4stax.com/developers/mcp-tools#article\",\"headline\":\"MCP tools\",\"name\":\"MCP tools\",\"description\":\"Full reference for all tools exposed by the kontxt MCP server.\",\"url\":\"https://docs.4stax.com/developers/mcp-tools\",\"mainEntityOfPage\":{\"@id\":\"https://docs.4stax.com/developers/mcp-tools#webpage\"},\"dateModified\":\"2026-03-31T03:10:14.207Z\",\"publisher\":{\"@id\":\"https://docs.4stax.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.4stax.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"4StaX\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"4StaX\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/developers/mcp-tools.md","siteName":"4StaX","nav":{"global":null,"tabs":[{"tab":"Docs","groups":[{"group":"Get started","pages":[{"title":"What is 4StaX?","href":"/introduction/what-is-4stax"},{"title":"Quickstart","href":"/introduction/quickstart"},{"title":"Core concepts","href":"/introduction/concepts"}]},{"group":"Memory","pages":[{"title":"Memory overview","href":"/memory/overview"},{"title":"How memory works","href":"/memory/how-it-works"},{"title":"MCP setup","href":"/memory/mcp-setup"},{"title":"Relevance ranking","href":"/memory/relevance-ranking"},{"title":"Memory types","href":"/memory/types"}]},{"group":"Vault","pages":[{"title":"Vault overview","href":"/vault/overview"},{"title":"Permissions","href":"/vault/permissions"},{"title":"Consent ledger","href":"/vault/consent-ledger"}]},{"group":"Developers","pages":[{"title":"kontxt","description":"The open source MCP memory server at the core of 4StaX.","href":"/developers/kontxt"},{"title":"MCP tools","href":"/developers/mcp-tools"},{"title":"CLI reference","description":"All kontxt CLI commands and flags.","href":"/developers/cli"},{"title":"Self-hosting","href":"/developers/self-hosting"}]}]},{"tab":"Guides","pages":[{"title":"Guides","href":"/guides/claude-desktop"}]},{"tab":"API Reference","pages":[{"title":"API Reference","href":"/api/overview"}]}]},"basePath":"","title":"MCP tools - 4StaX","buildId":"dpl_5joLUXmnJgwqjrHAS4dxZrQTdxgh","deploymentId":"dpl_5joLUXmnJgwqjrHAS4dxZrQTdxgh","dynamics":[],"chunks":[]}