gives all the custom MCP servers that have been created on the current machine.
MCPServerObjects["patt"]
gives the custom MCP servers that have a name matching the given string pattern.
Details
Examples
Basic Examples
See Also
Wolfram`AgentTools`
Wolfram`AgentTools`
MCPServerObjects
gives all the custom MCP servers that have been created on the current machine.
MCPServerObjects["patt"]
gives the custom MCP servers that have a name matching the given string pattern.
Details
- MCPServerObjects[…] gives custom MCP servers that have been created with CreateMCPServer.
- MCPServerObjects[] is equivalent to MCPServerObjects[All].
Examples
Needs["Wolfram`AgentTools`"]Basic Examples (1)
Create some custom MCP servers:
CreateMCPServer["My MCP Server", <|"Tools" -> {LLMTool["PrimeFinder", {"n" -> "Integer"}, Prime[#n]&]}|>]CreateMCPServer["Inert MCP Server", <||>]Get all the custom MCP servers:
MCPServerObjects[]Get only servers matching a specific name pattern:
MCPServerObjects["My*"]Delete all custom MCP servers:
DeleteObject /@ MCPServerObjects[]MCPServerObjects[]