Initial curated ITWorx_MCP_Hub source from 368fba691ea8d23403b4d56b53b5ec670d7c5020
This commit is contained in:
commit
cb5be898ea
663 files changed
+82674
No files matched your search
@@ -0,0 +1,34 @@
|
||||
# Output Safety
|
||||
|
||||
MCP results may be consumed by agents and therefore are an untrusted content channel.
|
||||
|
||||
## Required result envelope
|
||||
|
||||
Every tool result should provide structured data and metadata:
|
||||
|
||||
```json
|
||||
{
|
||||
"data": {},
|
||||
"meta": {
|
||||
"project": "...",
|
||||
"environment": "...",
|
||||
"source": "...",
|
||||
"truncated": false,
|
||||
"nextCursor": null,
|
||||
"generatedAt": "..."
|
||||
},
|
||||
"warnings": []
|
||||
}
|
||||
```
|
||||
|
||||
## Rules
|
||||
|
||||
- mark truncation explicitly;
|
||||
- never silently omit authorization failures;
|
||||
- distinguish target unavailability from empty results;
|
||||
- normalize control characters in logs;
|
||||
- return plain text only when the contract requires it;
|
||||
- cap nested depth and collection size;
|
||||
- do not render untrusted HTML in the UI;
|
||||
- resource descriptions and tool metadata come from managed manifests, not target content;
|
||||
- include source identifiers so an agent can verify where information came from.
|
||||
Reference in new issue
Block a user