MFramework.Services.FakeData.McpServer
0.2.0
{ "inputs": [], "servers": { "MFramework.Services.FakeData.McpServer": { "type": "stdio", "command": "dnx", "args": ["MFramework.Services.FakeData.McpServer@", "--yes"], "env": {} } } }
.vscode/mcp.json
settings file.
dotnet tool install --global MFramework.Services.FakeData.McpServer --version 0.2.0
dotnet new tool-manifest
dotnet tool install --local MFramework.Services.FakeData.McpServer --version 0.2.0
#tool dotnet:?package=MFramework.Services.FakeData.McpServer&version=0.2.0
nuke :add-package MFramework.Services.FakeData.McpServer --version 0.2.0
MCP Server
This is a feka data generator MCP server for the Model Context Protocol (MCP). It provides a simple way to generate random numbers and strings, which can be used in various applications, such as testing or development.
Using with locally
To test this MCP server from source code (locally) without using a built MCP server package, you can configure your IDE to run the project directly using dotnet run
.
{
"servers": {
"MFramework.Services.FakeData.McpServer": {
"type": "stdio",
"command": "dotnet",
"args": [
"run",
"--project",
"<PATH TO PROJECT DIRECTORY>"
]
}
}
}
Testing the MCP Server
Once configured, you can ask Copilot Chat for a random number, for example, Give me 3 random name
. It should prompt you to use the get_first_name
tool on the MFramework.Services.FakeData.McpServer
MCP server and show you the results.
Using the MCP Server from NuGet.org
Once the MCP server package is published to NuGet.org, you can configure it in your preferred IDE. Both VS Code and Visual Studio use the dnx
command to download and install the MCP server package from NuGet.org.
- VS Code: Create a
<WORKSPACE DIRECTORY>/.vscode/mcp.json
file - Visual Studio: Create a
<SOLUTION DIRECTORY>\.mcp.json
file
For both VS Code and Visual Studio, the configuration file uses the following server definition:
{
"servers": {
"MFramework.Services.FakeData.McpServer": {
"type": "stdio",
"command": "dnx",
"args": [
"<your package ID here>",
"--version",
"<your package version here>",
"--yes"
]
}
}
}
Learn more about Target Frameworks and .NET Standard.
This package has no dependencies.