MCP.so
登录

unsplash-mcp-server

@Mineru98

关于 unsplash-mcp-server

暂无概览

基本信息

分类

其他

许可证

MIT license

运行时

node

传输方式

stdio

发布者

Mineru98

配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "unsplash-mcp-server-mineru98": {
      "command": "npx",
      "args": [
        "tsc"
      ]
    }
  }
}

工具

未检测到工具

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is unsplash-mcp-server?

The server is a reference implementation and educational guide for building Model Context Protocol (MCP) servers using the TypeScript SDK. It demonstrates core concepts such as tools, resources, and prompts, and provides working code examples for both stdio and SSE transports. It is intended for developers who want to learn how to create their own MCP servers to extend LLM applications.

How to use unsplash-mcp-server?

Clone the repository, install dependencies (npm install @modelcontextprotocol/sdk typescript zod), compile the TypeScript code (npx tsc), and run the server (node build/index.js). The server exposes an example echo tool that returns the input message. Clients can connect via stdio or SSE using the provided client code snippets.

Key features of unsplash-mcp-server

  • Complete MCP server lifecycle: initialization, message exchange, and teardown
  • Example tool (echo) with Zod schema validation
  • Support for stdio and SSE transports with full client examples
  • Covers capabilities: tools, resources, and prompts
  • Custom transport implementation interface

Use cases of unsplash-mcp-server

  • Learning how to implement an MCP server from scratch
  • Starting point for building a custom MCP server with tools/resources
  • Testing MCP client-server communication locally

FAQ from unsplash-mcp-server

Does this server integrate with the Unsplash API?

No. Despite the repository name, the README is a generic MCP server tutorial and does not contain any Unsplash-specific code or API calls.

What are the runtime dependencies?

Node.js version 18 or later, npm, and the packages @modelcontextprotocol/sdk, typescript, and zod.

Which transports does it support?

The guide demonstrates stdio (standard input/output) and SSE (Server-Sent Events) transports. A custom transport interface is also provided.

How are tools defined and invoked?

Tools are defined using server.tool(name, schema, handler). The schema is written with Zod. Clients invoke tools via tools/call JSON-RPC requests.

What is the server’s authentication mechanism?

The README does not implement any authentication. It notes that more complex scenarios may require custom handling.

评论

其他 分类下的更多 MCP 服务器