Skip to main content
Glama

Shell Command MCP Server

by kaznak
client-sequence-example.json1.22 kB
{"method":"initialize","params":{"protocolVersion":"2024-11-05","capabilities":{},"clientInfo":{"name":"claude-ai","version":"0.1.0"}},"jsonrpc":"2.0","id":0} {"method":"notifications/initialized","jsonrpc":"2.0"} {"method":"resources/list","params":{},"jsonrpc":"2.0","id":1} {"method":"tools/list","params":{},"jsonrpc":"2.0","id":2} {"method":"prompts/list","params":{},"jsonrpc":"2.0","id":3} {"method":"tools/call","params":{"name":"execute-bash-script-sync","arguments":{"command":"echo \"現在の日時: $(date)\"","options":{"cwd":"/home/mcp","timeout":5000,"outputMode":"complete"}}},"jsonrpc":"2.0","id":4} {"method":"tools/call","params":{"name":"execute-bash-script-async","arguments":{"command":"echo \"現在の日時: $(date)\"","options":{"cwd":"/home/mcp","timeout":5000,"outputMode":"complete"}}},"jsonrpc":"2.0","id":5} {"method":"tools/call","params":{"name":"execute-bash-script-sync","arguments":{"command":"ls","options":{"cwd":"/home/mcp","timeout":5000,"outputMode":"complete"}}},"jsonrpc":"2.0","id":6} {"method":"tools/call","params":{"name":"execute-bash-script-async","arguments":{"command":"ls","options":{"cwd":"/home/mcp","timeout":5000,"outputMode":"complete"}}},"jsonrpc":"2.0","id":7}

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/kaznak/shell-command-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server