kortex-mcp
OfficialThis MCP server lets Claude discover and semantically search enterprise datasets available through the Kortex data plane.
List collections: call
list_collectionsto see all collections the API key can access, including IDs, names, descriptions, and available version labels.Semantic search: call
retrievewith a natural-language query to search accessible collections via Amazon Bedrock Knowledge Bases.Target specific collections/versions: optionally pass
collectionsascollection_idorcollection_id:version_label; omit it to search all accessible collections at default versions.Control result count: set
number_of_results(default 10) to limit returned passages.Get rich results: each result includes
collectionId,versionLabel,content,score, andsourceUri.Respect permissions: the personal API key scopes access to only granted collections; out-of-scope requests return 403.
Provides semantic search against Amazon Bedrock Knowledge Bases through the Kortex data plane.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@kortex-mcp Search for documents about credit risk models in the regulatory collection."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
kortex-mcp
MCP server that exposes the Kortex data plane to MCP clients (Claude Desktop, Claude Code, Cursor, VS Code). Wraps the two data plane endpoints so Claude can discover and search enterprise datasets without leaving the conversation.
Prerequisites
Python 3.11+
uv(recommended) or pipA running Kortex backend data plane
A Kortex personal API key (see below) whose owner has access to at least one collection
Personal API keys
Personal keys are generated in Kortex → Integraciones → Servidor MCP. A personal key acts on behalf of the user who created it: the MCP server sees exactly the collections that user has been granted, and nothing else. The secret is shown only once — copy it straight into your client config, never commit that file, and revoke the key from the same page if it leaks.
Related MCP server: repo-semantic-search
Claude Desktop setup
In Claude Desktop go to:
Customize > Developer > Edit Config
and edit the claude_desktop_config.json config file.
Choose one of the two options below, then restart Claude Desktop. The Kortex tools will appear in the tool picker (hammer icon).
Option A — Directly from GitHub
Use this to always run the given tagged release without maintaining a local clone. uvx downloads, caches, and runs the package in one step.
{
"mcpServers": {
"kortex": {
"command": "uvx",
"args": [
"--from", "https://github.com/ibkortex/kortex_mcp/archive/refs/tags/v0.1.0.zip",
"kortex-mcp"
],
"env": {
"KORTEX_API_URL": "https://<kortex_data_plane_url>",
"KORTEX_API_KEY": "kx_live_<id>_<secret>"
}
}
}
}Option B — Local clone for active development
Use this if you have cloned the repo and want to run your working copy.
{
"mcpServers": {
"kortex": {
"command": "uv",
"args": [
"run",
"--project", "/absolute/path/to/kortex/src/kortex_mcp",
"python", "-m", "mcps.kortex_mcp.server"
],
"env": {
"KORTEX_API_URL": "http://localhost:8080",
"KORTEX_API_KEY": "kx_live_<id>_<secret>"
}
}
}
}Replace /absolute/path/to/kortex/src/kortex_mcp with the actual path on your machine.
Installing uv
# macOS / Linux
curl -LsSf https://astral.sh/uv/install.sh | sh
# Windows
winget install --id=astral-sh.uv -eClaude Code setup
claude mcp add kortex \
--env KORTEX_API_URL=https://<kortex_data_plane_url> \
--env KORTEX_API_KEY=kx_live_<id>_<secret> \
-- uvx --from https://github.com/ibkortex/kortex_mcp/archive/refs/tags/v0.1.0.zip kortex-mcpAdd --scope user to make the server available in every project (the default scope is the current project only). Check it with claude mcp list or /mcp inside a session.
Cursor setup
Create .cursor/mcp.json in your project (or ~/.cursor/mcp.json for all projects):
{
"mcpServers": {
"kortex": {
"command": "uvx",
"args": [
"--from", "https://github.com/ibkortex/kortex_mcp/archive/refs/tags/v0.1.0.zip",
"kortex-mcp"
],
"env": {
"KORTEX_API_URL": "https://<kortex_data_plane_url>",
"KORTEX_API_KEY": "kx_live_<id>_<secret>"
}
}
}
}VS Code setup
Create .vscode/mcp.json in your workspace (note the top-level key is servers and each entry needs "type": "stdio"):
{
"servers": {
"kortex": {
"type": "stdio",
"command": "uvx",
"args": [
"--from", "https://github.com/ibkortex/kortex_mcp/archive/refs/tags/v0.1.0.zip",
"kortex-mcp"
],
"env": {
"KORTEX_API_URL": "https://<kortex_data_plane_url>",
"KORTEX_API_KEY": "kx_live_<id>_<secret>"
}
}
}
}If the workspace is shared or versioned, keep the key out of the file with an inputs entry ("type": "promptString", "password": true) and reference it as "${input:<id>}".
Tools
list_collections
Lists all collections the API key has access to.
Returns each collection with:
id— use this inretrievenombre/descripcion— human-readable name and descriptionavailableVersions— logical version labels you can query (e.g.["v1", "v2"])
Call this first to discover which collection IDs and version labels are available.
retrieve(query, ...)
Semantic search against Amazon Bedrock Knowledge Bases.
Parameter | Type | Default | Description |
| string | — | Natural-language question or search phrase |
|
| all accessible | Collections to search. Each entry is |
| integer |
| Maximum passages to return |
Each result includes collectionId, versionLabel, content, score, and sourceUri.
Requesting a collection outside the API key's scope returns a 403 — Claude cannot query collections it has not been granted access to.
Testing with MCP Inspector
MCP Inspector wraps the server process and opens a local web UI where you can call tools interactively — no Claude Desktop needed.
Local clone:
npx @modelcontextprotocol/inspector \
-e KORTEX_API_KEY=kx_live_<token> \
-e KORTEX_API_URL=http://localhost:8080 \
uvx --from ~/kortex/src/kortex_mcp kortex-mcpFrom GitHub:
npx @modelcontextprotocol/inspector \
-e KORTEX_API_KEY=kx_live_<token> \
-e KORTEX_API_URL=https://<kortex_data_plane_url> \
uvx --from https://github.com/ibkortex/kortex_mcp/archive/refs/tags/v0.1.0.zip kortex-mcpSKILL
enable skill in claude
Configure env vars
Available Tools
2 toolslist_collectionsA
List all collections accessible to this API key.
Returns a list of collections, each containing:
id: unique collection identifier (use this in retrieve)
nombre / descripcion: human-readable name and description — read these to understand what a collection contains before deciding whether to query it
availableVersions: logical version labels you can query (e.g. ["v1", "v2"])
Call this before retrieve to know which collection IDs and version labels are available.
Inputs: no named parameters.
retrieveA
Semantic search across accessible collections using Amazon Bedrock Knowledge Bases.
Args: query: Natural-language question or search phrase. collections: Which collections (and optionally which version) to search. Each entry is either: - "collection_id" → search that collection at its default version - "collection_id:label" → search that collection at the given version label Omit (or pass null) to search across all collections accessible to the API key, each at its default version. Use list_collections to discover IDs and labels. number_of_results: Maximum number of passages to return (default 10).
Returns a list of results, each with:
collectionId / versionLabel: which collection and version the passage came from
content: the retrieved text passage
score: relevance score (higher is more relevant)
sourceUri: original document URI when available
Inputs: query (required), collections, number_of_results.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 2 tools
The two tools have clearly distinct purposes: list_collections is for discovery of available collections, while retrieve performs semantic search. There is no overlap or ambiguity between them.
list_collections follows a verb_noun pattern, but retrieve is a single verb without an explicit object. Both are imperative and readable, though not perfectly uniform.
With only two tools, the server feels minimal but just barely adequate for its narrow scope of collection discovery and search. It sits on the lower boundary of acceptable tool count.
The server covers the essential workflow: listing collections to discover IDs and versions, then retrieving search results. There are no obvious dead ends, though a more detailed collection metadata endpoint could be considered a minor gap.
Maintenance
Related MCP Connectors
Connect your team's living knowledge base — docs, data, issues, CRM — to Claude and ChatGPT.
Cloud or self-hosted knowledge for AI agents: hybrid search, reranking, GraphRAG, scoped MCP tools.
Connect assistants to your workspace knowledge, skills, and work tools.
Enterprise memory, search, and context for frontier AI. 38 tools for business intelligence.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables Claude to search, query, and interact with an Enterprise Knowledge Management System (EKMS). Supports semantic search, knowledge recommendations, relationship graphs, and feedback recording for enterprise knowledge bases.7MIT
- FlicenseNot gradedqualityDmaintenanceEnables semantic code search over local repositories, providing tools like semantic_search and list_indexed_repos to Claude Code, so users can find relevant code sections via natural language instead of grep.-
- AlicenseNot gradedqualityBmaintenanceExposes knowledge base retrieval tools for AI agents via the Model Context Protocol, enabling hybrid search across datasets and dataset listing.7 npmApache 2.0
- FlicenseNot gradedqualityBmaintenanceEnables natural-language retrieval from enterprise policy documents via RAG, exposing search_enterprise_knowledge and get_document_sources tools.1-