Class EquinixMcpServer
java.lang.Object
com.eqixiac.equinix.mcp.server.EquinixMcpServer
- All Implemented Interfaces:
AutoCloseable
The embedded Equinix Intelligence MCP Server - a community server, not affiliated
with Equinix and separate from Equinix's official Fabric MCP server (Public Preview at
https://mcp.equinix.com/fabric). It exposes this
SDK's design engines and cross-domain reads as MCP tools over stdio only,
executing under the operator's client-credentials.
EquinixMcpServer server = EquinixMcpServer.builder()
.credentials(accessKey, secretKey) // or .session(existingEquinix)
.toolsets(Toolset.DESIGN, Toolset.IBX) // optional; default: every read-only toolset
.build(); // registers tools and starts serving stdio
The tool catalog is grouped in toolsets (see catalog(Set)); with the design toolset the
server also serves resources (the DesignSpec JSON Schema, a starter spec, stored plans) and prompts.
The Safe Mutation
Broker's dry-run-first mutation pair lives in the opt-in mutate toolset - served
only when that toolset is explicitly selected, never by default. Custom extensions register
through EquinixMcpServer.Builder.additionalTools(ToolRegistration...) using the exact same
ToolRegistration seam the built-ins (broker included) use.
stdout is sacred: the MCP wire protocol owns it. This class and every
handler log via slf4j only; EquinixMcpServerMain routes slf4j-simple to stderr.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe MCPserverInfo.namepresented to clients. -
Method Summary
Modifier and TypeMethodDescriptionstatic EquinixMcpServer.Builderbuilder()static List<ToolRegistration> The built-in read-only tool catalog for the selected toolsets:Toolset.DESIGNthe spec-driven design tools,Toolset.ESTATEthe scoped estate analysis,Toolset.FABRICboth;portal,neandibxadd their domains' reach.voidclose()Closes the MCP server gracefully and, when this instance created its ownEquinixsession from credentials, closes that session too.io.modelcontextprotocol.server.McpSyncServerstatic StringResolves this server's advertised version: the jar's implementation version when running from the packaged artifact, else a development placeholder.
-
Field Details
-
SERVER_NAME
-
-
Method Details
-
builder
- Returns:
- a new server builder
-
catalog
The built-in read-only tool catalog for the selected toolsets:Toolset.DESIGNthe spec-driven design tools,Toolset.ESTATEthe scoped estate analysis,Toolset.FABRICboth;portal,neandibxadd their domains' reach. TheToolset.MUTATEtoolset is deliberately not part of this static catalog: the Safe Mutation Broker's tool pair shares a per-server proposal store, soEquinixMcpServer.Builder.build()registers it per instance when (and only when)mutatewas explicitly selected.- Parameters:
toolsets- the selected toolsets- Returns:
- the matching registrations, in catalog order
-
getMcpServer
public io.modelcontextprotocol.server.McpSyncServer getMcpServer()- Returns:
- the underlying MCP sync server
-
getContext
- Returns:
- the shared context the tool handlers execute against
-
getRegistrations
- Returns:
- every registered tool, in registration order
-
serverVersion
Resolves this server's advertised version: the jar's implementation version when running from the packaged artifact, else a development placeholder.- Returns:
- the version string used in
serverInfo
-
close
public void close()Closes the MCP server gracefully and, when this instance created its ownEquinixsession from credentials, closes that session too.- Specified by:
closein interfaceAutoCloseable
-