KosmoKrator

data

NASA MCP Gateway for AI Agents

Expose NASA tools to Claude Code, Cursor, Codex, and other MCP clients through the local KosmoKrator MCP gateway.

6 functions 6 read 0 write API key auth

NASA MCP Gateway

Expose NASA to MCP clients with `kosmokrator mcp:serve --integration=nasa`.

If the client has never used KosmoKrator before, install it first, then register this integration as a stdio MCP server. The gateway exposes only the selected integration in the example below.

curl -fsSL https://raw.githubusercontent.com/OpenCompanyApp/kosmokrator/main/install.sh | bash
kosmokrator mcp:gateway:install --integration=nasa --write=deny --json
{
  "mcpServers": {
    "kosmokrator-nasa": {
      "type": "stdio",
      "command": "kosmo",
      "args": [
        "mcp:serve",
        "--integration=nasa",
        "--write=deny"
      ]
    }
  }
}

Serve Manually

kosmokrator mcp:serve --integration=nasa --write=deny

MCP Tool Names

KosmoKrator exposes integration tools through the gateway with stable names:

MCP toolSource functionType
integration__nasa__nasa_get_apod nasa.nasa_get_apod Read read
integration__nasa__nasa_get_asteroid nasa.nasa_get_asteroid Read read
integration__nasa__nasa_get_asteroids nasa.nasa_get_asteroids Read read
integration__nasa__nasa_get_current_user nasa.nasa_get_current_user Read read
integration__nasa__nasa_get_mars_rover_photos nasa.nasa_get_mars_rover_photos Read read
integration__nasa__nasa_search_images nasa.nasa_search_images Read read

Write Access

Start with --write=deny for read-only MCP clients. Use --write=ask or --write=allow only when the client and workspace are trusted.