oferty-spike-mcp
oferty-spike-mcp
项目 „Oferty Online" 的 Spike #1:Supabase Auth(测试版)内置的 OAuth 2.1 服务器能否通过 Dynamic Client Registration 与 Claude 应用对接。
代码仅供丢弃。 零测试,除 spike 自身诊断外零错误处理,零真实 MCP 工具。完成后只留下一份结论笔记。
这里有什么
文件 | 作用 |
| HTTP 路由、 |
| MCP v2 服务器 + 返回令牌身份的 |
| 两条路径:静态 Bearer(Claude Code)和 Supabase 令牌(Claude 应用) |
| 同意页面——唯一我们自己写的东西 |
| 启动时获取 AS 元数据,快速失败 |
我们使用 SDK v2(@modelcontextprotocol/server + @modelcontextprotocol/node)。
@modelcontextprotocol/sdk 是旧版 v1——网上大多数教程描述的都是它。
Related MCP server: Remote MCP Server on Cloudflare
环境变量
见 .env.example。四个都是必需的,没有它们进程不会启动。
本地运行
npm ci
APP_ORIGIN=http://localhost:3000 SUPABASE_URL=https://twoj.supabase.co \
SUPABASE_ANON_KEY=... SPIKE_STATIC_TOKEN=... npm start端点
POST /mcp— Streamable HTTP,无状态GET /.well-known/oauth-protected-resource/mcp— RFC 9728GET /.well-known/oauth-authorization-server— Supabase 元数据,原样传递GET /oauth/consent?authorization_id=…— 同意页面GET /healthz— 进程存活性,故意不 ping Supabase
诊断
不带令牌调用 POST /mcp 时返回 401,带有 WWW-Authenticate 头指向
Protected Resource Metadata——由此可以判断懒认证是否生效。
若怀疑连接器重连问题(spike 中最可疑的点),
supabase.auth.oauth.listGrants() 和 revokeGrant({ clientId }) 很实用——它们能
查看和删除已保存的同意,而无需手动操作数据库。
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- FlicenseNot gradedqualityBmaintenanceEnables Claude.ai to connect to a Hermes MCP server via OAuth 2.1 authorization code flow with PKCE, acting as a reverse proxy and single-user authorization gateway.
- FlicenseNot gradedqualityCmaintenanceEnables remote MCP server deployment on Cloudflare Workers with OAuth login, supporting tool calling via SSE from clients like MCP Inspector or Claude Desktop.
- FlicenseNot gradedqualityCmaintenanceEnables deploying a remote MCP server on Cloudflare Workers with OAuth login, allowing MCP clients like Claude Desktop to connect and use tools over SSE.
- FlicenseNot gradedqualityBmaintenanceA proof-of-concept HTTP MCP server requiring OAuth 2.0 authentication before tool use. Demonstrates the full authentication flow with Claude Code, including discovery, client registration, PKCE authorization, and bearer token verification.
Related MCP Connectors
MCP server for secureFlows: token-free URL builders and integration-linting tools for AI agents.
MCP server for interacting with the Supabase platform
MCP server for verifying EUDI/Talao wallet data via OIDC4VP (pull) for AI agents.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/AIBiz-Automatyzacje/oferty-spike-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server