File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ struct mcp --server
6565}
6666
6767# 3. Use MCP tools in your AI conversations:
68- # - list_structures: Get all available structures
68+ # - list_structures: Get all available structures
6969# - get_structure_info: Get details about a structure
7070# - generate_structure: Generate project structures
7171# - validate_structure: Validate YAML configs
Original file line number Diff line number Diff line change @@ -97,7 +97,7 @@ The existing `list` and `info` commands now support an optional `--mcp` flag:
9797# List structures with MCP support
9898struct list --mcp
9999
100- # Get structure info with MCP support
100+ # Get structure info with MCP support
101101struct info project/python --mcp
102102```
103103
@@ -176,15 +176,15 @@ async def main():
176176 command = " struct" ,
177177 args = [" mcp" , " --server" ]
178178 )
179-
179+
180180 async with stdio_client(server_params) as (read, write):
181181 async with ClientSession(read, write) as session:
182182 await session.initialize()
183-
183+
184184 # List available tools
185185 tools = await session.list_tools()
186186 print (f " Available tools: { [tool.name for tool in tools.tools]} " )
187-
187+
188188 # Call a tool
189189 result = await session.call_tool(" list_structures" , {})
190190 print (result.content[0 ].text)
You can’t perform that action at this time.
0 commit comments