curl --request POST \
--url http://localhost:3000/sessions/{userId} \
--header 'Content-Type: application/json' \
--data '
{
"serverConfigs": {
"filesystem": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-filesystem",
"./allowed_directory"
]
}
}
}
'