What does the server do?
It cycles through a collection of programming-related jokes each time the `tell_joke` tool is called, returning one joke per invocation.
@flowsoft-org
基本情報
Play around with mcp-servers and their mcp-client authentication options
以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。
{
"mcpServers": {
"mcp-authentication-samples": {
"command": "python",
"args": [
"server.py"
]
}
}
}ツール一覧はまだありません
この掲載には表示できるツール一覧がまだありません。サーバーにツールがないという意味ではありません。対応機能はプロジェクトのドキュメントをご確認ください。
ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。
This is a sample implementation of a Model Context Protocol (MCP) server that serves programming jokes with token-based authentication using FastAPI. It is intended as a demonstration for integration with GitHub Copilot in VS Code.
Open the project folder in VS Code, click “Reopen in Container” to use the devcontainer, then run python server.py. The server starts on http://localhost:8000. Access the SSE endpoint at /sse with a Bearer token: use valid_token for this demo.
tell_jokeIt cycles through a collection of programming-related jokes each time the `tell_joke` tool is called, returning one joke per invocation.
The server runs inside a VS Code devcontainer that automatically installs dependencies from `requirements.txt`. Python and FastAPI are the primary requirements.
The server uses a simple Bearer token for the SSE endpoint. A valid token (`valid_token`) must be included in the HTTP header. Requests without a valid token receive a 401 Unauthorized response.
This is a demonstration implementation; it is not production-ready. For production, you should use proper token validation, secure secrets, HTTPS, and rate limiting.
Jokes are stored in‑memory as a collection, and the server cycles through them on each call. No external database is used.
MCP Toolbox for Databases is an open source MCP server for databases.

A free remote MCP server for The Living Bread. Bible passages read word for word from a stored public domain text with an evidence label, keyword search and cross references, real churches, gatherings and prayer groups w
This open-source curriculum introduces the fundamentals of Model Context Protocol (MCP) through real-world, cross-language examples in .NET, Java, TypeScript, JavaScript, Rust and Python. Designed for developers, it focuses on practical techniques for building modular, scalable,
🚀 The fast, Pythonic way to build MCP servers and clients.

Health by Dr Brad works out a health plan from your own results: which screening is due at your age, and evidence-based suggestions, each with the reason and the published guideline or study behind it. Your record is one
コメント