Skip to content

🎁 AI + MCP project skeleton based on Nette Framework (@nette) and Contributte (@contributte) libraries by @f3l1x.

License

Notifications You must be signed in to change notification settings

contributte/mcp-skeleton

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

2 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Website πŸš€ contributte.org | Contact πŸ‘¨πŸ»β€πŸ’» f3l1x.io | Twitter 🐦 @contributte


MCP Skeleton

Example project demonstrating integration of Model Context Protocol (MCP) for Nette Framework using contributte/mcp.

The MCP integration is based on the upstream documentation: contributte/mcp docs.

Requirements

  • PHP 8.4+
  • Composer
  • Node.js (only for MCP inspector via npx)

Installation

composer install

Usage

This skeleton registers a single MCP server named default and uses attribute auto-discovery from app/Domain/Mcp.

Capabilities:

  • Tools:
    • calculator_add
    • calculator_multiply
  • Resources:
    • app://config
    • file://readme
  • Resource templates:
    • app://users/{id}
  • Prompts:
    • code_review
    • explain_code

Streamable HTTP server

  1. Start inspector: make inspector
  2. Open the inspector in your browser and connect to http://localhost:8080/mcp.

Manual

  1. Start inspector: make inspector (or make mcp-stdio to auto-run the STDIO server)
  2. Open the inspector in your browser and do work.

Screenshots

STDIO

STDIO - terminal output

MCP Inspector - STDIO resources

Streamable HTTP

Streamable HTTP - terminal output

MCP Inspector - Streamable HTTP tools

Development

See how to contribute to this package.

This package is currently maintaining by these authors.


Consider to support contributte development team. Also thank you for using this project.

About

🎁 AI + MCP project skeleton based on Nette Framework (@nette) and Contributte (@contributte) libraries by @f3l1x.

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

  •  

Packages

No packages published