MCP.so
登录

Unsplash MCP Server

@Mineru98

基本信息

分类

其他

许可证

MIT license

传输方式

stdio

作者

Mineru98

关于 Unsplash MCP Server

暂无概览

#unsplash#mcp#unsplash-api

Unsplash MCP Server 配置

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

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

Unsplash MCP Server 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

点击上方按钮,在临时沙箱中运行此服务器并实时获取工具列表。

概览

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

常见问题

1

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.

2

What are the runtime dependencies?

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

3

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.

4

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.

5

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 服务器