Release Notes#

Entries follow the format: version, release date, and a summary of changes grouped by type (Added, Changed, Fixed, Removed). When a release requires a database migration or search index rebuild, that is called out explicitly under an Upgrade notes heading.

[1.0.1]#

Changed#

  • Documentation: added Windows (PowerShell) steps to the Quickstart, and documented UTF-8 requirements for Markdown sources and local embedding startup on Windows.

  • Documentation: added a CSV-backed custom tool example (db_info), guidance on choosing a CSV tool’s filter columns, and the OneTick credentials requirement for custom tools (see Custom Tools).

Fixed#

  • Fixed a Windows startup failure when using local embeddings (ONETICK_DB_EMBEDDING_TYPE=sentence_transformer). PyTorch is now loaded before the OneTick libraries, which avoids a c10.dll initialization error. If PyTorch is missing, startup fails with a message to install onetick-llmbase[local-embeddings].

  • Fixed Windows decoding errors when loading Markdown documentation for indexing. Markdown files are now always read as UTF-8.

  • OneTick libraries are now loaded when a custom tool is first called, not during tool discovery, so configuration and discovery no longer load native DLLs.

[1.0.0]#

Added#

  • Added support for Python 3.13 and 3.14, alongside Python 3.12.

  • Added bundled OneTick data tools for listing continuous contracts and products, checking database load availability, and retrieving futures trading hours and holiday calendars.

  • Added operator-defined Python tools through CUSTOM_TOOLS. Each tool exposes a typed function that returns tabular data and can configure its own timeout and result-row cap.

  • Added config-only Markdown search collections through CUSTOM_COLLECTIONS and Python extension configuration through ONETICK_DB_CONFIG_MODULE.

  • Added static, jwks, oidc_proxy, and entra inbound authentication modes, with documented flows for interactive MCP clients and headless callers.

Changed#

  • Inbound authentication, transport, and serving are now handled by the kx-mcp launcher rather than this server directly — SSO_* env vars are replaced by KX_MCP_AUTH*, and the documented port changes from 8080 to the launcher’s 8000 default (see Configuration). The startup command itself is unchanged — still onetick-mcp. See MCP server authentication.

  • Replaced OTP_AUTH_MODE=openid with ONETICK_DB_OUTBOUND_STRATEGY=service_account. The basic and none outbound strategies remain available. See OneTick WebAPI authentication.

  • ONETICK_DB_TOOLS (renamed from LLMBASE_MCP_TOOLS) no longer accepts group keywords (collections, csv, queries) — every tool must now be named individually to enable or disable it.

  • Adopted the ONETICK_DB_* naming convention for the remaining legacy env vars — SQLALCHEMY_CONNECTION_STRING → ONETICK_DB_SQL_CONNECTION_STRING, CSV_DATA_PATH → ONETICK_DB_CSV_DATA_PATH, COLLECTIONS → ONETICK_DB_COLLECTIONS, EMBEDDING_TYPE/EMBEDDING_MODEL → ONETICK_DB_EMBEDDING_TYPE/ONETICK_DB_EMBEDDING_MODEL, and IDENTITY_USER_CLAIMS → ONETICK_DB_IDENTITY_CLAIMS. Each old name still works as a lower-precedence alias.

  • Startup now checks documentation search, reference data, and OneTick query prerequisites independently. If at least one requested capability is available, the server starts with the available tools and reports any capability it dropped; if none is available, startup fails.

  • Reference-data tools (calendar_holidays, db_tables, db_table_schemas, db_field_descriptions, db_field_enumerations, trading_hours) and the OneTick query tools now signal a missing/malformed input or a denied database as an MCP protocol-level error (CallToolResult.is_error=True) instead of returning an error string, so a client can no longer mistake a failed call for a successful one.

  • Building the retrieval engine (Postgres connection and embedding model load) at startup is now bounded to 120 seconds; an unreachable database or embedding endpoint fails startup with a clear timeout error instead of hanging indefinitely.

Upgrade notes#

  • Rebuild the search indexes after upgrading.

[0.1.0]#

Added#

  • onetick-mcp server, a thin wrapper around onetick-llmbase, exposing OneTick data and functionality to AI assistants via the Model Context Protocol.

  • Documentation search tools — vector similarity search over indexed OneTick documentation (Python API, usage examples, cloud coverage, database catalogue, SQL reference).

  • Reference data tools — database, tick type, and field lookups backed by configurable CSV data files.

  • Symbol universe tool — live OneTick WebAPI query for instrument lookup, with support for custom programmable queries.

  • Calendar tools — trading hours and holiday lookups.

  • Tool selection via LLMBASE_MCP_TOOLS — enable or disable individual tools by name; if unset, all tools are enabled.

  • MCP server authentication (SSO) via OIDC/OAuth2, with Keycloak supported as the identity provider.

  • OneTick WebAPI authentication modes (openid, basic, none) for the symbol universe tool.

  • Customisation support — bring your own documentation as custom search collections, and your own reference data via CSV_DATA_PATH.

  • Structured logging with daily file rotation.

  • Multi-worker deployment support with configurable port and worker count.

  • Query-tool result cap via QUERY_TOOL_MAX_RESULTS (default 100) — truncates a broad result to keep it within the MCP client’s tool-result size limit, with guidance to narrow the request. Precedence: an explicitly set QUERY_TOOL_MAX_RESULTS overrides a per-tool max_results, which overrides the default; 0 disables the cap.

  • Clean error message when the deployment’s OneTick credentials are not entitled to a queried database (access to OneTick database '<NAME>' is denied ...) instead of the raw engine error.