naftiko: 1.0.0-alpha2 info: label: Filevine Documents API — Documents description: 'Filevine Documents — list project documents, upload new documents (optionally shared to the client portal), and read metadata.' tags: - Filevine - Documents - Legal created: '2026-05-25' modified: '2026-05-25' binds: - namespace: env keys: FILEVINE_BEARER: FILEVINE_BEARER capability: consumes: - type: http namespace: documents-documents baseUri: https://api.filevine.io description: Filevine document management surface. resources: - name: project-documents path: /core/projects/{projectId}/documents operations: - name: listProjectDocuments method: GET description: List documents on a project. inputParameters: - name: projectId in: path type: integer required: true - name: uploadProjectDocument method: POST description: Upload a document to a project. inputParameters: - name: projectId in: path type: integer required: true - name: body in: body type: object required: true - name: documents-id path: /core/documents/{documentId} operations: - name: getDocument method: GET description: Read document metadata. inputParameters: - name: documentId in: path type: integer required: true authentication: type: apikey key: Authorization value: 'Bearer {{env.FILEVINE_BEARER}}' placement: header exposes: - type: mcp namespace: documents-documents-mcp port: 9090 transport: http description: MCP adapter for Filevine documents. tools: - name: filevine-list-project-documents description: List documents on a Filevine project. hints: { readOnly: true, destructive: false, idempotent: true } call: documents-documents.listProjectDocuments with: projectId: tools.projectId - name: filevine-upload-project-document description: Upload a new document to a Filevine project. hints: { readOnly: false, destructive: false, idempotent: false } call: documents-documents.uploadProjectDocument with: projectId: tools.projectId body: tools.body - name: filevine-get-document description: Get a Filevine document by id. hints: { readOnly: true, destructive: false, idempotent: true } call: documents-documents.getDocument with: documentId: tools.documentId