We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/gwhthompson/grist-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
hookify.use-npm-scripts.local.md•1.07 kB
---
name: use-npm-scripts
enabled: true
event: bash
pattern: npx\s+@modelcontextprotocol/inspector|npx\s+@anthropic-ai/mcpb|curl.*localhost:8484
action: block
---
**STOP: Use npm scripts instead of manual commands!**
You're trying to run commands manually when npm scripts exist for this.
## Correct Usage
```bash
# Start Grist (required first)
npm run grist start
# Then use the inspector with -- to pass args:
# List available tools
npm run grist inspect cli -- --method tools/list
# Call a specific tool
npm run grist inspect cli -- --method tools/call --tool-name mytool --tool-arg key=value --tool-arg another=value2
# Call a tool with JSON arguments
npm run grist inspect cli -- --method tools/call --tool-name mytool --tool-arg 'options={"format": "json", "max_tokens": 100}'
# List available resources
npm run grist inspect cli -- --method resources/list
# List available prompts
npm run grist inspect cli -- --method prompts/list
# Stop Grist when done
npm run grist stop
```
**Always check package.json scripts first before running manual commands.**