cafes
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
OpenCode + MCP: find a café you can work from
Build toward one question:
Find cafés in BGC with Wi-Fi, power outlets, matcha, and Spanish latte.
The finish line is an actual MCP call that checks every loaded BGC record and returns supported matches with their evidence. Both drinks are required. Unknown does not mean yes.
This repo is the companion to the AWS MCP + OpenCode talk. The café exercise runs locally; it needs no AWS account, cloud deployment, or café API key. OpenCode uses your own configured model access.
Get the repo
Install Git, Node.js 22.19 or newer, and OpenCode. OpenCode must already be able to answer a short question with your chosen model before the timed workshop starts.
git clone https://github.com/dayvough/opencode-mcp.git
cd opencode-mcp
npm ci --ignore-scripts
npm run doctorAlready cloned it? Run git pull --ff-only, then npm ci --ignore-scripts. Commit or stash your own edits first if Git reports a conflict; do not discard your work to follow the workshop.
Run every command below from the repo root. You do not need to change folders between steps. The examples use JavaScript modules, so there is no compile step.
Related MCP server: knowledge-base
Follow the folders
Each folder contains the instructions and code for that stage. These are working checkpoints: inspect the small piece that changes, run it, then try the suggested edit. You can jump to the next checkpoint if you fall behind.
Folder | What you do | Command | Time |
Clone, install, check your tools |
| Before the timer | |
See the café records and their unknowns |
| 0–2 min | |
Turn the question into explicit rules |
| 2–6 min | |
Expose the filter through the SDK |
| 6–9 min | |
Discover and call the tool directly |
| 9–12 min | |
Add the server to your client |
| 12–15 min | |
Compare returned IDs with known answers |
| 15–18 min | |
Prove the same call reflects changed data |
| 18–20 min |
Step 3 waits for a client. Press Ctrl+C before moving on. Step 4 launches its own server process, makes real MCP requests, and exits.
Ask OpenCode
After step 5, restart OpenCode from this directory:
opencode mcp list
opencodeAsk:
Use the cafes MCP tool find_cafes. Find BGC cafés with Wi-Fi and customer-use power outlets. Require both matcha and Spanish latte. Show the returned café IDs, sources, and source dates. Keep unknowns separate from supported matches.
OpenCode may show the tool with a server prefix, such as cafes_find_cafes. Inspect the tool call and its arguments. A confident paragraph without the intended tool call does not pass this exercise.
What is happening?
flowchart LR
A[Your question] --> B[OpenCode chooses tool and arguments]
B -->|MCP tools/call| C[find_cafes]
C --> D[Read saved café records]
D --> E[Apply the filter in code]
E --> F[Return matches and evidence]
F --> BOn connection, the client discovers the tool with tools/list. When the model chooses it, the client sends tools/call. MCP is the shared interface. The filtering rules come from our code; the quality of the facts comes from the dataset and its sources.
OpenCode can also read files and use other tools without MCP. Keep the model, question, and other access the same when comparing the two setups. Our addition is a named, reusable search with validated inputs and checkable results.
Two datasets, two purposes
The real BGC snapshot contains source-backed branch records. The default tool reads data/bgc.json on every call. It is a saved snapshot, not a live scraper or a complete list of every café in BGC.
The test fixture contains seven explicitly fictional cafés. Their known answers let us prove that missing requirements, unknowns, conflicts, and changes are handled properly. The default server never loads these records.
Read the data notes before presenting a real café as a match. A delivery menu is not proof of current stock; a customer Wi-Fi report is not a speed test or an official policy.
For the presenter
npm test checks the filter, data provenance, actual MCP discovery/calls, invalid inputs, and a record change through the same running server. It does not test a model's natural-language answer. Complete that last check in OpenCode during rehearsal.
Code and original workshop explanations are available under the MIT license. Linked source material retains its own terms.
After the workshop
Try the optional challenges. Compare drink rules, inspect failure cases, add a drink, or build an explanation tool. These are separate from the timed workshop.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Connectors
Search 15K+ MCP services, A2A agents, and x402 APIs from 5 registries. Paid via x402 (USDC on Base).
AgentReady Tools is a searchable catalog of more than 250 APIs, MCP servers and developer tools that AI agents can use, each with agent-readiness checks (docs, auth, OpenAPI, MCP support). Search by task, get tool details and related tools, and read or share field notes from other agents in the Agent Community. Remote MCP endpoint: https://agentready-tools.com/mcp
Resolve capability gaps: validate native MCPs, search live web, and record unmet demand.
Search, vet & assemble MCP servers from your agent: verified tools, risk labels, and trust scores.
Related MCP Servers
- FlicenseAqualityDmaintenanceAn MCP server that indexes the public-apis catalogue, allowing LLMs to search and filter over 1,400 public APIs by category, authentication type, and technical requirements. It facilitates precise API discovery for developers by providing tools to query specific features like HTTPS support and CORS compatibility.3-
- FlicenseNot gradedqualityBmaintenanceEnables local full-text and semantic search over saved content, providing search and retrieval capabilities via MCP for AI assistants.-
- AlicenseAqualityBmaintenanceEnables AI agents to search a locally built, topic-specific index over MCP using hybrid keyword and semantic retrieval with trust, version, recency, and evidence-aware ranking. It also lets agents outline coverage, fetch full documents or threads, and inspect index metadata.4MIT
- AlicenseNot gradedqualityBmaintenanceA local MCP bridge that forwards tool calls to a hosted verified-places directory, enabling place search, current opening hours, published menus, rating summaries, bulk destination feeds and booking deep links across 119 travel destinations. Answers come only from listings the directory maintains, and travel questions can be asked in plain language with results grounded in that verified data.72 npmMIT