wrangler.jsonc•1.26 kB
/**
* For more details on how to configure Wrangler, refer to:
* https://developers.cloudflare.com/workers/wrangler/configuration/
*/
{
"$schema": "node_modules/wrangler/config-schema.json",
"name": "mcp-memory",
"main": "src/index.ts",
"compatibility_date": "2025-03-10",
"compatibility_flags": [
"nodejs_compat"
],
"migrations": [
{
"new_sqlite_classes": [
"MyMCP"
],
"tag": "v1"
},
],
"unsafe": {
"bindings": [
{
"name": "RATE_LIMITER",
"type": "ratelimit",
"namespace_id": "1001",
"simple": {
"limit": 100,
"period": 60
}
}
]
},
"d1_databases": [
{
"binding": "DB",
"database_name": "mcp-memory",
"database_id": "e675e2d4-f6f4-4fd0-b20e-298e78900f33"
}
],
"durable_objects": {
"bindings": [
{
"class_name": "MyMCP",
"name": "MCP_OBJECT"
}
]
},
"observability": {
"enabled": true
},
"ai": {
"binding": "AI"
},
"assets": {
"directory": "./static/",
"binding": "ASSETS"
},
"vectorize": [
{
"binding": "VECTORIZE",
"index_name": "mcp-memory"
}
],
"triggers": {
"crons": ["0 * * * *"]
}
}