What is π API Revolution: Model Context Protocol (MCP) Meets Web API?
This server exposes powerful APIs built on the Model Context Protocol (MCP), combining traditional API endpoints with model-based communication. It is designed for developers who want next-generation, intelligent API architecturesβusing Domain-Driven Design (DDD) to secure workflows like registration, login, and password change.
How to use π API Revolution: Model Context Protocol (MCP) Meets Web API?
Send a POST request to https://localhost:7190/api/Prompt/SendUserPrompt/SendUserPrompt with a JSON body containing a Prompt string. The server internally calls an MCP client, which communicates with an MCP server, and returns the final response. Commands like "register", "login", and "change password" are included in the prompt text.
Key features of π API Revolution: Model Context Protocol (MCP) Meets Web API
- Combines MCP with traditional API endpoints for model-based communication
- Built with Domain-Driven Design (DDD) β clear aggregates, entities, and use cases
- Secures registration, login, and password change workflows
- No sensitive Bearer tokens are ever exposed to users
- Extensible and modular β new tools can be added without modifying core
- Uses Serilog for structured logging and clean separation of concerns
Use cases of π API Revolution: Model Context Protocol (MCP) Meets Web API
- Register new users by sending a natural-language prompt
- Log in and change passwords in a single interactive request
- Embed intelligent, domain-driven API endpoints into projects
- Prototype model-based communication without rigid HTTP contracts
- Build extensible backend services that adapt to new business logic
Comments