About SampleMcpServer
SampleMcpServer is an MCP server published by virex-84 in the RAG category: sample Mcp Server.
The repository has 11 stars and 2 forks, with the last commit 11 months ago. Six months or more without a commit doesn't mean the server is broken, but check the open issues before depending on it in production.
Install
git clone https://github.com/virex-84/SampleMcpServerThis server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.
Tools (6)
calcPerform calculation: add, subtract, multiply, divide, power, square root
Parameters not published.
file_operationsRead, write, and list files
Parameters not published.
github_searchSearch GitHub repositories and code
Parameters not published.
internet_searchSearch the web with DuckDuckGo, Firecraw and Baidu
Parameters not published.
ragRetrieve information from local files with FAISS: pdf, docx, xlsx, pptx, other text
Parameters not published.
random_numberGenerate random numbers
Parameters not published.
Ask AI
Ask AI about SampleMcpServer
Powered by Claude · Grounded in docs
Security checks
- ✓README presentThe repository ships documentation.
5 checks have not been run yet.
README
Sample MCP Server
This is a sample server that demonstrates how to implement an MCP (Model Context Protocol) server using .NET.
Tools
random_number: Generate random numberscalc: Perform calculation: add, subtract, multiply, divide, power, square rootfile_operations: Read, write, and list filesinternet_search: Search the web with DuckDuckGo, Firecraw and Baidugithub_search: Search GitHub repositories and coderag: Retrieve information from local files with FAISS: pdf, docx, xlsx, pptx, other text
FaissVectorStore (as InMemoryVectorStore) on GitHub Gist
Getting Started
-
Build the project:
dotnet build -
Run the server:
dotnet run -
Connect your MCP client to this server using the stdio transport.
Usage
Example configuration in LM Studio (mcp.json):
{
"mcpServers": {
"my-mcp-example": {
"command": "C:\\path_to_exe_file\\SampleMcpServer.exe",
"env": {
"WEB_SEARCH_ENGINES": "DuckDuckGo,Firecraw, Baidu",
"WEB_SEARCH_FirecrawApiKey": "fc-xxxxxxxxxxxxxxxxxxxxxxxxxx",
"WEB_SEARCH_duckduckgoRegion": "en-en",
"GUTHUB_TOKEN": "github_pat_yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy",
"EMBEDD_ENDPOINT": "http://localhost:1234/v1/",
"EMBEDD_MODEL": "text-embedding-nomic-embed-text-v2-moe",
"EMBEDD_KEY": ""
}
}
}
}
License
This project is licensed under the MIT License.
README copy captured when this server was indexed; it may lag the repository. The original is authoritative.