שרת MCP

שרת ה-MCP של 50heads

עוזרי AI יכולים להתחבר לכאן כדי לענות על שאלות על 50heads מתוך מה שהוא מפרסם בדף שלו. הבעלים שלו יכולים גם לנהל את העסק עם עוזר משלהם.

חיבור

יש להשתמש בכתובת השרת שלמעלה בהגדרות ה-MCP של העוזר שלכם. כל אחד יכול לשאול על פרטי העסק הציבוריים בלי להיכנס.

Claude Code: יש להריץ את זה בטרמינל.

Claude Code
claude mcp add --transport http 50heads https://50heads.uk.to.co/mcp

Cursor,‏ VS Code,‏ Windsurf ורוב הלקוחות האחרים: יש להוסיף את השרת לקובץ הגדרות ה-MCP שלהם.

Cursor / VS Code / Windsurf
{
  "mcpServers": {
    "50heads": {
      "url": "https://50heads.uk.to.co/mcp"
    }
  }
}

שאלות על העסק

כלי העסק עונה מתוך מה ש-50heads מפרסם בדף שלו, אותן עובדות שמבקר רואה. עובדה שלא מופיעה בדף נשארת בחוץ, אף פעם לא מנוחשת. כל אחד יכול לקרוא לו, בלי כניסה, וזה לא עולה כלום.

לפני שעוזר פונה לעסק בשם מישהו, הוא צריך לקרוא את המדיניות של העסק לעוזרים (action assistant_policy). המדיניות היא ההצהרה של העסק עצמו; to.co לא אוכף אותה.

50heads לא מקבל כרגע הודעות מעוזרים.

לבעלים

כלי הניהול מיועד לחשבון שבבעלותו 50heads. העוזר שלכם מבקש מכם להיכנס ל-to.co (עם קוד באימייל, Google או מפתח גישה) ולאשר מה הוא רשאי לעשות. החיבור עובד רק לעסק הזה. גם אסימון סוכן מהחשבון שלכם עובד.

כל קריאה של הבעלים עם כניסה משתמשת באחד מהקרדיטים החודשיים ל-API של העסק. שאלות על העסק אף פעם לא.

יצירת אסימון סוכן

כלים

כל כלי מקבל פעולה (action) ואת הארגומנטים של אותה פעולה. הארגומנטים והתוצאות משתמשים בשמות שדות ב-snake_case.

business על העסק הזה

מה שהעסק מפרסם בדף שלו: מי הוא, איך ליצור איתו קשר, מתי ואיפה הוא פתוח, ומה הוא מאפשר לעוזרים לעשות.

פעולהמה היא עושהארגומנטיםגישה
profileמי העסק: השמות שלו, מה הוא עושה, הקטגוריה שלו, האתר שלו והאם to.co בדק אותו, מספרי החברה והמס שלו (אם יש), האם הוא עדיין פעיל, ההודעה הנוכחית שלו, ומתי הדף שלו השתנה לאחרונה.ללאכולם
קריאה בלבד
contactאיך ליצור איתו קשר: מספרי טלפון, כתובת האימייל שלו (מוצגת רק אחרי שאושרה), האתר שלו, קישורי תפריט, הזמנה ותיאום, השירותים האחרים שלו, הפרופילים שלו ברשתות חברתיות, והאם הוא מקבל הודעות מעוזרים.ללאכולם
קריאה בלבד
hoursשעות הפתיחה של העסק ושל כל מיקום, עם שעות מיוחדות קרובות, והאם כל אחד פתוח עכשיו לפי אזור הזמן של העסק. אפשר לתת תאריך כדי לקבל את השעות שחלות באותו יום.
  • date string יום, YYYY-MM-DD: השעות שחלות בו, כולל שעות מיוחדות.
כולם
קריאה בלבד
locationsהמשרד הרשום ומיקומי הפעילות שלו: הכתובת, מספרי הטלפון, השעות ומה כל אחד מציע שם. כתובת רחוב ניתנת רק אחרי ש-to.co קיבל הוכחה לה.ללאכולם
קריאה בלבד
postsהפוסטים שהעסק פרסם ב-to.co, מהחדש לישן: לכל אחד הכותרת, הכתובת, תאריך הפרסום הראשון ותקציר קצר. טיוטות אף פעם לא מופיעות.
  • limit integer כמה להחזיר.
כולם
קריאה בלבד
postפוסט אחד שפורסם, לפי ה-slug שלו, כ-Markdown: הכותרת, התאריך והטקסט שלו, כפי שהדף שלו מציג אותם.
  • slug string, חובה The post's slug, the last part of its address
כולם
קריאה בלבד
dealingsלאחר התחברות: מה שיש בין העסק שהחיבור שלך עובד עבורו לבין עסק זה, כפי שהאדם רואה זאת ב-to.co: מסמכים בשני הכיוונים לפי מספר, תאריך ומצב (אף פעם לא סכום), בקשות ספקים ומסמכים שתוקפם פג. ציינו מספר כדי לחפש מסמך אחד. בהזמנה, גם מה שנותר ממנה, שורה אחר שורה, בכמויות בלבד.
  • number string A document number, e.g. INV-0193: only the documents between the two with that number
לאחר התחברות, היקף companies:read
קריאה בלבד
assistant_policyמה העסק אומר שעוזרים רשאים לעשות עבור אנשים: לפנות, לבקש תיאום או לבקש הצעת מחיר (כבוי, עם אישור, או פעיל), כמה בקשות ביום, ולמי להעביר.ללאכולם
קריאה בלבד
קריאה לדוגמה
{
  "name": "business",
  "arguments": {
    "action": "profile"
  }
}
messages קריאת ההודעות של העסק הזה (לבעלים בלבד)

לבעלי העסק, אחרי שהם נכנסים לחשבון: קריאת ההודעות שהעסק קיבל. העסק לא מקבל כרגע הודעות מעוזרים, ולכן הכלי הזה לא יכול לשלוח הודעה. כדי לעזור למישהו ליצור קשר עם העסק, יש לתת לו את כתובת הדף של העסק.

פעולהמה היא עושהארגומנטיםגישה
listההודעות שהעסק קיבל, מהחדשה לישנה.
  • status string new,‏ read,‏ replied או archived (כל הארבעה כשלא מציינים).
  • assignee string me (assigned to you), none (assigned to nobody) or a member's user id
  • kind string Only requests of this kind, e.g. order
  • limit integer כמה להחזיר.
בעלים, הרשאה messages:read
קריאה בלבד
getהודעה אחת שהעסק קיבל.
  • id string, חובה מזהה הודעה, מתוך action list.
בעלים, הרשאה messages:read
קריאה בלבד
קריאה לדוגמה
{
  "name": "messages",
  "arguments": {
    "action": "list"
  }
}
manage ניהול העסק הזה

לבעלים: קריאת הרשומה המלאה, כולל טיוטות, ושינוי הפרופיל ומיקומי הפעילות. כל שינוי מפרסם את הדף מחדש.

פעולהמה היא עושהארגומנטיםגישה
profileהרשומה המלאה של העסק, כולל טיוטות והגדרות פרטיות.ללאבעלים, הרשאה companies:read
קריאה בלבד
update_profileשינוי שדות בפרופיל ופרסום הדף מחדש. שדות שלא נשלחים שומרים על הערך שלהם; ערך ריק מנקה שדה. חברה רשומה שומרת על השם הרשמי שלה מהרשם; במקום זה אפשר להגדיר את השם היומיומי שלה.
  • name string השם של עסק שאינו רשום. נדחה לחברה רשומה.
  • informal_name string שם יומיומי קצר יותר.
  • description string מה העסק עושה, עד 2,000 תווים.
  • website_url string אתר העסק, כתובת https:// מלאה.
  • email string אימייל ציבורי ליצירת קשר. כתובת חדשה מוצגת בדף רק אחרי שהבעלים שלה מאשרים אותה מקישור שנשלח אליה.
  • phones object מספרי טלפון לפי סוג (main,‏ alt,‏ local,‏ fax,‏ mobile,‏ free,‏ tty). סוגים שלא נשלחים שומרים על הערך שלהם.
  • links object קישורי תפריט, הזמנה ותיאום, ואופן הצגת האתר.
  • keywords string מילות חיפוש, עד 1,000 תווים.
  • category string קטגוריית העסק שמוצגת בדף, למשל מאפייה.
  • vat_registration_number string מספר רישום לצורכי מס, לא חובה (מע"מ, GST או שיטה אחרת, לפי המדינה). שם השדה נשמר לצורכי תאימות.
  • contact_preferences object איך העסק מעדיף ש-to.co ייצור איתו קשר: email,‏ sms,‏ post ו-tel, כל אחד true או false.
  • social_links object פרופילים ברשתות חברתיות לפי רשת: קישור לפרופיל, או שם משתמש ב-X וב-Instagram. ערך ריק מסיר פרופיל.
בעלים, הרשאה companies:write
משנה נתונים
locationsכל המיקומים של העסק, המשרד הרשום ראשון, עם מפתח הרשומה, השעות, הטלפונים והפרופילים של כל אחד.ללאבעלים, הרשאה companies:read
קריאה בלבד
update_locationהגדרת התיאור, שעות הפתיחה, השעות המיוחדות, מספרי הטלפון או הפרופילים ברשתות חברתיות של מיקום פעילות ופרסום הדף מחדש. המשרד הרשום מגיע מרשם החברות ואי אפשר לשנות אותו כאן.
  • location string, חובה מפתח הרשומה של מיקום פעילות, מתוך action locations.
  • description string מה המיקום הזה מציע, במילים פשוטות. שמות, כתובות, פרטי קשר, קישורים ומחירים מוסרים.
  • normal_hours array שעות פתיחה שבועיות, במקום הנוכחיות: עד ארבע משבצות ביום, בשעון של 24 שעות.
  • special_hours array שעות בחגים ובסגירות שמחליפות את השעות השבועיות בתאריך שלהן.
  • phones object מספרי טלפון לפי סוג (main,‏ alt,‏ local,‏ fax,‏ mobile,‏ free,‏ tty). סוגים שלא נשלחים שומרים על הערך שלהם.
  • social_links object פרופילים ברשתות חברתיות לפי רשת: קישור לפרופיל, או שם משתמש ב-X וב-Instagram. ערך ריק מסיר פרופיל.
בעלים, הרשאה companies:write
משנה נתונים
קריאה לדוגמה
{
  "name": "manage",
  "arguments": {
    "action": "profile"
  }
}
documents This business's documents

Read and share the trade documents an organization holds in its accounting systems (Xero: invoices and bills, credit notes, quotes, purchase orders, payments as remittance advices, and customer statements), read live through its to.co address. A member of the organization sees everything; anyone else sees only what a grant names, as the accounting system holds it now. Amounts are decimal strings; a document that does not reconcile under the rules is flagged in validation, never hidden. Documents made on to.co can be created, edited and moved through their lifecycle here: a draft you make is marked prepared, and a person in the organization confirms it in the to.co app before it can be issued; only a person issues or sends. Documents read from an accounting system are not changed through this tool, and a transition that is not built yet answers not_implemented. Confirm with the person before you share anything.

פעולהמה היא עושהארגומנטיםגישה
listThe documents you may see at this organization, one page at a time: pass next_cursor back as cursor until it is null. A member names one type per call and reads the documents made on to.co first (its own, then those it received from trading partners), then every connected accounting system in turn, or one by connection. One type covers both directions: an invoice issued is a sale, an invoice received is a bill; filter with direction. direction received is the Received list: each document sent on to.co shows as a summary with mailbox.partner.host, the address to read it at with get.
  • type string rfq, quote, order, order_response, despatch_advice, receipt_advice, invoice, credit_note, debit_note, sales_receipt, remittance_advice, statement, application_response, order_change, order_cancellation (required for a member of the organization)
  • state string draft, issued, accepted, rejected, expired, closed, voided
  • direction string issued (the organization sent it) or received (it was sent to the organization)
  • connection string A member: one connected accounting system only (con_…)
  • cursor string next_cursor from the previous answer, to continue. Opaque, signed for you and this list, good for an hour
  • limit integer כמה להחזיר.
בעלים, הרשאה documents:read
קריאה בלבד
getOne document, through the projection you are entitled to.
  • id string, חובה מזהה הודעה, מתוך action list.
  • projection string No broader than your grant allows
בעלים, הרשאה documents:read
קריאה בלבד
createCreate a draft. The content must reconcile under the rules (GET /rules/{type}); the answer names any field that does not. A draft you make is marked prepared (prepared.via "assistant"): a person in the organization confirms it in the to.co app before it can be issued, and only a person issues or sends it.
  • type string, חובה rfq, quote, order, order_response, despatch_advice, receipt_advice, invoice, credit_note, debit_note, sales_receipt, remittance_advice, statement, application_response, order_change, order_cancellation
  • content object, חובה The document content, snake_case, as GET /rules/{type} of the organization API describes it: currency, parties, lines, taxes, totals, …
  • schema_version string A registered schema version, e.g. invoice/3.0, or invoice/3.1 for content with 3.1 fields such as taxes per line (default: worked out from the content)
בעלים, הרשאה documents:write
משנה נתונים
updateEdit a draft with a JSON merge patch over its content (null removes a field, arrays replace whole), under the etag you read. Your change marks the draft prepared again, so a person confirms it again in the to.co app before it can be issued.
  • id string, חובה מזהה הודעה, מתוך action list.
  • content object, חובה The document content, snake_case, as GET /rules/{type} of the organization API describes it: currency, parties, lines, taxes, totals, …
  • etag string, חובה The etag from get
בעלים, הרשאה documents:write
משנה נתונים
transitionRun a lifecycle transition: void, accept, reject, expire, close or record_settlement, as the document type allows (GET /rules/{type}). Issuing and sending a document need a person: a token is refused with session_required, so ask the person to issue or send it in the to.co app.
  • id string, חובה מזהה הודעה, מתוך action list.
  • transition string, חובה issue, send, void, accept, reject, expire, close, record_settlement
  • reason string
  • settlement object For record_settlement on an issued invoice
  • etag string The etag from get, to refuse a transition on a document that changed
בעלים, הרשאה documents:write
משנה נתונים
shareGrant a connected trading partner (by to.co address), or a person at one (by email), named access to documents, as the accounting system holds them, until a date. Anyone else is refused: invite the business as a partner first, in the to.co app. Payment details and internal accounting fields are shared only when named in actions.
  • ids array, חובה The documents to share
  • recipient_email string A to.co user, by their verified email
  • recipient_host string An organization, by its to.co address; every current member of it may use the grant
  • actions array, חובה What the recipient may do: resource.discover, resource.read, accounting.read, payment_instructions.read, resource.transition
  • projection string document_summary_v1, document_recipient_v1 (default) or document_owner_v1
  • expires_at string, חובה When the access ends, ISO 8601, at most a year ahead
  • reason string, חובה Why, for the audit log
בעלים, הרשאה documents:share
משנה נתונים
revokeRevoke a grant at once, with every link and capability derived from it. Cannot be undone; share again instead.
  • grant_id string, חובה From documents grants
בעלים, הרשאה documents:share
משנה נתונים
grantsThe grants at this organization, a page at a time: all of them for a member (needs documents:share), your own otherwise.
  • cursor string next_cursor from the previous answer, to continue. Opaque, signed for you and this list, good for an hour
  • limit integer כמה להחזיר.
בעלים, הרשאה documents:read
קריאה בלבד
requestsAccess requests at this organization, a page at a time (a member sees all; a requester their own).
  • state string Only requests in this state
  • cursor string next_cursor from the previous answer, to continue. Opaque, signed for you and this list, good for an hour
  • limit integer כמה להחזיר.
בעלים, הרשאה documents:read
קריאה בלבד
decideApprove, reject or cancel an access request. Approval names exactly what is granted; nothing is inferred from the request.
  • request_id string, חובה
  • decision string, חובה
  • version integer, חובה The version from documents requests, so two reviewers cannot both decide
  • note string
  • grant object For approve: what to grant
בעלים, הרשאה documents:share
משנה נתונים
sendAsk the person to send one of this business's documents: a draft is confirmed and issued first, then sent on to.co to the connected trading partner it is for (channel partner) or by email as a signed link (channel email, with the address). Nothing is sent from here: you get a to.co address for the person, where they see exactly what will go and approve or decline it (72 hours). Give them the address. Call again with the same arguments to learn whether it went.
  • id string, חובה מזהה הודעה, מתוך action list.
  • channel string, חובה partner: on to.co to the connected trading partner it is for; email: by email as a signed link
  • email string אימייל ציבורי ליצירת קשר. כתובת חדשה מוצגת בדף רק אחרי שהבעלים שלה מאשרים אותה מקישור שנשלח אליה.
  • locale string channel email: the email's language, e.g. en-GB
בעלים, הרשאה documents:write
משנה נתונים
קריאה לדוגמה
{
  "name": "documents",
  "arguments": {
    "action": "list"
  }
}
help עזרה

בדיקת החיבור וקריאת המדריך לשרת הזה.

פעולהמה היא עושהארגומנטיםגישה
whoamiהאם החיבור מחובר, ובאילו כלים ופעולות הוא יכול להשתמש כאן.ללאכולם
קריאה בלבד
guideהמדריך לשרת הזה, כ-Markdown.ללאכולם
קריאה בלבד
קריאה לדוגמה
{
  "name": "help",
  "arguments": {
    "action": "whoami"
  }
}

משאבים ופרומפטים

  • toco://guide — המדריך לשרת הזה, כ-Markdown.
  • toco://business — העסק כפי שהדף שלו מפרסם אותו, כ-JSON.
  • visit_this_business — מתי העסק פתוח, איפה, ואיך ליצור איתו קשר.
  • review_this_business — לבעלים: הצעות לניסוח ברור יותר בפרופיל. שום דבר לא משתנה עד שתאשרו.

מגבלות

  • 120 בקשות בדקה ממבצע קריאה אחד (אסימון סוכן, או כתובת IP בלי אסימון).
  • 600 בקשות בדקה לעסק הזה מכל מבצעי הקריאות יחד.
  • 600 קריאות בשעה לכלי העסק ממבצע קריאה אחד.
  • גוף בקשה עד 1,024 KB.
  • מעבר למגבלה, התשובה היא HTTP 429 עם כותרת Retry-After.

גילוי

הדף הזה זמין גם כ-Markdown.