Shelter
Connect AI agents to scoped financial context from your own Shelter account
ماذا يمكنك أن تفعل مع Shelter؟
shelter_status: connection and authority statusshelter_runway: safe-to-spend runway and upcoming pressureshelter_forecast: manifest-bound cash-flow forecastshelter_alerts: current financial alertsshelter_opportunities: actionable savings opportunitiesshelter_context: scoped financial context for agent reasoningshelter_affordability: purchase affordability simulationshelter_coach_daily: daily coaching summary
التثبيت
أضف هذا إلى إعدادات MCP في عميلك (Claude Desktop: claude_desktop_config.json، وCursor: .cursor/mcp.json، ويستخدم VS Code وغيره الصيغة نفسها «mcpServers»).
@shelter.money/mcpclaude mcp add shelter -e 'SHELTER_API_KEY=<your shelter_api_key>' -e 'SHELTER_API_URL=<SHELTER_API_URL>' -- npx -y @shelter.money/mcp@1.0.7
{
"mcpServers": {
"shelter": {
"command": "npx",
"args": [
"-y",
"@shelter.money/mcp@1.0.7"
],
"env": {
"SHELTER_API_KEY": "<your shelter_api_key>",
"SHELTER_API_URL": "<SHELTER_API_URL>"
}
}
}
}
متغيرات البيئة
SHELTER_API_KEYإلزامي سري Your scoped Shelter API key. Financial values are suppressed without one.SHELTER_API_URLCustom API base URL (default: https://api.shelter.money/agent)
التوثيق
مأخوذ من ملف README للمشروع على GitHub ويُحدَّث أسبوعيًا. تفتح الروابط على GitHub.
المحتويات
Shelter MCP Server
Connect Claude, Codex, Cursor, and other MCP-compatible agents to scoped financial context from your own Shelter account.
The server is read-only. It can retrieve forecasts, runway, alerts, opportunities, and affordability guidance, but it cannot move money or access Plaid credentials.
Requirements
- Node.js 20 or newer
- A Shelter account with connected financial data
- A scoped API key from shelter.money/developer
No Plaid developer account is required.
Quick start
Create an API key, then configure your MCP client to run:
npx -y @shelter.money/mcp
with SHELTER_API_KEY in the server environment.
Claude Code
Install the Shelter plugin, which bundles this server with the Shelter skill:
/plugin marketplace add nextauralabs/shelter-skill
/plugin install shelter@shelter-skills
Export SHELTER_API_KEY in your shell before starting Claude Code. Or add only the server:
claude mcp add shelter --env SHELTER_API_KEY=wv_your_key_here -- npx -y @shelter.money/mcp
Claude Desktop
{
"mcpServers": {
"shelter": {
"command": "npx",
"args": ["-y", "@shelter.money/mcp"],
"env": {
"SHELTER_API_KEY": "wv_your_key_here"
}
}
}
}
Restart Claude Desktop after saving its configuration.
Codex
codex mcp add shelter --env SHELTER_API_KEY=wv_your_key_here -- npx -y @shelter.money/mcp
Cursor
Add this server to Cursor's MCP settings:
{
"shelter": {
"command": "npx",
"args": ["-y", "@shelter.money/mcp"],
"env": {
"SHELTER_API_KEY": "wv_your_key_here"
}
}
}
The package also provides financial checkup, spending review, and purchase-planning prompts.
Available tools
shelter_status: connection and authority statusshelter_runway: safe-to-spend runway and upcoming pressureshelter_forecast: manifest-bound cash-flow forecastshelter_alerts: current financial alertsshelter_opportunities: actionable savings opportunitiesshelter_context: scoped financial context for agent reasoningshelter_affordability: purchase affordability simulationshelter_coach_daily: daily coaching summaryshelter_coach_advice: coaching for a requested topicshelter_ask: ask Guardian a financial question
Environment variables
| Variable | Required | Description |
|---|---|---|
SHELTER_API_KEY | Yes | Scoped key created in Shelter. Keep it secret. |
SHELTER_API_URL | No | API base URL. Defaults to https://api.shelter.money/agent. |
PORT | HTTP mode only | Local HTTP port. Defaults to 3100. |
If SHELTER_API_KEY is missing, the server still exposes its tool definitions but returns suppressed responses with no financial values. It never substitutes sample money data for a user's real financial state.
Security model
- End-user identity comes only from the scoped Shelter API key.
- Keys are stored by Shelter as SHA-256 hashes and shown only once when created.
- Keys can be scoped and revoked from the Shelter developer page.
- The hosted Agent API applies authentication, authorization, rate limits, and audit logging.
- The MCP package does not contain Shelter backend code, deployment secrets, Plaid tokens, or bank credentials.
- Financial responses fail closed when authoritative data is unavailable.
Treat the API key like a password. Do not commit it or place it directly in command history on shared machines. See SECURITY.md for vulnerability reporting.
Development
npm ci
npm run typecheck
npm run build
Run the stdio server from the built package:
SHELTER_API_KEY=wv_your_key_here node dist/bin/shelter-mcp.js
A stateless Streamable HTTP entrypoint is also built for controlled hosting:
SHELTER_API_KEY=wv_your_key_here npm start
The HTTP entrypoint binds to 0.0.0.0 and is not the recommended personal-client setup. Use stdio unless you operate and secure the HTTP environment yourself.
Architecture
This public repository contains only the MCP adapter. It calls Shelter's hosted, read-only Agent API. Shelter's private financial calculations, authentication gateway, database schema, and service credentials are not part of this package.
License
Listed in the Claude Market MCP directory.
الأسئلة الشائعة
ما هو Shelter؟
Connect AI agents to scoped financial context from your own Shelter account
كيف أثبّت Shelter؟
يعمل على جهازك. في Claude Code: claude mcp add shelter -e 'SHELTER_API_KEY=<your shelter_api_key>' -e 'SHELTER_API_URL=<SHELTER_API_URL>' -- npx -y @shelter.money/mcp@1.0.7. وفي العملاء الآخرين، الصق إعداد JSON من هذه الصفحة في إعدادات MCP الخاصة بهم.
هل يحتاج Shelter إلى مفتاح API؟
نعم. يتطلب SHELTER_API_KEY، وتضبطها في إعداداته.
هل Shelter مفتوح المصدر؟
نعم. شيفرته متاحة على GitHub بترخيص MIT.
من يصون Shelter؟
ينشره nextauralabs. يدرجه AI.tn لكنه لا يصونه ولا يوصي به.
من سجل MCP الرسمي. الإدراج ليس توصية: راجع شيفرة الخادم وصلاحياته قبل منحه الوصول إلى بياناتك.