{"_id":"@daily2goal/mcp-server","name":"@daily2goal/mcp-server","dist-tags":{"latest":"0.1.0"},"versions":{"0.1.0":{"name":"@daily2goal/mcp-server","version":"0.1.0","private":false,"type":"module","bin":{"d2g-mcp-server":"dist/index.js"},"scripts":{"build":"tsup","typecheck":"tsc --noEmit","pretest":"pnpm build","test":"node --import ../../node_modules/.pnpm/node_modules/tsx/dist/esm/index.mjs --test ./src/config.test.ts ./tests/package-surface.test.mjs ./tests/cli-smoke.test.mjs","prepublishOnly":"pnpm build","pack:smoke":"npm pack --pack-destination /tmp/d2g-mcp-pack"},"dependencies":{"@modelcontextprotocol/sdk":"^1.0.4"},"devDependencies":{"@types/node":"^22.14.0","tsup":"^8.0.0","tsx":"^4.20.3","typescript":"~5.8.2"},"publishConfig":{"access":"public"},"_id":"@daily2goal/mcp-server@0.1.0","gitHead":"6a2c738d774e75bd284e873423180518651c1fca","description":"Public Daily-to-Goal MCP STDIO package for external Agent clients.","_nodeVersion":"20.20.2","_npmVersion":"10.8.2","dist":{"integrity":"sha512-m0/rPx6vEQ/1Ir4Qfp3WBr7SFgxHqhNrynhn9UPOZoHsQ1VvhfUhEB3KZab+0xp9HS2ROxUFqs//7Ly9VAERTQ==","shasum":"0bd3d1e853f47cd8508e85f3dd2999a71fdf4a2d","tarball":"https://registry.npmjs.org/@daily2goal/mcp-server/-/mcp-server-0.1.0.tgz","fileCount":3,"unpackedSize":8938,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIHiMgl5mWNsc4eJ7vs8nfnz0pQqklbXSFshupjV4TPZcAiAdHV4HvVAh09ZrXhAn2acMf1JMD9f+VimzVm+5Sv63cg=="}]},"_npmUser":{"name":"xiachu","email":"io@wjf.me"},"directories":{},"maintainers":[{"name":"xiachu","email":"io@wjf.me"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/mcp-server_0.1.0_1776296590229_0.005190199509305993"},"_hasShrinkwrap":false}},"time":{"created":"2026-04-15T23:43:10.123Z","0.1.0":"2026-04-15T23:43:10.367Z","modified":"2026-04-15T23:43:10.593Z"},"maintainers":[{"name":"xiachu","email":"io@wjf.me"}],"description":"Public Daily-to-Goal MCP STDIO package for external Agent clients.","readme":"# @daily2goal/mcp-server\n\nPublic Daily-to-Goal MCP STDIO package for external Agent clients.\n\n## Quick start\n\nUse `npx` directly:\n\n```bash\nnpx -y @daily2goal/mcp-server\n```\n\nOpenClaw or Claude-style MCP config:\n\n```json\n{\n  \"mcpServers\": {\n    \"daily-to-goal\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"@daily2goal/mcp-server\"],\n      \"env\": {\n        \"D2G_API_KEY\": \"dtg_live_xxx\"\n      }\n    }\n  }\n}\n```\n\n## Environment variables\n\n- `D2G_API_KEY` (required): Daily-to-Goal API key.\n- `D2G_MCP_SERVER_URL` (optional): service root URL. Default is `https://api.daily2goal.com`.\n- `D2G_TENANT_ID` (optional): tenant context when your key does not carry tenant claims.\n\nUse the service root URL only. Do not set `/api/mcp`, `/api/mcp/sse`, or `/api/mcp/messages` as your `D2G_MCP_SERVER_URL` value.\n\n## Advanced example\n\n```json\n{\n  \"mcpServers\": {\n    \"daily-to-goal\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"@daily2goal/mcp-server\"],\n      \"env\": {\n        \"D2G_MCP_SERVER_URL\": \"https://api.daily2goal.com\",\n        \"D2G_API_KEY\": \"dtg_live_xxx\",\n        \"D2G_TENANT_ID\": \"tenant_123\"\n      }\n    }\n  }\n}\n```\n\n## Common errors\n\n- Missing `D2G_API_KEY`: set the environment variable before starting the MCP server.\n- Invalid `D2G_MCP_SERVER_URL`: use a valid `http` or `https` service root URL.\n","readmeFilename":"README.md","_rev":"1-f9bf2499188784ad5b51e3056a3a03bd"}