typespec-mcp-openapi-dual-output-demo

anfibiacreativa/typespec-mcp-openapi-dual-output-demo

3.2

If you are the rightful owner of typespec-mcp-openapi-dual-output-demo and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

This project demonstrates building both a Model Context Protocol (MCP) server and a REST API from a single TypeSpec definition, providing a unified shopping cart service with user and order management capabilities.

Tools

Functions exposed to the LLM to take actions

user_operations_get_user

Retrieves a user by ID

user_operations_create_user

Creates a new user

order_operations_get_order

Retrieves an order by ID

order_operations_create_order

Creates a new order

Prompts

Interactive templates invoked by user choice

No prompts

Resources

Contextual data attached and managed by the client

No resources