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.
不止于 CSS
PickFu MCP is a Model Context Protocol (MCP) server that connects AI assistants, developers, marketers, product managers, and AI agents to PickFu's consumer research platform. It enables users to create surveys, conduct
Open-source MCP to use Blender with any LLM
Hindsight: Agent Memory That Learns
Painless E2E Automation for Mobile and Web
评论