Chatbot MCP
@AndersonHqds
About Chatbot MCP
A simple client and server mcp
Basic information
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"chatbot-mcp": {
"command": "npx",
"args": [
"ts-node",
"server.ts"
]
}
}
}Tools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
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.
More AI & Agents MCP servers
Intervals.icu MCP Server
mvilanovaModel Context Protocol (MCP) server for connecting Claude and ChatGPT with the Intervals.icu API.
LinkedIn MCP Server
stickerdanielOpen-source MCP server for LinkedIn. Give Claude and any MCP-compatible AI agent access to profiles, companies, jobs, and messages.
MCP Server - Remote MacOs Use
baryhuangThe only general AI agent that does NOT requires extra API key, giving you full control on your local and remote MacOs from Claude Desktop App
Gemini MCP Server
aliargunMCP server implementation for Google's Gemini API
🛡️ A.I.G(AI-Infra-Guard)
TencentA full-stack AI Red Teaming platform securing AI ecosystems via OpenClaw Security Scan, Agent Scan, Skills Scan, MCP scan, AI Infra scan and LLM jailbreak evaluation.
Comments