feat: add credential routes and mcp manifest
This commit is contained in:
72
mcp.json
Normal file
72
mcp.json
Normal file
@@ -0,0 +1,72 @@
|
||||
{
|
||||
"name": "Elysia Documentation",
|
||||
"description": "Development documentation",
|
||||
"version": "0.0.0",
|
||||
"capabilities": {
|
||||
"postapiapikeycreate": {
|
||||
"enabled": true,
|
||||
"command": "curl -X POST http://localhost:3000/api/apikey/create",
|
||||
"description": "create api key"
|
||||
},
|
||||
"getapiapikeylist": {
|
||||
"enabled": true,
|
||||
"command": "curl -X GET http://localhost:3000/api/apikey/list",
|
||||
"description": "get api key list"
|
||||
},
|
||||
"deleteapiapikeydelete": {
|
||||
"enabled": true,
|
||||
"command": "curl -X DELETE http://localhost:3000/api/apikey/delete",
|
||||
"description": "delete api key"
|
||||
},
|
||||
"getapidarmasabarepos": {
|
||||
"enabled": true,
|
||||
"command": "curl -X GET http://localhost:3000/api/darmasaba/repos",
|
||||
"description": "/repos"
|
||||
},
|
||||
"getapidarmasabals": {
|
||||
"enabled": true,
|
||||
"command": "curl -X GET http://localhost:3000/api/darmasaba/ls",
|
||||
"description": "/ls"
|
||||
},
|
||||
"getapidarmasabalsbydir": {
|
||||
"enabled": true,
|
||||
"command": "curl -X GET http://localhost:3000/api/darmasaba/ls/{dir}",
|
||||
"description": "/ls/:dir"
|
||||
},
|
||||
"getapidarmasabafilebydirbyfile_name": {
|
||||
"enabled": true,
|
||||
"command": "curl -X GET http://localhost:3000/api/darmasaba/file/{dir}/{file_name}",
|
||||
"description": "/file/:dir/:file_name"
|
||||
},
|
||||
"getapiuserfind": {
|
||||
"enabled": true,
|
||||
"command": "curl -X GET http://localhost:3000/api/user/find",
|
||||
"description": "GET /api/user/find"
|
||||
},
|
||||
"postapicredentialcreate": {
|
||||
"enabled": true,
|
||||
"command": "curl -X POST http://localhost:3000/api/credential/create",
|
||||
"description": "POST /api/credential/create"
|
||||
},
|
||||
"getapicredentiallist": {
|
||||
"enabled": true,
|
||||
"command": "curl -X GET http://localhost:3000/api/credential/list",
|
||||
"description": "GET /api/credential/list"
|
||||
},
|
||||
"deleteapicredentialrm": {
|
||||
"enabled": true,
|
||||
"command": "curl -X DELETE http://localhost:3000/api/credential/rm",
|
||||
"description": "DELETE /api/credential/rm"
|
||||
},
|
||||
"postauthlogin": {
|
||||
"enabled": true,
|
||||
"command": "curl -X POST http://localhost:3000/auth/login",
|
||||
"description": "login"
|
||||
},
|
||||
"deleteauthlogout": {
|
||||
"enabled": true,
|
||||
"command": "curl -X DELETE http://localhost:3000/auth/logout",
|
||||
"description": "logout"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user