@kagayoi/hatena-blog-mcp 0.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/tsconfig.json ADDED
@@ -0,0 +1,28 @@
1
+ {
2
+ "compilerOptions": {
3
+ "target": "ES2022",
4
+ "module": "ESNext",
5
+ "moduleResolution": "bundler",
6
+ "lib": ["ES2022", "WebWorker"],
7
+ "types": ["node"],
8
+ "strict": true,
9
+ "noImplicitAny": true,
10
+ "noImplicitReturns": true,
11
+ "noFallthroughCasesInSwitch": true,
12
+ "noUncheckedIndexedAccess": true,
13
+ "exactOptionalPropertyTypes": true,
14
+ "isolatedModules": true,
15
+ "esModuleInterop": true,
16
+ "resolveJsonModule": true,
17
+ "allowSyntheticDefaultImports": true,
18
+ "forceConsistentCasingInFileNames": true,
19
+ "skipLibCheck": true,
20
+ "declaration": false,
21
+ "sourceMap": true,
22
+ "noEmit": true,
23
+ "jsx": "react-jsx",
24
+ "jsxImportSource": "hono/jsx"
25
+ },
26
+ "include": ["src/**/*.ts", "src/**/*.d.ts", "test/**/*.ts", "vitest.config.ts"],
27
+ "exclude": ["node_modules", "dist", ".wrangler"]
28
+ }
package/wrangler.jsonc ADDED
@@ -0,0 +1,25 @@
1
+ {
2
+ "$schema": "node_modules/wrangler/config-schema.json",
3
+ "name": "hatena-blog-mcp",
4
+ "main": "src/index.ts",
5
+ "compatibility_date": "2026-08-24",
6
+ "compatibility_flags": ["nodejs_compat", "enable_request_signal", "request_signal_passthrough"],
7
+ "vars": {
8
+ // Empty keeps the existing wildcard CORS behaviour. Set a comma-separated
9
+ // allowlist here for browser clients; disallowed explicit Origins get 403.
10
+ "ALLOWED_ORIGINS": ""
11
+ },
12
+ "observability": {
13
+ "enabled": true,
14
+ "logs": {
15
+ "enabled": true,
16
+ "head_sampling_rate": 1
17
+ },
18
+ "traces": {
19
+ "enabled": true,
20
+ "head_sampling_rate": 0.01
21
+ }
22
+ }
23
+ // No secrets / no KV / no DO — this server is intentionally stateless (BYOK).
24
+ // Clients pass credentials via the Authorization header on each request.
25
+ }