News for hackers. Stuff that matters.
Re:Show HN: MCPGod: Fine-grained control over MCP clients, s... by nbbaier on Tuesday March 11, 2025 @12:33PM (#43334200)
This is nice! I was thinking of writing something like this myself. One thing I ran into though is that Claude Desktop can't connect to the server-everything with the command you listed. This is in the server logs:

  2025-03-11T16:29:00.168Z [@modelcontextprotocol/server-everything] [info] Client transport closed
   ›   Error: Nonexistent flag: --tools echo,add
   ›   See more help with --help

  USAGE
    $ god run [-t <value>]

  FLAGS
    -t, --tools=<value>  Comma separated list of approved tools
Also, there's no logs for ~/mcpgod for me (that folder doesn't even exist)
Re:Show HN: MCPGod: Fine-grained control over MCP clients, s... by gavinuhma on Tuesday March 11, 2025 @06:26PM (#43337770)
Thanks!!

Hrm, re that error: What does “god --version” say?

The log might not show up until you get a successful connection. I’ll look into that.

Thanks for trying it out!

Re:Show HN: MCPGod: Fine-grained control over MCP clients, s... by gavinuhma on Tuesday March 11, 2025 @06:29PM (#43337797)
I’ve made the mistake of typing “--tools echo” before instead of “--tools=echo”, just in case that was your error too.
Re:Show HN: MCPGod: Fine-grained control over MCP clients, s... by therealpygon on Friday March 14, 2025 @09:22AM (#43362413)
What a polite way to point out that their error was a typo.
Re:Show HN: MCPGod: Fine-grained control over MCP clients, s... by nbbaier on Tuesday March 11, 2025 @08:32PM (#43338705)
I removed the original config and ran the following:

  19:28:36 ~ $ npx -y mcpgod --version
  mcpgod/0.0.2 darwin-arm64 node-v23.9.0

  19:28:47 ~ $ npx -y mcpgod add @modelcontextprotocol/server-everything --client 
  claude --tools=echo,add
Same error and log occured