Terraform MCP Assistant
by jashkahar
A FastMCP-based server that provides a natural language interface to Terraform operations. This assistant allows you to manage your infrastructure using simple English commands instead of remembering specific Terraform syntax.
Last updated: N/A
��#� �T�e�r�r�a�f�o�r�m� �M�C�P� �A�s�s�i�s�t�a�n�t�
�
�
�
�A� �F�a�s�t�M�C�P�-�b�a�s�e�d� �s�e�r�v�e�r� �t�h�a�t� �p�r�o�v�i�d�e�s� �n�a�t�u�r�a�l� �l�a�n�g�u�a�g�e� �i�n�t�e�r�f�a�c�e� �t�o� �T�e�r�r�a�f�o�r�m� �o�p�e�r�a�t�i�o�n�s�.� �T�h�i�s� �a�s�s�i�s�t�a�n�t� �a�l�l�o�w�s� �y�o�u� �t�o� �m�a�n�a�g�e� �y�o�u�r� �i�n�f�r�a�s�t�r�u�c�t�u�r�e� �u�s�i�n�g� �s�i�m�p�l�e� �E�n�g�l�i�s�h� �c�o�m�m�a�n�d�s� �i�n�s�t�e�a�d� �o�f� �r�e�m�e�m�b�e�r�i�n�g� �s�p�e�c�i�f�i�c� �T�e�r�r�a�f�o�r�m� �s�y�n�t�a�x�.�
�
�
�
�#�#� �F�e�a�t�u�r�e�s�
�
�
�
�-� �N�a�t�u�r�a�l� �l�a�n�g�u�a�g�e� �p�r�o�c�e�s�s�i�n�g� �o�f� �T�e�r�r�a�f�o�r�m� �c�o�m�m�a�n�d�s�
�
�-� �E�x�e�c�u�t�i�o�n� �p�l�a�n� �v�i�s�u�a�l�i�z�a�t�i�o�n�
�
�-� �S�t�a�t�e� �i�n�s�p�e�c�t�i�o�n� �a�n�d� �m�a�n�a�g�e�m�e�n�t�
�
�-� �I�n�f�r�a�s�t�r�u�c�t�u�r�e� �d�e�p�l�o�y�m�e�n�t� �a�n�d� �d�e�s�t�r�u�c�t�i�o�n�
�
�-� �C�o�n�f�i�g�u�r�a�t�i�o�n� �d�o�c�u�m�e�n�t�a�t�i�o�n�
�
�-� �A�u�t�o�m�a�t�i�c� �w�o�r�k�s�p�a�c�e� �v�a�l�i�d�a�t�i�o�n�
�
�-� �E�r�r�o�r� �h�a�n�d�l�i�n�g� �a�n�d� �f�o�r�m�a�t�t�e�d� �o�u�t�p�u�t�
�
�
�
�#�#� �I�n�s�t�a�l�l�a�t�i�o�n�
�
�
�
�1�.� �C�l�o�n�e� �t�h�e� �r�e�p�o�s�i�t�o�r�y�:�
�
�
�
��
��b�a�s�h� � �g�i�t� �c�l�o�n�e� �h�t�t�p�s�:�/�/�g�i�t�h�u�b�.�c�o�m�/�y�o�u�r�u�s�e�r�n�a�m�e�/�t�e�r�r�a�f�o�r�m�-�m�c�p�-�s�e�r�v�e�r�.�g�i�t� � �c�d� �t�e�r�r�a�f�o�r�m�-�m�c�p�-�s�e�r�v�e�r� � �
��
�
�
�
�
�2�.� �C�r�e�a�t�e� �a�n�d� �a�c�t�i�v�a�t�e� �a� �v�i�r�t�u�a�l� �e�n�v�i�r�o�n�m�e�n�t�:�
�
�
�
��
��b�a�s�h� � �p�y�t�h�o�n� �-�m� �v�e�n�v� �.�v�e�n�v� � �s�o�u�r�c�e� �.�v�e�n�v�/�b�i�n�/�a�c�t�i�v�a�t�e� � �#� �O�n� �W�i�n�d�o�w�s�:� �.�v�e�n�v�\�S�c�r�i�p�t�s�\�a�c�t�i�v�a�t�e� � �
��
�
�
�
�
�3�.� �I�n�s�t�a�l�l� �d�e�p�e�n�d�e�n�c�i�e�s�:�
�
�
�
��
��b�a�s�h� � �p�i�p� �i�n�s�t�a�l�l� �-�r� �r�e�q�u�i�r�e�m�e�n�t�s�.�t�x�t� � �
��
�
�
�
�
�4�.� �O�p�t�i�o�n�a�l�:� �I�n�s�t�a�l�l� �G�r�a�p�h�v�i�z� �f�o�r� �p�l�a�n� �v�i�s�u�a�l�i�z�a�t�i�o�n�:�
�
�
�
�-� �W�i�n�d�o�w�s�:� �D�o�w�n�l�o�a�d� �f�r�o�m� �[�G�r�a�p�h�v�i�z� �D�o�w�n�l�o�a�d� �P�a�g�e�]�(�h�t�t�p�s�:�/�/�g�r�a�p�h�v�i�z�.�o�r�g�/�d�o�w�n�l�o�a�d�/�)�
�
�-� �L�i�n�u�x�:� ��s�u�d�o� �a�p�t�-�g�e�t� �i�n�s�t�a�l�l� �g�r�a�p�h�v�i�z�
�
�
�-� �m�a�c�O�S�:� ��b�r�e�w� �i�n�s�t�a�l�l� �g�r�a�p�h�v�i�z�
�
�
�
�
�#�#� �C�o�n�f�i�g�u�r�a�t�i�o�n�
�
�
�
�1�.� �S�e�t� �u�p� �e�n�v�i�r�o�n�m�e�n�t� �v�a�r�i�a�b�l�e�s� �(�o�p�t�i�o�n�a�l�)�:�
�
�
�
��
��b�a�s�h� � �e�x�p�o�r�t� �T�E�R�R�A�F�O�R�M�_�W�O�R�K�S�P�A�C�E�=�"�/�p�a�t�h�/�t�o�/�t�e�r�r�a�f�o�r�m�/�w�o�r�k�s�p�a�c�e�"� � �e�x�p�o�r�t� �L�O�G�_�L�E�V�E�L�=�"�I�N�F�O�"� � �
��
�
�
�
�
�2�.� �P�l�a�c�e� �y�o�u�r� �T�e�r�r�a�f�o�r�m� �c�o�n�f�i�g�u�r�a�t�i�o�n� �f�i�l�e�s� �i�n� �t�h�e� �w�o�r�k�s�p�a�c�e� �d�i�r�e�c�t�o�r�y�.�
�
�
�
�#�#� �U�s�a�g�e�
�
�
�
�1�.� �S�t�a�r�t� �t�h�e� �M�C�P� �s�e�r�v�e�r�:�
�
�
�
��
��b�a�s�h� � �p�y�t�h�o�n� �s�r�c�/�m�a�i�n�.�p�y� � �
��
�
�
�
�
�2�.� �E�x�a�m�p�l�e� �c�o�m�m�a�n�d�s�:�
�
�
�
�-� �"�I�n�i�t�i�a�l�i�z�e� �t�h�e� �T�e�r�r�a�f�o�r�m� �w�o�r�k�s�p�a�c�e�"�
�
�-� �"�W�h�a�t� �w�i�l�l� �c�h�a�n�g�e� �i�f� �I� �a�p�p�l�y�?�"�
�
�-� �"�S�h�o�w� �m�e� �t�h�e� �c�u�r�r�e�n�t� �s�t�a�t�e�"�
�
�-� �"�A�p�p�l�y� �t�h�e� �c�o�n�f�i�g�u�r�a�t�i�o�n�"�
�
�-� �"�L�i�s�t� �a�l�l� �r�e�s�o�u�r�c�e�s�"�
�
�-� �"�D�e�s�t�r�o�y� �t�h�e� �i�n�f�r�a�s�t�r�u�c�t�u�r�e�"�
�
�
�
�#�#� �P�r�o�j�e�c�t� �S�t�r�u�c�t�u�r�e�
�
�
�
��
�� � �t�e�r�r�a�f�o�r�m�-�m�c�p�-�a�s�s�i�s�t�a�n�t�/� � �%�%�% �d�o�c�s�/� � � � � � � � � � � � � � � � � � �#� �D�o�c�u�m�e�n�t�a�t�i�o�n� � �%�%�% �e�x�a�m�p�l�e�s�/� � � � � � � � � � � � � �#� �E�x�a�m�p�l�e� �T�e�r�r�a�f�o�r�m� �c�o�n�f�i�g�u�r�a�t�i�o�n�s� � �%�%�% �s�r�c�/� � � � � � � � � � � � � � � � � � �#� �S�o�u�r�c�e� �c�o�d�e� � �% � � �%�%�% �h�a�n�d�l�e�r�s�/� � � � � � � � �#� �C�o�m�m�a�n�d� �h�a�n�d�l�e�r�s� � �% � � �%�%�% �m�a�i�n�.�p�y� � � � � � � � � �#� �E�n�t�r�y� �p�o�i�n�t� � �% � � �%�%�% �c�o�n�f�i�g�.�p�y� � � � � � � �#� �C�o�n�f�i�g�u�r�a�t�i�o�n� �m�a�n�a�g�e�m�e�n�t� � �%�%�% �t�e�s�t�s�/� � � � � � � � � � � � � � � �#� �T�e�s�t� �f�i�l�e�s� � �%�%�% �.�e�n�v� � � � � � � � � � � � � � � � �#� �E�n�v�i�r�o�n�m�e�n�t� �v�a�r�i�a�b�l�e�s� �(�n�o�t� �i�n� �V�C�S�)� � �%�%�% �R�E�A�D�M�E�.�m�d� � � � � � � � � � � �#� �T�h�i�s� �f�i�l�e� � �
��
�
�
�
�
�#�#� �D�e�v�e�l�o�p�m�e�n�t�
�
�
�
�1�.� �I�n�s�t�a�l�l� �d�e�v�e�l�o�p�m�e�n�t� �d�e�p�e�n�d�e�n�c�i�e�s�:�
�
�
�
��
��b�a�s�h� � �p�i�p� �i�n�s�t�a�l�l� �-�r� �r�e�q�u�i�r�e�m�e�n�t�s�-�d�e�v�.�t�x�t� � �
��
�
�
�
�
�2�.� �R�u�n� �t�e�s�t�s�:�
�
�
�
��
��b�a�s�h� � �p�y�t�e�s�t� � �
��
�
�
�
�
�#�#� �C�o�n�t�r�i�b�u�t�i�n�g�
�
�
�
�1�.� �F�o�r�k� �t�h�e� �r�e�p�o�s�i�t�o�r�y�
�
�2�.� �C�r�e�a�t�e� �a� �f�e�a�t�u�r�e� �b�r�a�n�c�h�
�
�3�.� �C�o�m�m�i�t� �y�o�u�r� �c�h�a�n�g�e�s�
�
�4�.� �P�u�s�h� �t�o� �t�h�e� �b�r�a�n�c�h�
�
�5�.� �C�r�e�a�t�e� �a� �P�u�l�l� �R�e�q�u�e�s�t�
�
�
�
�