MyCase Legal MCP Server for CrewAI 16 tools — connect in under 2 minutes
Connect your CrewAI agents to MyCase Legal through Vinkius, pass the Edge URL in the `mcps` parameter and every MyCase Legal tool is auto-discovered at runtime. No credentials to manage, no infrastructure to maintain.
ASK AI ABOUT THIS MCP SERVER
Vinkius supports streamable HTTP and SSE.
from crewai import Agent, Task, Crew
agent = Agent(
role="MyCase Legal Specialist",
goal="Help users interact with MyCase Legal effectively",
backstory=(
"You are an expert at leveraging MyCase Legal tools "
"for automation and data analysis."
),
# Your Vinkius token. get it at cloud.vinkius.com
mcps=["https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp"],
)
task = Task(
description=(
"Explore all available tools in MyCase Legal "
"and summarize their capabilities."
),
agent=agent,
expected_output=(
"A detailed summary of 16 available tools "
"and what they can do."
),
)
crew = Crew(agents=[agent], tasks=[task])
result = crew.kickoff()
print(result)
* Every MCP server runs on Vinkius-managed infrastructure inside AWS - a purpose-built runtime with per-request V8 isolates, Ed25519 signed audit chains, and sub-40ms cold starts optimized for native MCP execution. See our infrastructure
About MyCase Legal MCP Server
Connect to MyCase legal practice management platform and manage your entire law practice from any AI agent. Access cases/matters, clients, documents, time entries, calendar events, invoices, and payments—all through a unified API.
When paired with CrewAI, MyCase Legal becomes a first-class tool in your multi-agent workflows. Each agent in the crew can call MyCase Legal tools autonomously, one agent queries data, another analyzes results, a third compiles reports, all orchestrated through Vinkius with zero configuration overhead.
What you can do
- Matters/Cases — List, search, create, and update legal cases with status, practice area, and client info
- Contacts/Clients — Manage your client database including name, email, phone, and address
- Client Portfolio — View all cases associated with a specific client
- Documents — Access case documents, filings, correspondence, and evidence
- Time Tracking — Log billable and non-billable time entries against any case
- Calendar — View court dates, hearings, deadlines, and meetings
- Invoices — List and review invoices with amounts, status, and line items
- Payments — Track payments received from clients
- Search — Search cases by keyword across titles, client names, and descriptions
The MyCase Legal MCP Server exposes 16 tools through the Vinkius. Connect it to CrewAI in under two minutes — no API keys to rotate, no infrastructure to provision, no vendor lock-in. Your configuration, your data, your control.
How to Connect MyCase Legal to CrewAI via MCP
Follow these steps to integrate the MyCase Legal MCP Server with CrewAI.
Install CrewAI
Run pip install crewai
Replace the token
Replace [YOUR_TOKEN_HERE] with your Vinkius token from cloud.vinkius.com
Customize the agent
Adjust the role, goal, and backstory to fit your use case
Run the crew
Run python crew.py. CrewAI auto-discovers 16 tools from MyCase Legal
Why Use CrewAI with the MyCase Legal MCP Server
CrewAI Multi-Agent Orchestration Framework provides unique advantages when paired with MyCase Legal through the Model Context Protocol.
Multi-agent collaboration lets you decompose complex workflows into specialized roles, one agent researches, another analyzes, a third generates reports, each with access to MCP tools
CrewAI's native MCP integration requires zero adapter code: pass Vinkius Edge URL directly in the `mcps` parameter and agents auto-discover every available tool at runtime
Built-in task delegation and shared memory mean agents can pass context between steps without manual state management, enabling multi-hop reasoning across tool calls
Sequential and hierarchical crew patterns map naturally to real-world workflows: enumerate subdomains → analyze DNS history → check WHOIS records → compile findings into actionable reports
MyCase Legal + CrewAI Use Cases
Practical scenarios where CrewAI combined with the MyCase Legal MCP Server delivers measurable value.
Automated multi-step research: a reconnaissance agent queries MyCase Legal for raw data, then a second analyst agent cross-references findings and flags anomalies. all without human handoff
Scheduled intelligence reports: set up a crew that periodically queries MyCase Legal, analyzes trends over time, and generates executive briefings in markdown or PDF format
Multi-source enrichment pipelines: chain MyCase Legal tools with other MCP servers in the same crew, letting agents correlate data across multiple providers in a single workflow
Compliance and audit automation: a compliance agent queries MyCase Legal against predefined policy rules, generates deviation reports, and routes findings to the appropriate team
MyCase Legal MCP Tools for CrewAI (16)
These 16 tools become available when you connect MyCase Legal to CrewAI via MCP:
create_mycase_contact
USE WHEN: - User wants to add a new client - User needs to create a new contact record - User asks to "add a new client" or "create a contact" PARAMETERS: - given_name (REQUIRED): Client's first name - family_name (REQUIRED): Client's last name - email (OPTIONAL): Client's email address - phone (OPTIONAL): Client's phone number - type (OPTIONAL): Contact type — "client" (default), "opposing_party", "witness", "other" EXAMPLES: - "Add a new client John Smith" → call with given_name="John", family_name="Smith" - "Create contact for opposing party Jane Doe, jane@example.com" → call with given_name="Jane", family_name="Doe", email="jane@example.com", type="opposing_party" Create a new contact/client in MyCase
create_mycase_matter
USE WHEN: - User wants to open a new legal case - User needs to create a new matter for a client - User asks to "create a new case" or "open a matter" PARAMETERS: - title (REQUIRED): Matter/case title - client_id (REQUIRED): ID of the client this matter belongs to - status (OPTIONAL): Initial status — "open" (default), "closed", "archived", "on_hold" - practice_area (OPTIONAL): Practice area (e.g. "Family Law", "Criminal Defense") - description (OPTIONAL): Matter description/notes EXAMPLES: - "Create a new case for client 123 titled 'Smith Divorce'" → call with title="Smith Divorce", client_id="123" - "Open a new criminal defense matter for client 456" → call with title="State v. Johnson", client_id="456", practice_area="Criminal Defense" Create a new case/matter in MyCase
create_mycase_time_entry
USE WHEN: - User wants to log time spent on a case - User needs to record billable hours - User asks to "add time entry" or "log hours" PARAMETERS: - matter_id (REQUIRED): Matter/case ID this time entry belongs to - description (REQUIRED): Description of the work performed - duration_minutes (REQUIRED): Duration in minutes - billable (OPTIONAL): Whether this is billable — true (default) or false - rate (OPTIONAL): Hourly rate for this entry EXAMPLES: - "Log 2 hours of research for case 123" → call with matter_id="123", description="Legal research", duration_minutes=120 - "Add 30 minute phone call with client" → call with matter_id="123", description="Phone call with client", duration_minutes=30 Create a new time entry for billing
get_client_mycase_cases
Useful for understanding a client's full legal portfolio. Get all cases/matters for a specific client
get_mycase_contact
Get detailed information for a specific contact/client
get_mycase_invoice
Get detailed information for a specific invoice
get_mycase_matter
Get detailed information for a specific case/matter
list_mycase_calendar_events
List calendar events for the law firm
list_mycase_contacts
USE WHEN: - User wants to see all their clients and contacts - User needs to find a client by name or email - User is exploring their contact database - User asks "list my clients" or "show all contacts" PARAMETERS: - page (OPTIONAL): Page number for pagination - page_size (OPTIONAL): Results per page (default: 25, max: 100) EXAMPLES: - "List all my clients" → call with no params - "Show my contacts" → call with no params - "List clients page 2" → call with page="2" List all contacts/clients in MyCase
list_mycase_documents
List documents for a specific case/matter
list_mycase_invoices
List invoices for the law firm
list_mycase_matters
Essential for case management and tracking. USE WHEN: - User wants to see all their legal cases/matters - User needs to find cases by status (open, closed, archived, on hold) - User is exploring their law firm's caseload - User asks "what cases do I have" or "list my open matters" PARAMETERS: - status (OPTIONAL): Filter by status — "open", "closed", "archived", "on_hold" - practice_area (OPTIONAL): Filter by practice area (e.g. "Family Law", "Criminal Defense") - client_id (OPTIONAL): Filter by specific client ID - page (OPTIONAL): Page number for pagination - page_size (OPTIONAL): Results per page (default: 25, max: 100) EXAMPLES: - "List all my open cases" → call with status="open" - "Show my family law matters" → call with practice_area="Family Law" - "List all matters" → call with no params List all cases/matters in MyCase legal practice management
list_mycase_payments
List payments received by the law firm
list_mycase_time_entries
List time entries for a specific case/matter
search_mycase_matters
Search cases/matters by keyword query
update_mycase_matter
Update an existing case/matter in MyCase
Example Prompts for MyCase Legal in CrewAI
Ready-to-use prompts you can give your CrewAI agent to start working with MyCase Legal immediately.
"List all my open cases in MyCase."
"Create a new time entry for 2 hours of legal research on the Smith Divorce case."
"Show me all cases for client John Smith."
Troubleshooting MyCase Legal MCP Server with CrewAI
Common issues when connecting MyCase Legal to CrewAI through the Vinkius, and how to resolve them.
MCP tools not discovered
Agent not using tools
Timeout errors
Rate limiting or 429 errors
MyCase Legal + CrewAI FAQ
Common questions about integrating MyCase Legal MCP Server with CrewAI.
How does CrewAI discover and connect to MCP tools?
tools/list method. This means tools are always fresh and reflect the server's current capabilities. No tool schemas need to be hardcoded.Can different agents in the same crew use different MCP servers?
mcps list, so you can assign specific servers to specific roles. For example, a reconnaissance agent might use a domain intelligence server while an analysis agent uses a vulnerability database server.What happens when an MCP tool call fails during a crew run?
Can CrewAI agents call multiple MCP tools in parallel?
process=Process.parallel, each calling different MCP tools concurrently. This is ideal for workflows where separate data sources need to be queried simultaneously.Can I run CrewAI crews on a schedule (cron)?
crew.kickoff() method runs synchronously by default, making it straightforward to integrate into existing pipelines.Connect MyCase Legal with your favorite client
Step-by-step setup guides for every MCP-compatible client and framework:
Anthropic's native desktop app for Claude with built-in MCP support.
AI-first code editor with integrated LLM-powered coding assistance.
GitHub Copilot in VS Code with Agent mode and MCP support.
Purpose-built IDE for agentic AI coding workflows.
Autonomous AI coding agent that runs inside VS Code.
Anthropic's agentic CLI for terminal-first development.
Python SDK for building production-grade OpenAI agent workflows.
Google's framework for building production AI agents.
Type-safe agent development for Python with first-class MCP support.
TypeScript toolkit for building AI-powered web applications.
TypeScript-native agent framework for modern web stacks.
Python framework for orchestrating collaborative AI agent crews.
Leading Python framework for composable LLM applications.
Data-aware AI agent framework for structured and unstructured sources.
Microsoft's framework for multi-agent collaborative conversations.
Connect MyCase Legal to CrewAI
Get your token, paste the configuration, and start using 16 tools in under 2 minutes. No API key management needed.
