ElevenLabs.McpClient
1.0.0
dotnet add package ElevenLabs.McpClient --version 1.0.0
NuGet\Install-Package ElevenLabs.McpClient -Version 1.0.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="ElevenLabs.McpClient" Version="1.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="ElevenLabs.McpClient" Version="1.0.0" />
<PackageReference Include="ElevenLabs.McpClient" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add ElevenLabs.McpClient --version 1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: ElevenLabs.McpClient, 1.0.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package ElevenLabs.McpClient@1.0.0
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=ElevenLabs.McpClient&version=1.0.0
#tool nuget:?package=ElevenLabs.McpClient&version=1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
ElevenLabs.McpClient
Strongly typed .NET client for calling elevenlabs-mcp tools over stdio.
Install
dotnet add package ElevenLabs.McpClient
Quickstart
using ElevenLabs.McpClient;
using ElevenLabs.McpClient.ElevenLabs;
using ElevenLabs.McpClient.ElevenLabs.Models;
using ElevenLabs.McpClient.Transport;
await using var transport = new McpStdioProcessTransport(
fileName: "uvx",
arguments: "elevenlabs-mcp",
environment: new Dictionary<string, string>
{
["ELEVENLABS_API_KEY"] = Environment.GetEnvironmentVariable("ELEVENLABS_API_KEY") ?? string.Empty,
});
var rpc = new McpStdioClient(transport);
IElevenLabsClient eleven = new ElevenLabsClient(rpc);
var result = await eleven.TextToSpeechAsync(new TextToSpeechRequest
{
Text = "Hello from ElevenLabs MCP client.",
});
Console.WriteLine(result.Text);
Hosting Modes
- Local:
uvx elevenlabs-mcp - Docker:
docker run --rm -i -e ELEVENLABS_API_KEY=... elevenlabs/elevenlabs-mcp
Environment variables supported by the server:
ELEVENLABS_API_KEY(required)ELEVENLABS_MCP_OUTPUT_MODE(files,resources,both)ELEVENLABS_MCP_BASE_PATHELEVENLABS_API_RESIDENCY
API Surface
The client exposes typed methods for all currently modeled tools:
- Audio: text-to-speech, speech-to-text, sound effects, speech-to-speech, isolation, composition.
- Voice: search/get/clone/create from preview/library search.
- Account and models: subscription, models listing.
- Agents and telephony: agents CRUD-related calls, conversations, outbound calls, phone numbers.
Testing
dotnet test tests/ElevenLabs.McpClient.Tests/ElevenLabs.McpClient.Tests.csproj
dotnet test tests/ElevenLabs.McpClient.IntegrationTests/ElevenLabs.McpClient.IntegrationTests.csproj --filter "Category=Integration"
Codegen
Tool constants are generated deterministically:
dotnet run --project tools/ElevenLabs.McpClient.Codegen -- generate
dotnet run --project tools/ElevenLabs.McpClient.Codegen -- verify
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net10.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.0.0 | 108 | 4/17/2026 |