Skip to content

Commit 2235138

Browse files
stephenhillierangaither
authored andcommitted
add troubleshooting section
1 parent 31e9a9e commit 2235138

File tree

1 file changed

+18
-2
lines changed

1 file changed

+18
-2
lines changed

README.md

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,20 +75,36 @@ To connect using GitHub Copilot, configure the `mcp.json` file (see [VSCode docs
7575
{
7676
"servers": {
7777
"planet": {
78-
"command": "planet-mcp",
78+
"command": "planet-mcp"
7979
}
8080
},
8181
"inputs": []
8282
}
8383
```
8484

85-
### Example queries
85+
## Example queries
8686

8787
- Does Planet have any recent imagery over Puget Sound?
8888
- List my subscriptions
8989
- Get my June 2025 subscriptions and cancel the ones with name Netherlands
9090
- Create a PlanetScope subscription with the first item in my Netherlands Feature Collection.
9191

92+
## Troubleshooting
93+
94+
### Unable to launch planet-mcp (ENOENT, No such file or directory, etc.):
95+
96+
This is likely due to the `planet-mcp` package being installed to a different Python environment than the one your AI agent is using. The easiest way to resolve this is to run `which planet-mcp` after installing the package, and then copy the full path to your AI agent's MCP configuration. For example, if `which planet-mcp` returns `/home/user/.local/share/virtualenvs/test/bin/planet-mcp`, your config file would look like:
97+
98+
```json
99+
{
100+
"servers": {
101+
"planet": {
102+
"command": "/home/user/.local/share/virtualenvs/test/bin/planet-mcp"
103+
}
104+
}
105+
}
106+
```
107+
92108

93109
## Local dev
94110

0 commit comments

Comments
 (0)