What filevine-mcp MCP server does
The filevine-mcp MCP server exposes Filevine practice-management data and selected write operations through MCP. It is intended for firms that want an MCP-compatible client to work with matters, contacts, notes, documents, tasks, and custom case sections.
The case tools can list active, closed, or pending cases and search by case name or number. Agents can retrieve full case details, search contacts across cases, inspect an individual contact, and list contacts attached to a case. Notes can be filtered by general, phone-call, or internal type, and new notes can be created for summaries, findings, or follow-up items.
Document access is metadata-only. Results can include a document name, type, size, URL, and dates, but the server does not return binary document content. Task tools list open, completed, or overdue tasks and can create tasks with a title, description, assignee, and due date.
How it works
The filevine-mcp MCP server runs as a Node.js process over stdio. On the first authentication call, it exchanges the supplied Filevine personal access token and OAuth client credentials for an access token. It then calls Filevine to discover the organization and user IDs required for subsequent requests.
Each Filevine request uses the bearer token together with organization and user headers. The region setting selects either the US or Canadian Filevine API base URL. Access tokens are refreshed before their one-hour lifetime expires. Calling the logout tool removes the stored token data.
Requests pass through a conservative token-bucket limiter set to 300 requests per minute. When Filevine returns a 429 response, the server retries with exponential backoff, up to a 30-second delay. Tool calls are written as JSON lines to a local audit log with secrets redacted.
Custom data uses a two-step workflow. First, discover-schema identifies the firm's custom collection sections and selectors. Then, get-collection retrieves data for a selected collection, such as medical records, liens, or settlements.
Setup and configuration
The filevine-mcp MCP server requires Node.js 18 or newer, a Filevine account with API access, and credentials created in Filevine settings. Configure these environment variables:
FILEVINE_CLIENT_ID
FILEVINE_CLIENT_SECRET
FILEVINE_PAT
FILEVINE_REGION, set to us or ca
ENCRYPTION_KEY, a 64-character hexadecimal value
Install dependencies with npm install, compile with npm run build, and start the process with npm start. npm run inspect starts the MCP inspector for debugging. After the client connects, call authenticate before using Filevine data tools.
Encrypted tokens are stored at ~/.oktopeak-filevine/tokens.enc using AES-256-GCM and the configured encryption key. The audit log is stored at ~/.oktopeak-filevine/audit.log.
Tools and capabilities
The filevine-mcp MCP server includes these tool groups:
- Authentication:
authenticate, auth-status, and logout
- Cases:
list-cases and get-case
- Contacts:
search-contacts, get-contact, and list-case-contacts
- Notes:
list-notes and create-note
- Documents:
list-documents
- Tasks:
list-tasks and create-task
- Custom collections:
discover-schema and get-collection
Limitations and notes
The document tool returns links and metadata rather than file contents. A caller must use the returned URLs if it needs to retrieve documents.
Filevine may ignore the targetDate field when creating tasks. The documented workaround is to set the task date through the Filevine user interface.
The server depends on Filevine credentials with the required scopes. Invalid credentials can cause token exchange failures, while insufficient scopes can prevent organization and user discovery. Filevine also applies endpoint-specific rate limits, including lower limits for reports, vitals, billing, and VineSign operations.