Zuar Portal Blocks MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| PORTAL_URL | Yes | The base URL of your Zuar Portal, e.g. https://your-portal.zuarbase.net | |
| PORTAL_API_KEY | Yes | Your portal API key from Admin > Auth > API Keys | |
| PORTAL_USER_ID | Yes | Your portal user UUID from Admin > Users > your user |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| prompts | {
"listChanged": true
} |
| resources | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| list_blocksA | List blocks on the portal. Optionally restrict to specific block IDs, or return names only. |
| get_blockA | Fetch a single block by UUID, including its HTML/CSS and query config. |
| create_blockA | Create a new HTML block. Accepts the full block payload (name, data, css, json_data, tags, access). Type is always html. Read the zportal://guide/* resources first to produce a correct two-field block. |
| update_blockA | Update an existing HTML block by UUID. Only the fields you pass are sent. Type stays html. |
| delete_blockA | Delete a block by UUID. This cannot be undone from this server. |
| list_datasourcesA | List datasources on the portal. Use this to find the source UUID and the name of the datasource a new block should query. |
| list_queriesA | List saved queries (Portal 1.18+). On older portals this endpoint does not exist; the tool reports that clearly so you can fall back to datasources. |
| fetch_sample_rowsA | Fetch a few rows from a datasource so you can see real column names and values before authoring a block. Returns columns and row arrays. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| create_zportal_block | Guided workflow to build a correct Zuar Portal HTML block: discover data, follow the two-field structure, then create the block. |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| block-structure | Two-field HTML/CSS structure and theme variables for an HTML block. |
| currentblock | How to read query results inside a block and react to filters. |
| amcharts-loader | Global AMCHARTS_LOADER block plus per-chart usage and module map. |
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/patrickdeanfox/zuar-portal-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server