mirror of
https://github.com/hoshikawa2/agent-ai-mcp-server.git
synced 2026-03-03 16:19:35 +00:00
adjustments
This commit is contained in:
15
README.md
15
README.md
@@ -396,10 +396,17 @@ prompt = ChatPromptTemplate.from_messages([
|
||||
* **Execução do servidor MCP local via stdio**
|
||||
|
||||
```python
|
||||
server_params = StdioServerParameters(
|
||||
command="python",
|
||||
args=["server_nf_items.py"],
|
||||
)
|
||||
# Run the client with the MCP server
|
||||
async def main():
|
||||
async with MultiServerMCPClient(
|
||||
{
|
||||
"InvoiceItemResolver": {
|
||||
"command": "python",
|
||||
"args": ["server_nf_items.py"],
|
||||
"transport": "stdio",
|
||||
},
|
||||
}
|
||||
) as client:
|
||||
```
|
||||
|
||||
* **Loop principal de interação com o usuário:**
|
||||
|
||||
Reference in New Issue
Block a user