ai.smithery/callmybot-cookbook-mcp-server
Count occurrences of any character in your text instantly. Specify the character and get precise c…
ماذا يمكنك أن تفعل مع ai.smithery/callmybot-cookbook-mcp-server؟
- CORS: CORS headers for browser-based MCP clients
- Smithery Session Configuration: handles user's session configuration passed via Smithery (learn more)
- Request Logging Middleware: Custom middleware for debugging HTTP requests and responses
- Server Transport: Can run with both STDIO and HTTP transports using
TRANSPORTenv variable
التثبيت
أضف هذا إلى إعدادات MCP في عميلك (Claude Desktop: claude_desktop_config.json، وCursor: .cursor/mcp.json، ويستخدم VS Code وغيره الصيغة نفسها «mcpServers»).
claude mcp add --transport http callmybot-cookbook-mcp-server 'https://server.smithery.ai/@callmybot/cookbook-mcp-server/mcp' --header 'Authorization: <Bearer token for Smithery authentication>'
{
"mcpServers": {
"callmybot-cookbook-mcp-server": {
"type": "http",
"url": "https://server.smithery.ai/@callmybot/cookbook-mcp-server/mcp",
"headers": {
"Authorization": "<Bearer token for Smithery authentication>"
}
}
}
}
التوثيق
مأخوذ من ملف README للمشروع على GitHub ويُحدَّث أسبوعيًا. تفتح الروابط على GitHub.
المحتويات
TypeScript MCP Server with Custom Container
A simple TypeScript MCP server built using the official MCP TypeScript SDK, Express, and custom Docker container. This example demonstrates how you can host HTTP servers on Smithery using custom containers, with STDIO support for backwards compatibility.
See the complete guide: https://smithery.ai/docs/migrations/typescript-custom-container
Features:
- CORS: CORS headers for browser-based MCP clients
- Smithery Session Configuration: handles user's session configuration passed via Smithery (learn more)
- Request Logging Middleware: Custom middleware for debugging HTTP requests and responses
- Server Transport: Can run with both STDIO and HTTP transports using
TRANSPORTenv variable
Prerequisites
- Node.js 22 or higher
- npm package manager
Project Structure
src/index.ts- Main Express server with MCP HTTP transportpackage.json- Node.js dependencies and scriptssmithery.yaml- Smithery deployment and session configurationDockerfile- Dockerfile to host server in Smithery
Quick Start
- Install dependencies:
npm install Run the development server:
HTTP Mode:
npm run devThis will start the server on port 8081.
- Test interactively:
Once your server is running in HTTP mode, you can test it interactively using the Smithery playground:
npx -y @smithery/cli playground --port 8081 - Deploy your own version:
To deploy your own MCP server:
- Connect your repository at https://smithery.ai/new
الأسئلة الشائعة
ما هو ai.smithery/callmybot-cookbook-mcp-server؟
Count occurrences of any character in your text instantly. Specify the character and get precise c…
كيف أثبّت ai.smithery/callmybot-cookbook-mcp-server؟
يعمل كخادم بعيد. في Claude Code: claude mcp add --transport http callmybot-cookbook-mcp-server 'https://server.smithery.ai/@callmybot/cookbook-mcp-server/mcp' --header 'Authorization: <Bearer token for Smithery authentication>'. وفي العملاء الآخرين، الصق إعداد JSON من هذه الصفحة في إعدادات MCP الخاصة بهم.
هل يحتاج ai.smithery/callmybot-cookbook-mcp-server إلى مفتاح API؟
نعم. يتطلب Authorization، وتضبطها في إعداداته.
هل ai.smithery/callmybot-cookbook-mcp-server مفتوح المصدر؟
شيفرته علنية على GitHub، لكن المستودع لا يعلن ترخيصًا قياسيًا.
من يصون ai.smithery/callmybot-cookbook-mcp-server؟
ينشره callmybot. يدرجه AI.tn لكنه لا يصونه ولا يوصي به.
من سجل MCP الرسمي. الإدراج ليس توصية: راجع شيفرة الخادم وصلاحياته قبل منحه الوصول إلى بياناتك.