TrustFoundry MCP Connector
The TrustFoundry remote MCP connector gives Claude and other MCP clients authenticated, read-only access to TrustFoundry legal research, citation validation, saved search result retrieval, and usage status tools.
Connection
- MCP server URL:
https://mcp.trustfoundry.ai/api/mcp - Transport: Streamable HTTP
- Authentication: OAuth 2.0 authorization code with PKCE
- Dynamic client registration endpoint:
https://mcp.trustfoundry.ai/api/oauth/register - OAuth scope:
public-api
Account Requirements
Users need a TrustFoundry account with API usage enabled. During OAuth, users sign in to TrustFoundry, select or use their integration organization, and authorize the MCP client. Usage is subject to the user's plan, quotas, and rate limits.
Read-Only Behavior
This connector is listed as read-only. Its tools retrieve legal search results, validate citations, describe search result items, and report usage status. The MCP tool surface does not create, update, delete, or persist user workflow objects.
Tools
| Tool | Purpose | Inputs |
|---|---|---|
direct_legal_search (Direct Legal Search) |
Runs a direct legal search for a chosen search type or citation search. | query, optional title, optional state, model_type, optional court_id, optional court_name |
get_search_results (Get Search Results) |
Retrieves a saved search result set by UUID. | uuid |
describe_search_result (Describe Search Result) |
Retrieves a summarized legal description for a saved search result item. | uuid, optional full_text |
validate_citations (Validate Citations) |
Extracts and validates legal citations from supplied text. | text, optional context_before, optional context_after |
get_usage (Get Usage) |
Returns quota, usage, and billing status for the connected organization. | No inputs |
legal_research (Legal Research) |
Executes focused or broad legal research with structured lens or streamed text output. | query, optional response_format, optional model_type, optional default_state, optional attachment_ids, optional conversation_id |
legal_review (Legal Document Review) |
Reviews a legal document for risks, issues, and compliance. Requires document content or file IDs. | query, optional response_format, optional review_type, optional content, optional attachment_ids, optional conversation_id |
legal_draft (Legal Drafting) |
Drafts a legal document grounded in researched legal authority. | query, optional response_format, optional model_type, optional default_state, optional attachment_ids, optional conversation_id |
list_files (List Uploaded Files) |
Lists files currently staged for analysis. Files expire after 1 hour. | No inputs |
file_management_guidance (File Management Guide) |
Returns instructions for uploading and deleting files via the direct HTTP API. Neither operation is exposed as an MCP tool — the MCP surface stays read-only. | No inputs |
Resources and Prompts
This server currently exposes no MCP resources and no MCP prompts.
Data Handling
All connector traffic is sent over HTTPS/TLS. The connector accesses only data requested through the authenticated user's tool calls. Legal research queries, citation text, result identifiers, and usage metadata may be processed by TrustFoundry services and upstream providers needed to deliver legal search, citation validation, observability, billing, security, and support. Retention and user rights are described in the TrustFoundry Privacy Policy.
Quota, Rate Limits, and Errors
Requests are subject to plan-specific quotas and rate limits. When a
request is limited, the public API may return quota headers, rate-limit
headers, or errors such as 401, 402,
429, or upstream service errors. Retry only after the
returned reset or retry window.
Troubleshooting
- If connection fails, verify the MCP URL is exactly
https://mcp.trustfoundry.ai/api/mcp. - If OAuth fails, sign out and reconnect so the client can complete a fresh PKCE authorization flow.
- If tools return quota errors, check the connected organization's plan, quota, and credit status with
get_usage. - If search result retrieval fails, rerun a search and use UUIDs returned by the latest search response.
Support and Legal
- Contact / Support: https://trustfoundry.ai/contact
- Email: [email protected]
- Privacy Policy: https://trustfoundry.ai/privacy-policy
- Terms of Use: https://trustfoundry.ai/terms-of-use