Initial project blueprint
This commit is contained in:
@@ -0,0 +1,60 @@
|
||||
# MCP Client
|
||||
|
||||
## Назначение
|
||||
|
||||
AI Orchestrator должен работать с любыми MCP-серверами.
|
||||
|
||||
MCP client — универсальный слой, не содержащий 1С-логики.
|
||||
|
||||
## Поддержать методы
|
||||
|
||||
```text
|
||||
initialize
|
||||
tools/list
|
||||
tools/call
|
||||
resources/list
|
||||
resources/read
|
||||
prompts/list
|
||||
prompts/get
|
||||
```
|
||||
|
||||
## Tool metadata
|
||||
|
||||
Каждый tool должен иметь metadata:
|
||||
|
||||
```json
|
||||
{
|
||||
"name": "1c.run_sql",
|
||||
"description": "Execute SQL through 1C adapter",
|
||||
"input_schema": {},
|
||||
"risk": {
|
||||
"resource": "sql",
|
||||
"level": "safe | write | destructive | cost | system",
|
||||
"preview_supported": true
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
## Tool call
|
||||
|
||||
```json
|
||||
{
|
||||
"server_id": "one_c",
|
||||
"tool": "1c.run_sql",
|
||||
"args": {
|
||||
"query": "select * from ..."
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
## Tool result
|
||||
|
||||
```json
|
||||
{
|
||||
"status": "success",
|
||||
"content": {},
|
||||
"artifacts": [],
|
||||
"logs": [],
|
||||
"error": null
|
||||
}
|
||||
```
|
||||
Reference in New Issue
Block a user