MCP
وسائل الإعلام الإذاعيةخادم MCP
التلفزيون، الراديو، القنوات، البرامج، النصوص، الصحافة الإذاعية، والتغطية الإخبارية السمعية البصرية.
MCP الإصدار: 1.0.0 4 أدوات MCP المصادقة
عنوان URL الأساسي
https://mcp.pressmonitor.com/mcp المصادقة
تستخدم مكالمات MCP أيضًا رموز Bearer عبر طلبات JSON-RPC 2.0.
Authorization: Bearer YOUR_TOKEN headlines
المتغيرات
| الاسم | نوع | مطلوب | الوصف |
|---|---|---|---|
| keywords_text | string | نعم | |
| lang_code | string | لا | |
| country_code | string | لا | |
| count | integer | لا | |
| cursor | string | لا | |
| sort | string | لا | Sort order (date or relevance) |
| date_from | string | لا | Start date for news (YYYY-MM-DD format) |
| date_to | string | لا | End date for news (YYYY-MM-DD format) |
أمثلة الشيفرة
curl -X POST "https://mcp.pressmonitor.com/mcp" -H "Authorization: Bearer YOUR_API_KEY" -H "x-subscription-id: YOUR_SUB_ID" -H "Content-Type: application/json" -d '{
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"name": "headlines",
"arguments": {
"keywords_text": "VALUE"
}
},
"id": 1
}' briefs
المتغيرات
| الاسم | نوع | مطلوب | الوصف |
|---|---|---|---|
| keywords_text | string | نعم | |
| lang_code | string | لا | |
| country_code | string | لا | |
| count | integer | لا | |
| cursor | string | لا | |
| sort | string | لا | Sort order (date or relevance) |
| date_from | string | لا | Start date for news (YYYY-MM-DD format) |
| date_to | string | لا | End date for news (YYYY-MM-DD format) |
أمثلة الشيفرة
curl -X POST "https://mcp.pressmonitor.com/mcp" -H "Authorization: Bearer YOUR_API_KEY" -H "x-subscription-id: YOUR_SUB_ID" -H "Content-Type: application/json" -d '{
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"name": "briefs",
"arguments": {
"keywords_text": "VALUE"
}
},
"id": 1
}' fulltext
المتغيرات
| الاسم | نوع | مطلوب | الوصف |
|---|---|---|---|
| keywords_text | string | نعم | |
| lang_code | string | لا | |
| country_code | string | لا | |
| count | integer | لا | |
| cursor | string | لا | |
| sort | string | لا | Sort order (date or relevance) |
| date_from | string | لا | Start date for news (YYYY-MM-DD format) |
| date_to | string | لا | End date for news (YYYY-MM-DD format) |
أمثلة الشيفرة
curl -X POST "https://mcp.pressmonitor.com/mcp" -H "Authorization: Bearer YOUR_API_KEY" -H "x-subscription-id: YOUR_SUB_ID" -H "Content-Type: application/json" -d '{
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"name": "fulltext",
"arguments": {
"keywords_text": "VALUE"
}
},
"id": 1
}' clip
المتغيرات
| الاسم | نوع | مطلوب | الوصف |
|---|---|---|---|
| id | string | نعم | Clip/article ID to resolve |
| date | string | نعم | Date of the clip (YYYY-MM-DD) |
| host | string | لا | Host name for tenant resolution |
| ttl | integer | لا | Signed URL time-to-live in seconds |
| ns | string | لا | Namespace prefix for multi-tenant index resolution |
أمثلة الشيفرة
curl -X POST "https://mcp.pressmonitor.com/mcp" -H "Authorization: Bearer YOUR_API_KEY" -H "x-subscription-id: YOUR_SUB_ID" -H "Content-Type: application/json" -d '{
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"name": "clip",
"arguments": {
"id": "VALUE",
"date": "VALUE"
}
},
"id": 1
}'