data
NASA MCP Integration for Generic MCP Clients
Connect NASA to Generic MCP Clients through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.
Connect NASA to Generic MCP Clients
Connect any stdio-compatible MCP client to local KosmoKrator integration tools.
Register kosmo mcp:serve as the command for a local stdio MCP server. The gateway is local, scoped to this integration, and starts with
--write=deny so MCP clients can inspect read-capable tools without receiving write access by default.
NASA MCP Config for Generic MCP Clients
Start with read-only write policy and expand only for trusted projects.
{
"mcpServers": {
"kosmokrator-nasa": {
"type": "stdio",
"command": "kosmo",
"args": [
"mcp:serve",
"--integration=nasa",
"--write=deny"
]
}
}
} Run the Gateway Manually
kosmokrator mcp:serve --integration=nasa --write=deny Why Use KosmoKrator Here
Expose only NASA instead of a broad multi-service tool list.
Reuse credentials already configured for the KosmoKrator CLI and Lua runtime.
Start read-only, then opt into ask or allow for trusted workspaces.
NASA Tools Visible to MCP clients
MCP clients sees stable MCP tool names generated from the NASA integration catalog.
| MCP tool | Source function | Type | Description |
|---|---|---|---|
integration__nasa__nasa_get_apod | nasa.nasa_get_apod | Read | Get the NASA Astronomy Picture of the Day (APOD). Returns the daily astronomical image or photo along with an explanation written by a professional astronomer. You can request a specific date or a range of dates. |
integration__nasa__nasa_get_asteroid | nasa.nasa_get_asteroid | Read | Get detailed information about a specific Near Earth Object (asteroid) by its NASA ID. Returns orbital data, estimated diameter, close approach history, and hazard assessment. |
integration__nasa__nasa_get_asteroids | nasa.nasa_get_asteroids | Read | Get Near Earth Objects (asteroids) for a date range from NASA. Returns a list of asteroids with their estimated diameter, velocity, distance from Earth, and whether they are potentially hazardous. |
integration__nasa__nasa_get_current_user | nasa.nasa_get_current_user | Read | Get information about the current NASA API configuration. The NASA API is public and does not require user authentication — this tool returns the API key status and available endpoints. |
integration__nasa__nasa_get_mars_rover_photos | nasa.nasa_get_mars_rover_photos | Read | Get photos from NASA Mars rovers (Curiosity, Opportunity, Spirit, Perseverance). Query by sol (Martian day) or Earth date, and optionally filter by camera. Returns photo URLs and metadata. |
integration__nasa__nasa_search_images | nasa.nasa_search_images | Read | Search the NASA Image and Video Library for space, astronomy, and mission imagery. Returns image URLs, titles, descriptions, and metadata from NASA's vast collection. |