google / google/mcp-security

Docs: Troubleshooting MCP server config

Open
#112 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
528
Forks
141
Avg merge
3d 2h
Merged PRs (30d)
6

Description

Troubleshooting an mcp config in JSON used by an MCP Client can be frustrating. We currently say in the docs to try running the cmd and args in the terminal and "no output is success" like so:
```
uv \
--directory /Users/dandye/Projects/google__mcp-security/server/gti/gti_mcp \
run \
--env-file /Users/dandye/Projects/google__mcp-security/.env \
server.py
```

I'd like to change or add to that that using MCP Inspector works well:
```
npx @modelcontextprotocol/inspector \
uv \
--directory /Users/dandye/Projects/google__mcp-security/server/gti/gti_mcp \
run \
--env-file /Users/dandye/Projects/google__mcp-security/.env \
server.py
```

![Image](https://github.com/user-attachments/assets/b3741800-e1d2-4d9f-8727-1366f2d1716f)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.