Skip to content

Commit 2c841c9

Browse files
committed
Update MCP documentation with additional client integration details
1 parent ae9b63b commit 2c841c9

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

docs/mcp-integration.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ The existing `list` and `info` commands now support an optional `--mcp` flag:
9797
# List structures with MCP support
9898
struct list --mcp
9999

100-
# Get structure info with MCP support
100+
# Get structure info with MCP support
101101
struct 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)

0 commit comments

Comments
 (0)