--- title: Introduction description: A simple overview of the Actian MCP Server, its purpose, and the core concepts behind it. --- # Actian MCP Server The Actian [Model Context Protocol (MCP)](https://modelcontextprotocol.io/) Server connects artificial intelligence (AI) applications to the Actian databases. By implementing the open-source MCP, the server acts as a secure bridge between an MCP-compatible AI client and the data source. It eliminates the need for custom integrations, allowing AI agents to discover capabilities, access metadata, and safely run database tasks through a standardized connection. MCP is an open standard designed to connect AI models with external systems, tools, and data sources. When you use an Actian MCP Server, it provides the AI clients with three core building blocks: | Component | Description | Example | |-----------|-------------|---------| | **Tools** | Callable functions that the AI can invoke| Running a specific SQL query | | **Resources** | Read-only data sources that the AI can access| Viewing database schema information | | **Prompts** |Prebuilt templates designed for recurring tasks| Reusing common database workflows | ## MCP Server Capabilities You can use the Actian MCP Server to provide a single and unified interface for the Actian database management systems instead of building and maintaining separate connections for every AI client or workflow. Depending on the configuration, the server enables AI clients to: - Run database queries using MCP tools. - Discover tables and other database objects. - Review schema details and metadata. - Use reusable prompts for database-oriented tasks. The server also manages backend requirements, including transport, configuration, authentication, and secure database access. ## Architecture and Request Flow ### Workflow The Actian MCP Server sits between AI clients and the databases that they need to access. ```mermaid %%{init: {'theme': 'dark', 'themeVariables': {'fontSize': '12px', 'fontFamily': 'arial'}}}%% flowchart TB subgraph Clients["MCP Clients"] claude["Claude Desktop"] cursor["Cursor"] copilot["GitHub Copilot"] fastagent["fast-agent"] codex["Codex"] custom["Custom AI Agents"] end subgraph Transport["Transport Layer"] http["HTTP / SSE (Network)"] end subgraph Auth["Authentication"] idp["Identity Provider (Keycloak / Auth0)"] oauth["OAuth 2.0 / OIDC JWT Validation"] end subgraph MCP["Actian MCP Server"] direction TB core["MCP Protocol Handler"] tools["Tools ───────────── • Execute SQL Queries • List Tables & Views • Describe Table Schema • List Functions"] resources["Resources ───────────── • Schema Metadata • Table Definitions"] plugins["Database Plugins"] pool["Connection Pool"] end subgraph Databases["Actian Databases"] ae["Analytics Engine"] ingres["Ingres"] zen["Zen"] informix["HCL Informix®"] nosql["NoSQL"] end subgraph Security["Security Controls"] readonly["Read-only Mode"] impersonation["User Impersonation (SET SESSION AUTHORIZATION)"] tls["TLS / HTTPS"] end claude & cursor & copilot & fastagent & codex & custom --> http http --> oauth oauth <--> idp oauth --> core core --> tools & resources tools & resources --> plugins plugins --> pool pool --> ae & ingres & zen & informix & nosql Security -.-> MCP ``` ### End-to-End Request Flow When an AI agent interacts with the database, the system follows the standard sequence: ```mermaid %%{init: {'theme': 'default', 'themeVariables': {'fontSize': '44px', 'fontFamily': 'arial'}}}%% sequenceDiagram actor User participant Client as MCP Client (Claude/Cursor/Codex) participant Transport as HTTP / SSE Transport participant Auth as OAuth 2.0 (Keycloak/Auth0) participant Server as Actian MCP Server participant Plugin as Database Plugin participant DB as Actian Database (Analytics Engine/Ingres/Zen/HCL Informix®/NoSQL) User->>Client: Natural language query Client->>Transport: MCP request Transport->>Auth: Validate JWT token Auth-->>Transport: Token valid Transport->>Server: Forward request Server->>Server: Route to tool/resource opt User Impersonation enabled Server->>Plugin: SET SESSION AUTHORIZATION end Plugin->>DB: Execute read-only queries DB-->>Plugin: Query results Plugin-->>Server: Formatted response Server-->>Transport: MCP response Transport-->>Client: Results Client-->>User: Natural language answer ``` ## Key Features
Start a server instance using a configuration that targets the specific Actian DBMS.
The server connects to the target DBMS using a connection pool.
The server makes database tools, resources, and prompts available through the MCP protocol.
An MCP-compatible client uses the database capabilities to query data, inspect metadata, and run workflows.