MetorialDocs

Set up Moco in Metorial for Claude, ChatGPT and Cursor

Share Moco with your team in Claude, ChatGPT and Cursor through Metorial: API key sign-in, 61 tools (25 read-only).

To give your team Moco in Claude, ChatGPT, Cursor and other AI clients, an admin shares the Moco integration in a Metorial portal, and each person connects with an API key. Agents can manage MOCO projects, project tasks, time entries, companies, contacts, deals, invoices, offers, purchases, project expenses, resource planning, comments, and presences. The integration has 61 tools, 25 read-only, 25 write and 11 destructive, plus 9 triggers.

What you'll learn

  • How an admin shares Moco in a portal and how each person connects
  • What Moco asks for when you connect, and where to find it
  • How to keep the 25 read-only tools and reject the other 36

Before you start

Sign-in method

MethodTypeWhat a person provides
API KeyAPI tokentoken and domain

API Key

To connect, a person enters these values:

  • token: Your MOCO API key (personal or account key)
  • domain: Your MOCO subdomain (e.g., "mycompany" for mycompany.mocoapp.com)

Setup settings

Setup also asks for:

  • domain: Your MOCO account subdomain (e.g., "mycompany" for mycompany.mocoapp.com)

Admin: share Moco in a portal

In the dashboard

Open Shared Resources

Open Workforce, choose the portal, and select Shared Resources under Access.

Share a new integration

Select Share a Resource, then New Integration, and choose Moco. For how members connect, choose Each person connects so everyone enters their own API key, or Shared connection to enter one API key for everyone.

Limit the tools

Under Tool Filters, set the write and destructive groups to Reject if agents should only read from Moco.

Choose who gets it

Add the access groups that should see Moco. When a person asks for access from the portal, the request appears under Access Requests.

With the CLI

The CLI cannot create the per-user Moco integration. Once it exists, check which groups have it:

metorial-admin portals access list <portal-id> --type provider_template --search moco

Employee: connect Moco

In the portal

Open Moco in the catalog

Sign in to your portal and open Moco. The status reads Available.

Authenticate

Under Quick setup, select Authenticate. In the setup window, enter your API key (token and domain).

Confirm

The status changes to Configured. If it later reads Needs reconnect, select Reconnect and sign in again.

With the CLI

metorial catalog search moco
metorial setup <catalog-item-id>

catalog search prints the catalog item ID.

Add it to your AI client

metorial install adds your Moco connection to a local MCP client such as Claude Code, Cursor or Codex. metorial list prints the integration ID and metorial client list the client identifiers.

metorial list moco
metorial client list
metorial install <client-identifier> <integration-id>

For a client that takes a server URL, such as ChatGPT, metorial install custom <integration-id> creates an installation token and shows the endpoint details.

Make it read-only

Open the integration's Tool Filters and set the write and destructive groups to Reject. Agents keep the 25 read-only tools, such as get_deal and get_user, and lose the 25 write tools, such as create_deal or update_deal, and the 11 destructive tools, such as delete_deal or delete_comment.

Employees see the result on the integration's page in the portal under Tool access. For the full walkthrough, see Tool permissions.

Check it worked

metorial list moco
metorial tools <integration-id>
metorial call <integration-id> list_deals -d '{}'

metorial tools lists the 61 tools, minus any you rejected. list_deals takes no input. It retrieves a list of deals/leads from the sales pipeline.

To see every input a tool takes, run metorial schema <integration-id> <tool-key>.

Tools

Read-only tools (25)

  • get_project: Retrieve detailed information about a specific project, including its budget, billing configuration, tasks, and assignments. Needs projectId.
  • list_activities: Retrieve time tracking entries (activities).
  • list_projects: Retrieve a list of projects from MOCO.
  • get_company: Retrieve detailed information about a specific company, including contact details, type, and custom properties. Needs companyId.
  • get_contact: Retrieve detailed information about a specific contact person. Needs contactId.
  • list_companies: Retrieve a list of companies (customers, suppliers, or organizations).
  • list_contacts: Retrieve a list of contact persons.
  • get_project_report: Retrieve a project's business report with key indicators including budget progress, hours logged, invoiced amounts, and cost breakdowns. Needs projectId.
  • list_project_expenses: Retrieve expenses for a specific project. Needs projectId.
  • list_users: Retrieve a list of users/staff members.
  • list_deals: Retrieve a list of deals/leads from the sales pipeline.
  • list_purchases: Retrieve a list of purchases/expenditures.
  • list_presences: Retrieve clock-in/clock-out presence entries.
  • get_deal: Retrieve detailed information about a specific deal/lead. Needs dealId.
  • get_invoice: Retrieve detailed information about a specific invoice, including line items, payments, and reminders. Needs invoiceId.
  • get_offer: Retrieve detailed information about a specific offer/proposal. Needs offerId.
  • list_planning_entries: Retrieve resource planning entries. Needs period.
  • get_user: Retrieve detailed information about a specific user/staff member. Needs userId.
  • get_purchase: Retrieve detailed information about a specific purchase/expenditure. Needs purchaseId.
  • list_invoices: Retrieve a list of invoices.
  • list_project_tasks: Retrieve a page of tasks for a specific project. Needs projectId.
  • list_comments: Retrieve comments/notes on entities.
  • list_offers: Retrieve a list of offers/proposals.
  • list_invoice_payments: Retrieve a page of invoice payments, optionally filtered by invoice and payment date range.
  • get_profile: Retrieve the authenticated user profile, including identity, account status, and team.

Write tools (25)

  • manage_timer: Start or stop a timer on an activity. Needs activityId and action.
  • create_contact: Create a new contact person in MOCO. Needs lastname and gender.
  • update_company: Update an existing company's properties. Needs companyId.
  • create_activity: Log a new time entry against a project task. Needs date, projectId and taskId.
  • create_company: Create a new company in MOCO. Needs name and type.
  • update_activity: Update an existing time entry. Needs activityId.
  • create_project: Create a new project in MOCO. Needs name, currency, startDate, finishDate, fixedPrice, leaderId and customerId.
  • update_project: Update an existing project's properties. Needs projectId.
  • update_project_task: Update an existing task within a project. Needs projectId and taskId.
  • update_offer_status: Change the status of an offer/proposal. Needs offerId and status.
  • create_deal: Create a new deal/lead in the sales pipeline. Needs name, currency, money, reminderDate, userId and dealCategoryId.
  • create_project_expense: Add an expense to a project. Needs projectId, date, title, quantity, unit, unitPrice and unitCost.
  • create_project_task: Create a new task within a project. Needs projectId and name.
  • create_planning_entry: Create a new resource planning entry to schedule a team member on a project or deal for a time period. Needs startsOn, endsOn and hoursPerDay.
  • create_invoice: Create a new invoice in MOCO. Needs customerId, recipientAddress, date, dueDate, title, tax, currency and items.
  • create_comment: Add a comment/note to an entity (Project, Contact, Company, Deal, Invoice, Offer, or Purchase). Needs commentableType, commentableId and text.
  • update_deal: Update an existing deal/lead's properties, status, or assignment. Needs dealId.
  • update_invoice_status: Change the status of an existing invoice. Needs invoiceId and status.
  • create_offer: Create a new offer/proposal. Needs recipientAddress, date, dueDate, title, tax, currency and items.
  • clock_in_out: Toggle clock-in or clock-out for the authenticated user.
  • update_contact: Update an existing contact person's details. Needs contactId.
  • create_presence: Create a presence entry with specific date and time. Needs date and from.
  • update_planning_entry: Update an existing resource planning entry. Needs entryId.
  • create_purchase: Create a new purchase/expenditure. Needs date, currency, paymentMethod and items.
  • create_invoice_payment: Record an invoice payment.

Destructive tools (11)

  • delete_company: Permanently delete a company from MOCO. Needs companyId.
  • delete_project: Permanently delete a project. Needs projectId.
  • delete_activity: Delete a time entry. Needs activityId.
  • delete_deal: Permanently delete a deal/lead from MOCO. Needs dealId.
  • delete_invoice: Delete an invoice. Needs invoiceId.
  • delete_contact: Permanently delete a contact person from MOCO. Needs contactId.
  • delete_project_expense: Delete a project expense. Needs projectId and expenseId.
  • delete_comment: Delete a manual comment. Needs commentId.
  • delete_purchase: Delete a purchase/expenditure. Needs purchaseId.
  • delete_planning_entry: Delete a resource planning entry. Needs entryId.
  • delete_project_task: Delete a task from a project. Needs projectId and taskId.

Triggers

Moco has 9 triggers, which fire on events in Moco:

  • offer_events: Triggers when an offer/proposal is created, updated, or deleted.
  • contact_events: Triggers when a contact person is created, updated, or deleted.
  • deal_events: Triggers when a deal/lead is created, updated, or deleted.
  • invoice_events: Triggers when an invoice is created, updated, or deleted.
  • purchase_events: Triggers when a purchase/expenditure is created, updated, or deleted.
  • activity_events: Triggers when a time tracking entry (activity) is created, updated, or deleted.
  • expense_events: Triggers when a project expense is created, updated, or deleted.
  • project_events: Triggers when a project is created, updated, deleted, or archived/unarchived.
  • company_events: Triggers when a company (customer/supplier/organization) is created, updated, or deleted.

Next steps