
Security News
The Code You Didn't Write Is Still Yours to Defend
AI agents are pulling packages into environments no scanner is watching, creating exposure before security teams can see it.
shared-supabase-mcp-minimal
Advanced tools
XBRL Financial Data MCP Server for Supabase with Claude Desktop compatibility
XBRL財務データAPIサービス - Claude Desktop MCPサーバーとして日本の上場企業の有価証券報告書をMarkdown形式で提供
| プラン | 月額 | アクセス |
|---|---|---|
| Free Trial | 無料 | 直近1年間 |
| Standard | ¥2,980 | 無制限 |
# Clone repository
git clone https://github.com/ruisu2000p/xbrl-api-minimal.git
cd xbrl-api-minimal
# Install dependencies
npm install
# Setup environment variables
cp .env.example .env.local
# Edit .env.local with your Supabase credentials
# Run development server
npm run dev
# Supabase
NEXT_PUBLIC_SUPABASE_URL=your-supabase-url
NEXT_PUBLIC_SUPABASE_ANON_KEY=your-anon-key
SUPABASE_SERVICE_ROLE_KEY=your-service-role-key
# Security
API_KEY_SECRET=your-api-key-secret-minimum-32-chars
# Application
NEXT_PUBLIC_APP_URL=http://localhost:3000
NODE_ENV=development
全てのAPIエンドポイントは認証が必要です:
curl -H "X-API-Key: your-api-key" \
https://api.xbrl-data.com/v1/companies
GET /api/v1/companies?search=トヨタ§or=輸送用機器&fiscal_year=2024
GET /api/v1/companies/{id}
GET /api/health
詳細は OpenAPI仕様書 を参照
# 全テスト実行
npm test
# 統合テスト
npm run test:integration
# セキュリティテスト
npm run test:security
# CI用テスト
npm run test:ci
# Staging環境
npm run deploy:staging
# Production環境
npm run deploy:production
┌─────────────┐ ┌──────────────┐ ┌─────────────┐
│ Client │────▶│ API Layer │────▶│ Service │
│ (Next.js) │ │ (Next.js) │ │ Layer │
└─────────────┘ └──────────────┘ └─────────────┘
│ │
┌───────▼────────┐ ┌───────▼────────┐
│ Middleware │ │ Supabase │
│ (Security) │ │ (DB/Storage) │
└────────────────┘ └────────────────┘
Claude Desktopでの使用:
{
"mcpServers": {
"xbrl-financial": {
"command": "npx",
"args": ["shared-supabase-mcp-minimal@latest"],
"env": {
"XBRL_API_KEY": "your-api-key-from-dashboard",
"XBRL_JWT_TOKEN": "your-jwt-token",
"XBRL_API_URL": "https://wpwqxhyiglbtlaimrjrx.supabase.co/functions/v1/gateway"
}
}
}
}
Authorizationヘッダーを確認⚠️ 重要:
envセクション)を設定してくださいXBRL_API_KEYにはxbrl_v1_で始まる独自APIキーを設定XBRL_JWT_TOKENにはSupabase AuthのJWTトークンを設定MIT License - 詳細はLICENSEをご確認ください。
© 2024 XBRL API Minimal. All rights reserved.
FAQs
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
AI agents are pulling packages into environments no scanner is watching, creating exposure before security teams can see it.

Security News
GitHub Actions checkout now blocks risky pull_request_target checkouts by default to help prevent pwn request supply chain attacks.

Product
Socket now supports Custom Roles and Repository Access Permissions so organizations can control who can access specific repositories and actions.