MCP API Tool Demo
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@MCP API Tool DemoWhat is the status of order ord_5002?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
MCP API Tool Demo
Small demo showing how to expose an existing business API or internal data source as MCP tools.
This is intentionally simple and safe:
no real customer data
no external credentials
local JSON data only
two read-only tools
Use Case
A client has order/customer data in an API, spreadsheet, or internal system, and wants an AI assistant to answer questions or call simple tools against that data.
This demo simulates that setup with local JSON files.
Related MCP server: empresa-mcp-demo
Tools
get_order(order_id)
Return order status, customer name, total and last update.customer_summary(customer_id)
Return a compact summary of a customer and recent order ids.
Run
python -m venv .venv
source .venv/bin/activate
pip install -e .
python server.pyTest
pip install -e ".[dev]"
pytest -qExpected result:
4 passedQuick Demo Without An MCP Client
python examples/run_demo.pyThis prints sample outputs for:
a known order
a missing order
a customer summary
Example Questions A Client Could Ask
What is the status of order
ord_5002?Show me a short summary for customer
cust_1002.Which recent orders need review?
Notes For Real Client Work
For a real project, the JSON adapter would be replaced with:
a REST API client
a database query layer
a Google Sheet / Airtable connector
a private internal service
The MCP tool surface should stay small at first: one or two tools, clear input schema, read-only by default, and a short runbook for setup.
See SECURITY_NOTES.md for the security assumptions used in this demo.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/jordansilly77-stack/mcp-api-tool-demo'
If you have feedback or need assistance with the MCP directory API, please join our Discord server