You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 7b89699
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: README.md
+7-36Lines changed: 7 additions & 36 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -82,7 +82,7 @@ The server can be configured with the following environment variables:
82
82
83
83
## Transport Modes
84
84
85
-
By default, the server runs over stdio for local MCP clients such as Cursor and Claude Desktop.
85
+
By default, the server runs over stdio for local MCP clients such as Cursor.
86
86
87
87
To run the optional Streamable HTTP transport:
88
88
@@ -105,13 +105,11 @@ This MCP server integrates the following NASA APIs:
105
105
- EPIC (Earth Polychromatic Imaging Camera)
106
106
- DONKI (Space Weather Database Of Notifications, Knowledge, Information)
107
107
- Insight (Mars Weather Service)
108
-
- Mars Rover Photos
109
108
- NEO (Near Earth Object Web Service)
110
109
- EONET (Earth Observatory Natural Event Tracker)
111
110
- TLE (Two-Line Element)
112
111
- NASA Image and Video Library
113
112
- Exoplanet Archive
114
-
- NASA Sounds API (Beta)
115
113
- POWER (Prediction Of Worldwide Energy Resources)
116
114
117
115
2.**JPL Solar System Dynamics API** (ssd-api.jpl.nasa.gov):
@@ -143,20 +141,6 @@ Each NASA API is exposed through standardized MCP methods:
143
141
}
144
142
```
145
143
146
-
### Mars Rover Photos
147
-
148
-
```json
149
-
{
150
-
"method": "nasa/mars-rover",
151
-
"params": {
152
-
"rover": "curiosity", // Required: "curiosity", "opportunity", or "spirit"
153
-
"sol": 1000, // Either sol or earth_date is required
154
-
"earth_date": "2023-01-01", // YYYY-MM-DD format
155
-
"camera": "FHAZ"// Optional: Filter by camera type
156
-
}
157
-
}
158
-
```
159
-
160
144
### Near Earth Objects
161
145
162
146
```json
@@ -254,7 +238,6 @@ Example log messages:
254
238
```
255
239
[INFO] NASA MCP Server initialized successfully
256
240
[INFO] Processing APOD request for date: 2023-01-01
257
-
[INFO] Fetching Mars Rover data for Curiosity, sol 1000
258
241
[WARNING] Rate limit threshold reached (80%)
259
242
[ERROR] Invalid parameter: 'date' must be in YYYY-MM-DD format
260
243
```
@@ -285,26 +268,23 @@ cp .env.example .env
285
268
# Build the TypeScript code
286
269
npm run build
287
270
288
-
# Start the development server
289
-
npm run dev
271
+
# Start the server
272
+
npm start
290
273
291
274
# Run tests
292
275
npm test
293
276
```
294
277
295
278
## Testing with MCP Inspector
296
279
297
-
The NASA MCP Server includes a script to help you test the APIs using the MCP Inspector:
280
+
To test the tools interactively, build the project and start the official [MCP Inspector](https://github.com/modelcontextprotocol/inspector) with the server:
1. Build the project to ensure the latest changes are included
306
-
2. Start the MCP Inspector with the NASA MCP server running
307
-
3. Allow you to interactively test all the NASA APIs
287
+
The server reads `NASA_API_KEY` and `FIRMS_MAP_KEY` from a `.env` file in the working directory (see Development above). The Inspector prints a local URL; open it to list and call the tools.
0 commit comments