--- title: Resources description: Overview of the resources available when using the Actian MCP Server with Actian Ingres. --- # Resources The Actian MCP Server for Actian Ingres provides a built-in resource that helps to discover and understand your database schema. ## Available Resources The following resource is available for schema discovery: | Resource URI | Description | |--------------|-------------| | [`resource://database/schema`](#resourcedatabaseschema) | Returns metadata for the connected database, including tables, columns, and constraints. | ## resource://database/schema Use this resource to retrieve a comprehensive view of the database structure in JSON format. The output includes column definitions, data types, comments, and constraint information. ### Parameters This resource does not require any input parameters. ### Output Schema **On Success** ```json { "": { "columns": { "": { "dtype": "", "comment": "" } }, "keys": [""], "comment": "" } } ``` **Error handling** If the schema cannot be retrieved, the server returns an error message: ```text The database schema could not be retrieved. Error: ``` ### Example **Request** ```text resource://database/schema ``` **Response** The server returns a nested JSON object where each top-level key is a table name. ```json { "customers": { "columns": { "customer_id": { "dtype": "integer", "comment": "Primary key" }, "customer_name": { "dtype": "varchar", "comment": "Customer display name" } }, "keys": [ "PRIMARY KEY (customer_id)" ], "comment": "Customer master data" }, "orders": { "columns": { "order_id": { "dtype": "integer", "comment": "Primary key" }, "customer_id": { "dtype": "integer", "comment": "Customer reference" } }, "keys": [ "PRIMARY KEY (order_id)" ], "comment": "Sales orders" } } ``` ## Next Steps
- :material-tools: **[Tools](../tools/index.md)** Learn about the SQL and schema tools provided by the MCP Server for Ingres. - :material-chat-processing: **[Prompts](../prompts/index.md)** Use pre-built prompt templates for common Ingres workflows.