An AI assistant connected to Selfcare through MCP fetches, in a single question, the data it needs to draft an employment contract, an addendum or another HR document. The document is drafted in the assistant, outside Selfcare: Selfcare neither stores nor generates the contract.
It is for the owner, HR and the person themselves (for their own data). A team leader or a colleague gets "not found", even if they can see the person in the directory. Accountants do not use MCP.
Before you start: fill in what the contract needs
The more complete the employee file (ficha), the fewer questions the assistant asks.
- Workplace address: in Settings → Locations, open the location (pencil) and fill in the address, postcode, town and country.
- Legal representative: in Settings → Company, the name and NIF (tax number) of the person who signs for the company.
- Reason for the term: on a fixed-term or uncertain-term contract, in the employee file, Contracts tab, the Reason for the fixed term field (in Complete hiring or Change contract) (art. 141 of the Portuguese Labour Code, Código do Trabalho). It only shows for those two contract types.
Connecting the assistant
- In the assistant, add a connector (or MCP server) with the address shown on selfcare.work/en/mcp.
- The assistant opens the Selfcare authorisation page. Pick the company and review what it asks for.
- For contract and pay data, the assistant has to ask separately for the sensitive permissions View employment contracts (
contracts:read) and View pay (compensation:read). They appear in a red block, with a warning saying what it will see. - Only allow what you need.
An assistant that connected without asking for them does not gain them later: an existing connection only gets them through a new authorisation, where you see and confirm them. Without them, the assistant still gets the person's and the company's data, and the contract and pay sections come back empty.
Asking for the draft
Ask, for example: "Draft the employment contract for Ana Silva using the Selfcare data". The assistant uses the get_employee_contract_data tool.
What the assistant receives
- The person: name, job, date of birth, nationality, marital status, NIF, NISS (social security number), citizen card and expiry, address, tax address, emergency contact, IBAN with only the last 4 digits, and SWIFT.
- The workplace: regime (on site, hybrid or remote), the location name and its address.
- The company: legal name, NIPC (company tax number), registered office, CAE (activity code), work accident insurer and policy, and the legal representative's name and NIF (owner and HR only). Never the company's IBAN, BIC or NISS.
- The contract (with
contracts:read): the current contract and its full history, probation period, weekly hours, holiday days, IRCT (collective agreement), reason for the term, seniority and work schedule. - Pay (with
compensation:read): base salary, months paid, meal allowance, working time exemption, seniority bonus, Coverflex, expense allowance and how the holiday and Christmas allowances are paid.
Missing data is asked, never made up
Each answer lists what is not filled in (missingFields) and what Selfcare does not store (notStoredInSelfcare, today only the professional category). The assistant should ask you for that data instead of guessing it. Always review the draft before signing or sending it.