mcp-req
v0.1.0
Published
CLI em Bun para consultar servidores MCP, listar recursos e executar tools/prompts.
Readme
MCP Request
CLI em Bun para consultar servidores MCP, listar recursos e executar tools/prompts.
Instalação
bun installUso básico
Listar informações de um ou mais servidores:
bun run index.ts https://shop.maiomb.com/mcp httpTambém aceita lista separada por vírgula:
bun run index.ts https://shop.maiomb.com/mcp,https://umooja.vercel.app/mcp httComandos
Listar prompts:
bun run index.ts list-prompts https://example.com/mcpExecutar uma tool:
bun run index.ts call-tool get_organizations '{}' https://shop.maiomb.com/mcpExecutar um prompt:
bun run index.ts exec-prompt my_prompt '{"city":"Luanda"}' https://example.com/mcpCLI global
Para expor o binário:
bun link
mcp-reqExemplos:
mcp-req https://shop.maiomb.com/mcp https://umooja.vercel.app/mcp
mcp-req call-tool get_organizations '{}' https://shop.maiomb.com/mcpObservações
- O binário exposto no
package.jsonémcp-req. - O projeto usa Bun como runtime principal.
