Present Agent MCP
Find 5 explainable, personalized gift recommendations from inside any MCP client by reasoning about relationship, occasion, and context.
README
Present Agent MCP
Find 5 explainable, personalized gift recommendations from inside any MCP client — Claude Code, Codex, Cursor, and more.
Present Agent is a gifting engine that reasons about the relationship, occasion, and the signal a gift sends — not just product search. This package is the public, hosted MCP server: it calls the live Present Agent API at presentagent.vip, so you need no local product catalog, no Shopify credentials, and no model-provider API keys to get value.
- 🎁 5 curated picks, each with a plain-language reason it fits
- 🔌 Works in any MCP-capable client over stdio
- 🔒 Hosted by default — zero secrets to configure
- 🌐 Every result includes a shareable web URL you can open or continue in the browser
Full docs & client catalog: https://presentagent.vip/mcp
Quickstart
Claude Code
claude mcp add present-agent --transport stdio --scope user \
-e PRESENT_AGENT_CLIENT=claude-code \
-- npx -y present-agent-mcp
Then ask Claude, in any project:
Find a gift for my sister's birthday under $100. She just got into pottery.
Codex
One command writes the config to ~/.codex/config.toml:
npx -y present-agent-mcp setup codex
Use --dry-run to preview without writing, or --local-context to enable opt-in local context (see Local context mode). Restart Codex, then ask for a gift.
Any other MCP client (generic stdio config)
{
"mcpServers": {
"present-agent": {
"command": "npx",
"args": ["-y", "present-agent-mcp"],
"env": { "PRESENT_AGENT_CLIENT": "custom" }
}
}
}
Requirements: Node.js ≥ 18 and network access to
https://presentagent.vip. The first run downloads the package vianpx; subsequent runs are cached.
Tools
present_find_gift
Find 5 personalized gifts through the hosted Present Agent API. Only recipient is required — every other field sharpens the picks but is optional.
| Parameter | Type | Description |
|---|---|---|
recipient |
string · required | Name or short description of who the gift is for. |
relationship |
string | partner, parent, sibling, friend, colleague, client, etc. |
occasion |
string | birthday, anniversary, thank-you, housewarming, onboarding, holiday… |
budget |
string | Free-form: "$50-100", "under $75", "$150 CAD". Prices are CAD. |
interests |
string | Comma-separated interests, hobbies, brands, or taste signals. |
preferences |
string | Known likes, style, taste, or profile clues. |
constraints |
string | Hard rules: avoid categories, delivery deadline, allergies, space, values. |
needs |
string | Functional needs or outcomes the gift should support. |
giver_context |
string | What you (the host AI) know about the giver: budget norms, taste, taboos, prior gifts. Leave empty if unknown — never fabricate. |
recipient_context |
string | What you know about the recipient beyond name/relation/occasion: life events, prior gift outcomes, recent notes. Leave empty if unknown — never fabricate. |
useAgentContext |
boolean | Opt in to local context search. Also requires PRESENT_ENABLE_LOCAL_AGENT_CONTEXT=1. Default false. |
Returns (JSON text):
{
"mode": "hosted",
"apiBase": "https://presentagent.vip",
"sessionId": "51bd7b67-…",
"picksUrl": "https://presentagent.vip/picks/51bd7b67-…",
"contextSignals": { "hosted": { "sources": ["explicit input"] } },
"recommendations": [
{
"slot": "top_pick",
"name": "White — Sage Valley Pottery Pie Dish",
"brand": "PRINTFRESH",
"price": 60,
"matchScore": 0.5,
"whyThisFits": "Combines her love of pottery with practical kitchen artistry…",
"giftAngle": "Present it as functional art she'll use regularly."
}
]
}
picksUrl is a real, shareable page — open it, send it, or continue refining in the browser.
present_beta_start
Zero-argument tool that returns the fastest onboarding instructions, a live web fallback (/gift/new), and the local-context opt-in hint. Useful as a first call to orient a fresh agent.
How to get the best picks
The engine reasons from context. The more specific, true signal you give it, the better the 5 picks — but don't invent detail.
Do
- Name a concrete interest or recent change ("just got into pottery", "started trail running"). Specifics beat adjectives.
- State the relationship and occasion — they change what a gift signals.
- Put genuine hard limits in
constraints("no alcohol", "ships to Canada by Dec 20", "nut allergy"). Constraints are respected before scoring. - Pass through real memory in
giver_context/recipient_contextwhen your host AI already knows it.
Don't
- Fabricate interests or budgets to "fill the form" — empty is better than wrong; the model treats blanks honestly.
- Expect it to read minds: "something nice" with no other signal yields generic picks.
- Use it to search a specific SKU — it recommends what to give, it isn't a product-lookup tool.
Good call:
present_find_gift({ recipient: "my dad", relationship: "parent", occasion: "birthday", budget: "$80-120", interests: "gardening, espresso, jazz vinyl", constraints: "no clothing, he's hard to surprise" })
What's feasible (and what isn't)
| ✅ Feasible | ❌ Not in this MCP |
|---|---|
| 5 explainable gift picks for a person + occasion | Completing a purchase / checkout (happens on the web, link provided) |
| Budget, hard constraints, and taste honored | Real-time inventory or per-item shipping quotes (confirmed at checkout) |
A shareable picksUrl for every result |
Editing a saved recipient profile or wishlist (web/app feature) |
| Optional, opt-in local context hints | Reading your full local files (only sanitized, opt-in signals are sent) |
| Works offline-of-keys: no model/Shopify keys needed | Running the full local catalog engine (that's the private app repo) |
Practical notes
- Latency: a fresh recommendation runs live LLM scoring and typically takes ~20–60s. Repeat/cached contexts are faster.
- Currency: all prices are CAD.
- Checkout: to buy, open
picksUrland continue onpresentagent.vip→ secure Shopify checkout. The MCP never hands users to external retailers. - Determinism: picks are personalized and may vary slightly run-to-run as context changes.
Local context mode (opt-in)
By default the hosted server uses only what you pass in the tool call. Nothing local is read.
To let it look at local Claude/Codex/Gemini context files for soft signals about the named recipient, both must be true:
- Set
PRESENT_ENABLE_LOCAL_AGENT_CONTEXT=1in the server env, and - Pass
useAgentContext: trueon the tool call.
When enabled, the server extracts compact preference / need / constraint hints and sends them as weak signals (never hard requirements). Secret-looking lines and paths are skipped — raw files are never transmitted. These hints are clearly labeled in the request and treated as low-confidence flavour, behind anything you state explicitly.
Configuration
All environment variables are optional — the package runs with safe defaults and no secrets. See .env.example.
| Variable | Default | Purpose |
|---|---|---|
PRESENT_AGENT_CLIENT |
unknown |
Client label for attribution (e.g. claude-code, codex). |
PRESENT_AGENT_API_BASE |
https://presentagent.vip |
API base. Change only if self-hosting Present Agent. |
PRESENT_ENABLE_LOCAL_AGENT_CONTEXT |
unset (off) | Allow opt-in local context search (still needs useAgentContext=true). |
PRESENT_EXPOSE_LOCAL_AGENT_CONTEXT_LINES |
unset (off) | Echo extracted local lines in the response (debug only). |
Privacy
- No keys, no accounts required to use the hosted tools.
- The server sends only the gift context you provide to
presentagent.vip. - Local context search is off by default, double-gated, sanitized, and never transmits raw files or secret-looking content.
- Requests carry an attribution label (
source: "mcp", yourPRESENT_AGENT_CLIENT) for analytics — no personal identifiers are added by this package.
Troubleshooting
| Symptom | Fix |
|---|---|
failed to start / command not found |
Ensure Node.js ≥ 18 and that npx can reach the network on first run. |
| Tool call times out | Recommendations can take up to ~60s; raise your client's MCP tool timeout. |
| Empty / generic picks | Add a concrete interest + relationship + occasion; avoid vague input. |
| Want to preview Codex config | npx -y present-agent-mcp setup codex --dry-run |
Run from source
git clone https://github.com/GuillaumeRacine/present-agent-mcp
cd present-agent-mcp
npm install
npm start # boots the stdio MCP server
License
MIT © Present Agent. See LICENSE.
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。