toggle menu
MCP Kotlin SDK
1.0-SNAPSHOT
jvm
switch theme
MCP
Kotlin
SDK
org.
jetbrains.
kotlinx.
mcp
Blob
Resource
Contents
Call
Tool
Request
Call
Tool
Result
Call
Tool
Result
Base
Cancelled
Notification
Client
Capabilities
Roots
Client
Notification
Client
Request
Client
Result
Compatibility
Call
Tool
Result
Complete
Request
Argument
Complete
Result
Completion
Create
Message
Request
Include
Context
none
this
Server
all
Servers
Create
Message
Result
Cursor
Custom
Meta
Custom
Request
Embedded
Resource
Companion
Empty
Request
Result
Error
Code
Defined
Connection
Closed
Request
Timeout
Parse
Error
Invalid
Request
Method
Not
Found
Invalid
Params
Internal
Error
Unknown
from
JSON()
Get
Prompt
Request
Get
Prompt
Result
Image
Content
Companion
Implementation
Initialized
Notification
Initialize
Request
Initialize
Result
JSONRPC_
VERSION
JSONRPCError
JSONRPCMessage
JSONRPCNotification
JSONRPCRequest
JSONRPCResponse
LATEST_
PROTOCOL_
VERSION
List
Prompts
Request
List
Prompts
Result
List
Resources
Request
List
Resources
Result
List
Resource
Templates
Request
List
Resource
Templates
Result
List
Roots
Request
List
Roots
Result
List
Tools
Request
List
Tools
Result
Logging
Level
debug
info
notice
warning
error
critical
alert
emergency
Logging
Message
Notification
Set
Level
Request
Mcp
Error
Method
Custom
Defined
Initialize
Ping
Resources
List
Resources
Templates
List
Resources
Read
Resources
Subscribe
Resources
Unsubscribe
Prompts
List
Prompts
Get
Notifications
Cancelled
Notifications
Initialized
Notifications
Progress
Notifications
Message
Notifications
Resources
Updated
Notifications
Resources
List
Changed
Notifications
Tools
List
Changed
Notifications
Roots
List
Changed
Notifications
Prompts
List
Changed
Tools
List
Tools
Call
Logging
Set
Level
Sampling
Create
Message
Completion
Complete
Roots
List
Model
Hint
Model
Preferences
Notification
Paginated
Request
Paginated
Result
Ping
Request
Progress
Progress
Base
Progress
Notification
Progress
Token
Prompt
Prompt
Argument
Prompt
List
Changed
Notification
Prompt
Message
Prompt
Message
Content
Prompt
Message
Content
Text
Or
Image
Prompt
Reference
Companion
Read
Resource
Request
Read
Resource
Result
Reference
Request
Request
Id
Request
Result
Resource
Resource
Contents
Resource
List
Changed
Notification
Resource
Reference
Companion
Resource
Template
Resource
Updated
Notification
Role
user
assistant
Root
Roots
List
Changed
Notification
Sampling
Message
Server
Capabilities
Prompts
Resources
Tools
Server
Notification
Server
Request
Server
Result
Stop
Reason
End
Turn
Max
Tokens
Other
Stop
Sequence
Subscribe
Request
SUPPORTED_
PROTOCOL_
VERSIONS
Text
Content
Companion
Text
Resource
Contents
to
JSON()
Tool
Input
Tool
List
Changed
Notification
Unknown
Content
Unknown
Method
Request
Or
Notification
Unknown
Reference
Unknown
Resource
Contents
Unsubscribe
Request
With
Meta
Companion
org.
jetbrains.
kotlinx.
mcp.
client
Client
Client
Options
mcp
Sse()
mcp
Sse
Transport()
mcp
Web
Socket()
mcp
Web
Socket
Transport()
SSEClient
Transport
Stdio
Client
Transport
Web
Socket
Client
Transport
org.
jetbrains.
kotlinx.
mcp.
server
MCP()
mcp
Web
Socket()
mcp
Web
Socket
Transport()
Registered
Prompt
Registered
Resource
Registered
Tool
Server
Server
Options
SSEServer
Transport
Stdio
Server
Transport
Web
Socket
Mcp
Server
Transport
org.
jetbrains.
kotlinx.
mcp.
shared
DEFAULT_
REQUEST_
TIMEOUT
Progress
Callback
Protocol
Protocol
Options
Read
Buffer
Request
Handler
Extra
Request
Options
Transport
Web
Socket
Mcp
Transport
shared
LIB_
VERSION
MCP Kotlin SDK
/
org.jetbrains.kotlinx.mcp
/
ProgressNotification
/
ProgressNotification
Progress
Notification
constructor
(
progress
:
Int
,
progressToken
:
ProgressToken
,
_meta
:
JsonObject
=
EmptyJsonObject
,
total
:
Double
?
)
(
source
)