NYC Charter, Laws and Rules for VS Code
io.github.betanyc/nyc-charter-laws-rules
Search and read the NYC Charter, Administrative Code and Rules of the City of New York
client:VS Code
transport:stdio
runtime:npm
Install NYC Charter, Laws and Rules in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "nyc-laws-index-dir",
"description": "NYC_LAWS_INDEX_DIR",
"password": true
},
{
"type": "promptString",
"id": "nyc-clr-footer",
"description": "NYC_CLR_FOOTER",
"password": true
}
],
"servers": {
"nyc-charter-laws-rules": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@betanyc/nyc-charter-laws-rules"
],
"env": {
"NYC_LAWS_INDEX_DIR": "${input:nyc-laws-index-dir}",
"NYC_CLR_FOOTER": "${input:nyc-clr-footer}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs