ChainGraph API Documentation / @badaitech/chaingraph-trpc / server / ServerCapabilities
Interface: ServerCapabilities
Defined in: packages/chaingraph-trpc/server/mcp/services/mcp-capability.service.ts:15
Properties
prompts
prompts:
object[]
Defined in: packages/chaingraph-trpc/server/mcp/services/mcp-capability.service.ts:19
Index Signature
[key: string]: unknown
_meta?
optional_meta:object
See MCP specification for notes on _meta usage.
Index Signature
[key: string]: unknown
arguments?
optionalarguments:object[]
A list of arguments to use for templating the prompt.
Index Signature
[key: string]: unknown
description?
optionaldescription:string
An optional description of what this prompt provides
icons?
optionalicons:object[]
An optional list of icons for this prompt.
Index Signature
[key: string]: unknown
name
name:
string
Intended for programmatic or logical use, but used as a display name in past specs or fallback
title?
optionaltitle:string
Intended for UI and end-user contexts — optimized to be human-readable and easily understood, even by those unfamiliar with domain-specific terminology.
If not provided, the name should be used for display (except for Tool, where annotations.title should be given precedence over using name, if present).
resources
resources: ({[
key:string]:unknown;_meta?: {[key:string]:unknown; };description?:string;icons?:object[];mimeType?:string;name:string;title?:string;uri:string; } | {[key:string]:unknown;_meta?: {[key:string]:unknown; };description?:string;mimeType?:string;name:string;title?:string;uriTemplate:string; })[]
Defined in: packages/chaingraph-trpc/server/mcp/services/mcp-capability.service.ts:18
serverId
serverId:
string
Defined in: packages/chaingraph-trpc/server/mcp/services/mcp-capability.service.ts:16
timestamp
timestamp:
number
Defined in: packages/chaingraph-trpc/server/mcp/services/mcp-capability.service.ts:20
tools
tools:
object[]
Defined in: packages/chaingraph-trpc/server/mcp/services/mcp-capability.service.ts:17
Index Signature
[key: string]: unknown
_meta?
optional_meta:object
See MCP specification for notes on _meta usage.
Index Signature
[key: string]: unknown
annotations?
optionalannotations:object
Optional additional tool information.
Index Signature
[key: string]: unknown
annotations.destructiveHint?
optionaldestructiveHint:boolean
If true, the tool may perform destructive updates to its environment. If false, the tool performs only additive updates.
(This property is meaningful only when readOnlyHint == false)
Default: true
annotations.idempotentHint?
optionalidempotentHint:boolean
If true, calling the tool repeatedly with the same arguments will have no additional effect on the its environment.
(This property is meaningful only when readOnlyHint == false)
Default: false
annotations.openWorldHint?
optionalopenWorldHint:boolean
If true, this tool may interact with an "open world" of external entities. If false, the tool's domain of interaction is closed. For example, the world of a web search tool is open, whereas that of a memory tool is not.
Default: true
annotations.readOnlyHint?
optionalreadOnlyHint:boolean
If true, the tool does not modify its environment.
Default: false
annotations.title?
optionaltitle:string
A human-readable title for the tool.
description?
optionaldescription:string
A human-readable description of the tool.
icons?
optionalicons:object[]
An optional list of icons for this tool.
Index Signature
[key: string]: unknown
inputSchema
inputSchema:
object
A JSON Schema object defining the expected parameters for the tool.
Index Signature
[key: string]: unknown
inputSchema.properties?
optionalproperties:object
Index Signature
[key: string]: unknown
inputSchema.required?
optionalrequired:string[]
inputSchema.type
type:
"object"
name
name:
string
Intended for programmatic or logical use, but used as a display name in past specs or fallback
outputSchema?
optionaloutputSchema:object
An optional JSON Schema object defining the structure of the tool's output returned in the structuredContent field of a CallToolResult.
Index Signature
[key: string]: unknown
outputSchema.properties?
optionalproperties:object
Index Signature
[key: string]: unknown
outputSchema.required?
optionalrequired:string[]
outputSchema.type
type:
"object"
title?
optionaltitle:string
Intended for UI and end-user contexts — optimized to be human-readable and easily understood, even by those unfamiliar with domain-specific terminology.
If not provided, the name should be used for display (except for Tool, where annotations.title should be given precedence over using name, if present).