Chatbot MCP
@AndersonHqds
关于 Chatbot MCP
A simple client and server mcp
基本信息
配置
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"chatbot-mcp": {
"command": "npx",
"args": [
"ts-node",
"server.ts"
]
}
}
}工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
What is Chatbot MCP?
Chatbot MCP is an intelligent chatbot that uses the Model Context Protocol (MCP) to process natural language requests and perform operations such as CPF validation and recharge (add/subtract balance). It is built with TypeScript, Express.js, and OpenAI GPT-4, and is intended for developers who need a conversational interface for account management tasks.
How to use Chatbot MCP?
Install Node.js 18+, clone the repository, run npm install, and create a .env file with your OPENAI_API_KEY. Start the server with npx ts-node server.ts and the client with npx ts-node index.ts in a separate terminal. Then send natural language commands like “Realizar uma recarga de R$50 para o CPF 123.456.789-09” to perform recharge or debit operations.
Key features of Chatbot MCP
- Natural language processing using GPT-4
- Robust CPF validation (formatting, length, check digits)
- Recharge system with add and subtract operations
- Command-line interface for interaction
- REST API with MCP support
Use cases of Chatbot MCP
- Validate CPF numbers and perform balance recharge or debit
- Process natural language requests for account management
- Integrate an MCP-based chatbot into existing Node.js applications
FAQ from Chatbot MCP
What are the prerequisites for Chatbot MCP?
Node.js version 18 or higher, npm or yarn, and an OpenAI API key are required.
How do I run Chatbot MCP?
Start the server with npx ts-node server.ts and the client with npx ts-node index.ts in separate terminals.
What commands does Chatbot MCP support?
It supports natural language commands for recharge (e.g., “Realizar uma recarga de R$50 para o CPF 123.456.789-09”) and debit (e.g., “Realize um débito de x valor para o cpf y”).
How does CPF validation work?
The system accepts CPF with or without formatting (e.g., 123.456.789-09 or 12345678909), checks for exactly 11 digits, validates the check digits, and rejects CPFs with all identical digits.
What technologies does Chatbot MCP use?
It uses TypeScript, Express.js, OpenAI GPT-4, the Model Context Protocol (MCP), Zod for validation, and CORS for security.
AI 与智能体 分类下的更多 MCP 服务器
Perplexity Ask MCP Server
ppl-aiThe official MCP server implementation for the Perplexity API Platform
MCP-NixOS - Because Your AI Assistant Shouldn't Hallucinate About Packages
utensilsMCP-NixOS - Model Context Protocol Server for NixOS resources
Open Multi-Agent Canvas
CopilotKitThe open-source multi-agent chat interface that lets you manage multiple agents in one dynamic conversation and add MCP servers for deep research
欢迎来到 智言平台
Shy2593666979AgentChat 是一个基于 LLM 的智能体交流平台,内置默认 Agent 并支持用户自定义 Agent。通过多轮对话和任务协作,Agent 可以理解并协助完成复杂任务。项目集成 LangChain、Function Call、MCP 协议、RAG、Memory、HITL、Skill、Milvus 和 ElasticSearch 等技术,实现高效的知识检索与工具调用,使用 FastAPI 构建高性能后端服务。
MCP Claude Code
SDGLBLMCP implementation of Claude Code capabilities and more
评论