Skip to content

dsi012/mcp-server-cFS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cFS MCP Server

A Model Context Protocol (MCP) server for NASA's Core Flight System (cFS), enabling AI agents to interact with spacecraft flight software systems.

World's first AI-cFS integration system - Designed for astronauts to use natural language to control spacecraft systems.

Features

  • Native cFS Integration - Direct communication through cFS software bus
  • Safety-First Design - Multi-layer security with emergency stop
  • Real-time Operations - Microsecond-level response times
  • Cross-platform - Linux/Unix support
  • 8 MCP Tools - System monitoring, commands, files, emergency procedures

Quick Start

1. Test with Simulation (No cFS Required)

# Test on Linux/Unix
python test_cfs_mcp.py

2. With Full cFS System

# Build and integrate
cd cFS
# Add 'mcp_interface' to cpu1_APPLIST in cfe/cmake/sample_defs/targets.cmake
make prep && make && make install

# Run
./build/exe/cpu1/core-cpu1
python mcp_server.py

MCP Tools

Tool Description
cfs_get_system_status() Overall system health
cfs_get_telemetry(app) Application telemetry
cfs_send_command(app, cmd) Send commands
cfs_manage_app(app, action) Start/stop apps
cfs_list_files(dir) File operations
cfs_read_file(path) Read files
cfs_get_event_log() System events
cfs_emergency_stop() Emergency safe mode

Safety Features

  • Command validation
  • Critical command confirmation
  • Rate limiting
  • File system protection
  • Emergency stop capability
  • Audit logging

Requirements

  • For Testing: Python 3.8+
  • For cFS Build: CMake, GCC, cFS development environment

Contributing

This is a critical spacecraft system. All contributions must pass safety reviews and follow NASA coding standards.

License

Apache 2.0 - Consistent with NASA's cFS framework


WARNING: Designed for spacecraft operations. Never bypass safety checks in operational environments.

About

World's first AI-cFS integration: MCP server enabling natural language control of spacecraft systems.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published