stdin: {"id":1,"jsonrpc":"2.0","method":"initialize","params":{"capabilities":{},"clientInfo":{"name":"toolwitness","version":"s772-v0"},"protocolVersion":"2025-11-25"}} {"jsonrpc":"2.0","method":"notifications/initialized"} {"id":2,"jsonrpc":"2.0","method":"tools/list","params":{}} stdout: {"result":{"protocolVersion":"2025-11-25","capabilities":{"tools":{"listChanged":true}},"serverInfo":{"name":"mafdet-mcp","version":"0.1.3"}},"jsonrpc":"2.0","id":1} {"result":{"tools":[{"name":"list_models","title":"List Mafdet AI models","description":"List the models available on Mafdet AI with provider, tier, and per-1M-token pricing. No API key required.","inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","type":"object","properties":{"provider":{"type":"string","minLength":1,"maxLength":40},"tier":{"type":"string","minLength":1,"maxLength":40}}},"execution":{"taskSupport":"forbidden"}},{"name":"get_balance","title":"Get account balance","description":"Read the current organization's wallet balance, bonus, frozen, and available amounts. Requires a MAFDET_API_KEY with the account:read scope.","inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","type":"object","properties":{}},"execution":{"taskSupport":"forbidden"}},{"name":"get_usage_summary","title":"Get usage summary","description":"Summarize the organization's API usage over a recent window (requests, tokens, charge). Requires account:read.","inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","type":"object","properties":{"days":{"type":"integer","minimum":1,"maximum":90}}},"execution":{"taskSupport":"forbidden"}},{"name":"get_subscription","title":"Get subscription","description":"Read the organization's current plan, status, period, and Playground credit summary. Requires account:read.","inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","type":"object","properties":{}},"execution":{"taskSupport":"forbidden"}},{"name":"search_docs","title":"Search Mafdet AI docs","description":"Search the Mafdet AI documentation and return titles, URLs, and summaries. No API key required.","inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","type":"object","properties":{"query":{"type":"string","minLength":1,"maxLength":100},"limit":{"type":"integer","minimum":1,"maximum":10}},"required":["query"]},"execution":{"taskSupport":"forbidden"}}]},"jsonrpc":"2.0","id":2}