Skip to main content
Glama
interact.sh759 B
#!/usr/bin/env bash echo "Starting MCP Server in interactive mode..." echo "The server will start and you can type JSON-RPC commands." echo "" echo "Try these commands (paste them one at a time):" echo "" echo '1. Initialize:' echo '{"jsonrpc":"2.0","method":"initialize","params":{"protocolVersion":"0.1.0","capabilities":{},"clientInfo":{"name":"test","version":"1.0.0"}},"id":1}' echo "" echo '2. List tools:' echo '{"jsonrpc":"2.0","method":"tools/list","params":{},"id":2}' echo "" echo '3. Call ping tool:' echo '{"jsonrpc":"2.0","method":"tools/call","params":{"name":"ping","arguments":{"message":"hello"}},"id":3}' echo "" echo "Press Ctrl+C to exit" echo "==========================================" echo "" # Run the server npx tsx src/index.ts

Latest Blog Posts

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/Daghis/teamcity-mcp'

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