mcp.NewServer
Go
- Python Unavailable
- Ruby Unavailable
- Lua Unavailable
- TypeScript Unavailable
- Rust Unavailable
- Go
- Java Unavailable
- .NET Unavailable
- C++ Unavailable
- Swift Unavailable
- mcp.NewServer ( target : tmux.Server ) (*Instance, error)
-
NewServer returns a closeable MCP instance exposing target. It rejects an invalid target before allocating instance-owned resources.
Discussed in Go MCP API