- OAuth: RFC 8414/9728 metadata, RFC 7591 dynamic registration, authorization code + PKCE S256 with a consent screen after Gitea login, refresh token rotation; tokens and codes stored hashed; revoke in web - /mcp: stateless Streamable HTTP, Bearer → user; PM tools from @peppa/mcp/manager: projects, goals, tasks, create, move (board semantics, starts agents), inbox, answer/accept — owner-scoped - login keeps ?next= through Gitea OAuth; Settings page with MCP URL and connected apps - 5 new tests (53 e2e total, green); verified on prod as a client: DCR → consent → token → MCP over HTTPS → revoke → 401 - OpenSpec: pep-8 archived into spec remote-mcp Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
21 lines
502 B
JSON
21 lines
502 B
JSON
{
|
|
"name": "@peppa/testkit",
|
|
"version": "0.0.0",
|
|
"private": true,
|
|
"type": "module",
|
|
"scripts": {
|
|
"typecheck": "tsc -p .",
|
|
"test": "tsx --test --test-concurrency=1 test/*.test.ts"
|
|
},
|
|
"dependencies": {
|
|
"@modelcontextprotocol/sdk": "1.32.2",
|
|
"@peppa/core": "workspace:*",
|
|
"@peppa/db": "workspace:*",
|
|
"@peppa/runner": "workspace:*",
|
|
"@peppa/shared": "workspace:*",
|
|
"drizzle-orm": "0.45.4",
|
|
"@peppa/bot": "workspace:*",
|
|
"@peppa/mcp": "workspace:*"
|
|
}
|
|
}
|