A project to search NASA's image library using an MCP server and display images in an interactive UI.
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add nasa-images --env NASA_API_KEY='<NASA_API_KEY>' -- npx -y @kaitoy/nasa-images-mcp-server~/.codex/config.toml
[mcp_servers.nasa-images]
command = "npx"
args = ["-y", "@kaitoy/nasa-images-mcp-server"]
env = { NASA_API_KEY = "<NASA_API_KEY>" }
# codex mcp add nasa-images --env NASA_API_KEY='<NASA_API_KEY>' -- npx -y @kaitoy/nasa-images-mcp-server~/.cursor/mcp.json
{
"mcpServers": {
"nasa-images": {
"command": "npx",
"args": [
"-y",
"@kaitoy/nasa-images-mcp-server"
],
"env": {
"NASA_API_KEY": "<NASA_API_KEY>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"nasa-images": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@kaitoy/nasa-images-mcp-server"
],
"env": {
"NASA_API_KEY": "<NASA_API_KEY>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"nasa-images": {
"command": "npx",
"args": [
"-y",
"@kaitoy/nasa-images-mcp-server"
],
"env": {
"NASA_API_KEY": "<NASA_API_KEY>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"nasa-images": {
"command": "npx",
"args": [
"-y",
"@kaitoy/nasa-images-mcp-server"
],
"env": {
"NASA_API_KEY": "<NASA_API_KEY>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"nasa-images": {
"command": "npx",
"args": [
"-y",
"@kaitoy/nasa-images-mcp-server"
],
"env": {
"NASA_API_KEY": "<NASA_API_KEY>"
}
}
}
}Environment variables
NASA_API_KEY
Replace the placeholders with your own credentials and keep them out of version control.