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**
|
* **Execução do servidor MCP local via stdio**
|
||||||
|
|
||||||
```python
|
```python
|
||||||
server_params = StdioServerParameters(
|
# Run the client with the MCP server
|
||||||
command="python",
|
async def main():
|
||||||
args=["server_nf_items.py"],
|
async with MultiServerMCPClient(
|
||||||
)
|
{
|
||||||
|
"InvoiceItemResolver": {
|
||||||
|
"command": "python",
|
||||||
|
"args": ["server_nf_items.py"],
|
||||||
|
"transport": "stdio",
|
||||||
|
},
|
||||||
|
}
|
||||||
|
) as client:
|
||||||
```
|
```
|
||||||
|
|
||||||
* **Loop principal de interação com o usuário:**
|
* **Loop principal de interação com o usuário:**
|
||||||
|
|||||||
Reference in New Issue
Block a user