Skip to main content
Glama
FormKiQ Document MCP Server

FormKiQ Document MCP Server

Official

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
FORMKIQ_JWTYesCurrent raw Cognito AccessToken for FormKiQ API calls. The server adds the Bearer prefix.
MCP_TRANSPORTNoMCP transport to use, such as stdio or streamable-http. HTTP is the default transport.
FORMKIQ_MODULESNoComma-separated installed capability names to declare explicitly, such as opensearch, typesense, textract, ai, malware, and workflows. Versioned identifiers such as opensearch_2.19.2 are recognized.
FORMKIQ_MCP_HOSTNoHTTP listener host for local HTTP mode.127.0.0.1
FORMKIQ_MCP_PORTNoHTTP listener port for local HTTP mode.8000
FORMKIQ_API_GROUPSNoComma-separated API groups to enable. The core group is always included. Additional groups include ocr, fulltext, ai, malware, workflows, and audit.core
FORMKIQ_OPENAPI_URLNoHTTPS URL to a compatible OpenAPI document to override the bundled document. Pin the URL to an immutable version and set only one OpenAPI override.
FORMKIQ_API_BASE_URLNoDeprecated alias for FORMKIQ_API_ENDPOINT_URL. New configurations should use FORMKIQ_API_ENDPOINT_URL.
FORMKIQ_ENABLE_PURGENoSet to true to expose the purge_document tool. Permanent purge is disabled by default and is enabled separately from writes.false
FORMKIQ_OPENAPI_FILENoPath to a compatible local OpenAPI document to override the bundled document. Set only one OpenAPI override.
FORMKIQ_AUTO_DISCOVERNoControls automatic startup discovery of installed modules through GetVersion. Set to false to disable startup discovery.true
FORMKIQ_ENABLE_WRITESNoSet to true to expose dedicated write tools and the generic write tool. Read-only access is the default.false
FORMKIQ_MCP_AUTH_FILENoPath to a private caller-authentication policy file. Required for non-loopback HTTP listeners.
PYTHON_DOTENV_DISABLEDNoSet to 1 to disable the server's automatic .env loading.
FORMKIQ_API_ENDPOINT_URLNoFormKiQ API endpoint URL. For JWT/Cognito authentication, use the CloudFormation HttpApiUrl output.
FORMKIQ_MAX_RESPONSE_BYTESNoMaximum response size in bytes. Defaults to 65536 (64 KiB), with a supported range of 1 KiB to 10 MiB.65536

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

Each enabled FormKiQ endpoint has a dedicated tool with its own input schema. Installed modules are discovered automatically at startup when credentials permit. Use list_formkiq_operations and describe_operation for additional permissions and examples. Call get_version to retry or refresh discovery, then refresh the tool list. Read tools cannot mutate data; writes and purge require separately enabled tools. Count results may be truncated lower bounds. Upload URLs and accepted processing requests require separate upload or status checks.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
call_formkiq_operationB

Call a read/search operation. Use describe_operation first. Args accepts path, query, headers, body, or unambiguous top-level parameter names.

count_documentsA

Count matching documents using DocumentSearch. Counts stop at 10,000 or a processing budget. countIsExact=false means the count is a lower bound; do not interpret it as the total or aggregate partial counts.

describe_operationB

Get an enabled operation's parameters, JSON request schema, examples, and reachable local definitions.

get_attributeC

Get Attribute

Returns a attribute

FormKiQ operation: GetAttribute. API group: core. Access: read.

get_attribute_allowed_valuesB

Get Attribute Allowed Values

Returns an attribute's allowed values that spans across all classifications and site schema

FormKiQ operation: GetAttributeAllowedValues. API group: core. Access: read.

get_attributesC

Get Attributes listing

Returns a list of attributes

FormKiQ operation: GetAttributes. API group: core. Access: read.

get_classificationC

Get Classification

Get Classification

FormKiQ operation: GetClassification. API group: core. Access: read.

get_classification_attribute_allowed_valuesB

Get Classification's Attribute Allowed Values

Returns an attribute's allowed values that spans for a specific classifications and site schema

FormKiQ operation: GetClassificationAttributeAllowedValues. API group: core. Access: read.

get_documentB

Get document

Retrieves a document's details, i.e., metadata

FormKiQ operation: GetDocument. API group: core. Access: read.

get_document_actionsC

Get document actions

Get document actions and their status

FormKiQ operation: GetDocumentActions. API group: core. Access: read.

get_document_artifactsC

Get document artifacts

Returns the list of artifact documents associated with the specified document

FormKiQ operation: GetDocumentArtifacts. API group: core. Access: read.

get_document_attributeB

Get document attribute by key

Get a document attribute by using its key

Requires READ_DOCUMENT_ATTRIBUTES or READ. ADMIN retains access.

FormKiQ operation: GetDocumentAttribute. API group: core. Access: read.

get_document_attributesC

Get document's attributes

Get a listing of a document's attributes

Requires READ_DOCUMENT_ATTRIBUTES or READ. ADMIN retains access.

FormKiQ operation: GetDocumentAttributes. API group: core. Access: read.

get_document_contentA

Get document's contents

Retrieves the content of the document with the specified documentId.

  • If the content is plain text and under 6 MB, the content will be returned directly.

  • If the content is plain text but exceeds 6 MB, an error will be returned.

  • For documents not in plain text format, pre-signed S3 URLs will be returned to download the content from S3. It is recommended to use the /documents/{documentId}/url endpoint to retrieve pre-signed S3 URLs for downloading the content.

If the document has a Content-Type of text/, application/json, application/x-www-form-urlencoded the content field will be returned. All other Content-Type, the contentUrl field will be returned, which is a S3 Presigned url.

FormKiQ operation: GetDocumentContent. API group: core. Access: read.

get_document_tagC

Get document tag by key

Get a document tag by using its key

FormKiQ operation: GetDocumentTag. API group: core. Access: read.

get_document_tagsC

Get document's tags

Get a listing of a document's tags

FormKiQ operation: GetDocumentTags. API group: core. Access: read.

get_document_urlA

Get document content url

Returns a URL for the document's contents. Direct S3 presigned URLs expire after 48 hours by default.

With the Shortlinks Add-On Module, use format=short&maxUses=1 for a single-redemption short link, or set maxUses to a larger positive integer to allow that many redemptions. Omitting maxUses permits unlimited redemptions during the short link's validity period.

For usage-limited short links, duration controls the short link's validity in hours. Each successful redemption generates a fresh S3 presigned URL valid for 20 seconds. The S3 request must start before expiry; a download already in progress can continue afterward. The S3 URL itself can be reused during those 20 seconds.

FormKiQ operation: GetDocumentUrl. API group: core. Access: read.

get_document_versionsB

Get document's versions

Get a listing of document content and metadata versions; available as an Add-On Module

FormKiQ operation: GetDocumentVersions. API group: core. Access: read.

get_documentsB

Get Documents listing

Returns a list of the most recent documents added, ordered by inserted, descending

FormKiQ operation: GetDocuments. API group: core. Access: read.

get_folder_documentsC

Get document folders

Get list of documents in a folder

FormKiQ operation: GetFolderDocuments. API group: core. Access: read.

get_permission_catalogA

Get API permission catalog

Returns the supported API permission role types, grouped by permission group, with the scoped permission names and descriptions in each group. Use this catalog when creating API keys or mapping user roles to permissions.

Predefined role types contain their effective permissions, including permissions inherited from other operation categories. CUSTOM contains all available scoped permissions as selectable options; it does not automatically grant them. Deprecated umbrella permissions are excluded from the permission lists, and empty groups are omitted.

The catalog is available to authenticated callers without a site-specific API permission. It describes supported grants rather than the caller's current permissions or authority to assign those grants. No siteId is required.

FormKiQ operation: GetPermissionCatalog. API group: core. Access: read.

get_sitesA

Get site(s) access

Returns the list of sites that the user has access to

FormKiQ operation: GetSites. API group: core. Access: read.

get_sites_classificationsC

Get Sites Classifications

Gets Sites Classifications

FormKiQ operation: GetSitesClassifications. API group: core. Access: read.

get_sites_schemaC

Get Sites Schema

Gets Sites schema

FormKiQ operation: GetSitesSchema. API group: core. Access: read.

get_sites_schema_attribute_allowed_valuesB

Get Attribute Allowed Values

Returns an attribute's allowed values from the site schema

FormKiQ operation: GetSitesSchemaAttributeAllowedValues. API group: core. Access: read.

get_versionA

Get FormKiQ version

Return the version of FormKiQ

FormKiQ operation: GetVersion. API group: core. Access: read.

index_searchA

Perform a search on a index; this is currently available for both folder and tag indices

FormKiQ operation: IndexSearch. API group: core. Access: read.

list_formkiq_operationsA

List operations enabled for this caller. Writes and purge are disabled by default.

search_documentsA

Document search

Document search query request;

Supports searching DynamoDB for document(s) by a single TAG key and/or value. Value can be "exacted" or "begins_with" matched. Search can be filtered to only check certain documentIds (up to 100 documentIds accepted).

If using Enteprise Composite Keys feature then multiple tag(s) can be searched for.

For attributes defined with dataType JSON, use an attribute criterion's json filter with a path to compare a nested field. The eq and eqOr operators accept strings, including inside json filters. Match JSON boolean fields using the strings "true" or "false". Compare JSON numeric fields using gt, gte, lt, and lte. Paths support object properties and explicit array positions; wildcard, recursive, and array any-element matching are not supported. Multiple conditions on different paths under the same attribute key are supported. All conditions must match the same document or artifact.

JSON path filtering is applied after candidate records are read and does not reduce read capacity consumed for those candidates. A stored JSON value does not automatically create an index for its nested fields. Continue through empty filtered pages until the next token is absent; candidate and time-budget limits still apply.

If Typesense is enabled, full text search is supported through the "text" parameter. Full text search will look for the text in the "content" and/or document "metadata".

When documentIds is supplied, all supplied IDs are checked against the search criteria and all matching documents are returned. The limit query parameter is ignored. Up to 100 document IDs are accepted.

Use the projection parameter to return matching documents or a count of matching documents. Count responses are capped at 10,000 and indicate when the count was truncated. Multi-attribute searches requiring additional attribute filtering use a 25-second processing budget for index batches, attribute filtering, and document loading. The budget starts after index selection and empty-index prechecks. Searches with explicit documentIds or a composite key covering every search attribute are exempt. The budget is checked before starting each read; an in-flight read is allowed to finish. If the budget expires, document searches return completed matches with truncated=true and a next token; count searches return a partial lower bound with truncated=true.

See requestBody examples below for commmon examples.

FormKiQ operation: DocumentSearch. API group: core. Access: read. Continue pagination while next is present, including after empty pages. COUNT can be truncated; count_documents reports exactness.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription
formkiq_openapi_specThe pinned FormKiQ JWT OpenAPI document; prefer describe_operation for focused schemas.

TDQS

C2.7/5.0

Scored across 29 tools

Disambiguation2/5

call_formkiq_operation is a generic dispatcher that can perform any of the ~24 read operations already exposed as dedicated tools, so an agent must guess whether to call get_document or the dispatcher with a path. count_documents also overlaps with search_documents using the COUNT projection, and the three attribute_allowed_values variants differ only by scope, relying on subtle description wording rather than distinct names.

Naming Consistency4/5

The set is overwhelmingly snake_case verb_noun (get_document, get_document_tags, get_sites_schema), which is predictable and readable. Minor deviations exist: index_search reverses the order, and the meta-tools (call_formkiq_operation, describe_operation, list_formkiq_operations) use a different verb vocabulary.

Tool Count2/5

29 tools exceeds a comfortable surface, and the count is inflated by a full per-operation enumeration that duplicates what the generic call_formkiq_operation dispatcher can already do. Each tool does map to a real FormKiQ API operation, but the wrapper-plus-dispatch duplication means several tools do not independently earn their place.

Completeness3/5

The read/search surface is broad and well covered (documents, content, versions, tags, attributes, classifications, schemas, sites, artifacts, permissions), but every exposed tool is Access: read — there is no create, upload, update, tag-set, or delete path, so any write workflow is a dead end. The description notes writes are disabled by default, implying the exposed surface is intentionally half the lifecycle.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues