FormKiQ Document MCP Server
OfficialServer Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| FORMKIQ_JWT | Yes | Current raw Cognito AccessToken for FormKiQ API calls. The server adds the Bearer prefix. | |
| MCP_TRANSPORT | No | MCP transport to use, such as stdio or streamable-http. HTTP is the default transport. | |
| FORMKIQ_MODULES | No | Comma-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_HOST | No | HTTP listener host for local HTTP mode. | 127.0.0.1 |
| FORMKIQ_MCP_PORT | No | HTTP listener port for local HTTP mode. | 8000 |
| FORMKIQ_API_GROUPS | No | Comma-separated API groups to enable. The core group is always included. Additional groups include ocr, fulltext, ai, malware, workflows, and audit. | core |
| FORMKIQ_OPENAPI_URL | No | HTTPS 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_URL | No | Deprecated alias for FORMKIQ_API_ENDPOINT_URL. New configurations should use FORMKIQ_API_ENDPOINT_URL. | |
| FORMKIQ_ENABLE_PURGE | No | Set to true to expose the purge_document tool. Permanent purge is disabled by default and is enabled separately from writes. | false |
| FORMKIQ_OPENAPI_FILE | No | Path to a compatible local OpenAPI document to override the bundled document. Set only one OpenAPI override. | |
| FORMKIQ_AUTO_DISCOVER | No | Controls automatic startup discovery of installed modules through GetVersion. Set to false to disable startup discovery. | true |
| FORMKIQ_ENABLE_WRITES | No | Set to true to expose dedicated write tools and the generic write tool. Read-only access is the default. | false |
| FORMKIQ_MCP_AUTH_FILE | No | Path to a private caller-authentication policy file. Required for non-loopback HTTP listeners. | |
| PYTHON_DOTENV_DISABLED | No | Set to 1 to disable the server's automatic .env loading. | |
| FORMKIQ_API_ENDPOINT_URL | No | FormKiQ API endpoint URL. For JWT/Cognito authentication, use the CloudFormation HttpApiUrl output. | |
| FORMKIQ_MAX_RESPONSE_BYTES | No | Maximum 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
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| 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
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 For usage-limited short links, 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 Use the 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
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| formkiq_openapi_spec | The pinned FormKiQ JWT OpenAPI document; prefer describe_operation for focused schemas. |
TDQS
Scored across 29 tools
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.
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.
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.
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.