MCP Project Query Server
一个基于 Model Context Protocol (MCP) 的项目查询服务器,采用 TypeScript 开发,具有 Spring Boot 风格的目录结构。
项目结构
功能特性
项目管理功能
get_project_info
: 根据项目名称查询项目信息get_project_count
: 获取项目总数get_project_all
: 获取所有项目列表add_project
: 新增项目
壁纸功能
get_random_wallpaper
: 从 Bing 壁纸获取随机壁纸
开发指南
安装依赖
开发模式
构建项目
启动服务
构建输出
构建完成后,dist
目录将包含:
架构设计
本项目采用分层架构设计,参考 Spring Boot 的目录结构:
Controller 层: 负责处理 MCP 工具调用,参数验证和响应格式化
Service 层: 包含业务逻辑,处理具体的业务需求
Repository 层: 负责数据访问和持久化
Model 层: 定义数据结构和接口
Config 层: 管理应用配置
这种设计提供了良好的代码组织、可维护性和可扩展性。
技术栈
TypeScript: 提供类型安全和更好的开发体验
Rollup: 模块打包工具
MCP SDK: Model Context Protocol 开发工具包
Zod: 运行时类型验证
Enables users to manage projects and retrieve random wallpapers through a TypeScript-based MCP server. Supports project queries, creation, and Bing wallpaper retrieval with Spring Boot-style architecture.
Related MCP Servers
- AsecurityAlicenseAqualityThis TypeScript-based MCP server enables users to manage a simple notes system with capabilities to create and summarize notes through structured prompts and resources.Last updated -4MIT License
- AsecurityAlicenseAqualityA TypeScript-based MCP server utilizing the UseScraper API to provide web scraping capabilities, allowing users to extract content from webpages in various formats.Last updated -4MIT License
- AsecurityAlicenseAqualityAn MCP server that provides access to project files and their contents, allowing users to retrieve file data from specified project directories with error handling and configuration options.Last updated -16MIT License
- AsecurityAlicenseAqualityThis MCP server aids users in searching and analyzing their photo library by location, labels, and people, offering functionalities like photo analysis and fuzzy matching for enhanced photo management.Last updated -21MIT License