خادم MCP

خادم MCP الخاص بـ50heads

يمكن لمساعدي الذكاء الاصطناعي الاتصال هنا للإجابة عن أسئلة حول 50heads مما ينشره على صفحته. ويمكن لمالكه أيضًا إدارة النشاط التجاري بمساعده الخاص.

الاتصال

استخدم عنوان URL للخادم أعلاه في إعدادات 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 على صفحته، الحقائق نفسها التي يراها الزائر. الحقيقة التي لا تتضمنها الصفحة تُترك، ولا تُخمَّن أبدًا. يمكن لأي شخص استدعاؤها، دون تسجيل دخول، ولا تكلّف شيئًا.

قبل أن يتواصل مساعد مع النشاط التجاري نيابةً عن شخص ما، ينبغي أن يقرأ سياسة النشاط التجاري للمساعدين (الإجراء assistant_policy). السياسة بيان النشاط التجاري نفسه؛ ولا يفرضها to.co.

لا يستقبل 50heads الرسائل من المساعدين حاليًا.

للمالك

أداة الإدارة مخصصة للحساب الذي يملك 50heads. يطلب منك مساعدك تسجيل الدخول إلى to.co (برمز بريد إلكتروني، أو Google، أو مفتاح مرور) والموافقة على ما يُسمح له بفعله. يعمل الاتصال لهذا النشاط التجاري فقط. ويعمل أيضًا رمز وكيل من حسابك.

يستهلك كل استدعاء يجريه المالك بعد تسجيل الدخول رصيدًا واحدًا من أرصدة API الشهرية للنشاط التجاري. أما السؤال عن النشاط التجاري فلا يستهلكها أبدًا.

إنشاء رمز وكيل

الأدوات

تأخذ كل أداة إجراءً ومعاملات ذلك الإجراء. تستخدم المعاملات والنتائج أسماء حقول بصيغة 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, مطلوب معرّف رسالة، من الإجراء 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 رقم تسجيل ضريبي اختياري (VAT أو 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, مطلوب مفتاح السجل لموقع مزاولة النشاط، من الإجراء 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, مطلوب معرّف رسالة، من الإجراء 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, مطلوب معرّف رسالة، من الإجراء 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, مطلوب معرّف رسالة، من الإجراء 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, مطلوب معرّف رسالة، من الإجراء 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.