
A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

A production-ready, SaaS-oriented Model Context Protocol server for PHP with OAuth 2.1 authentication, SSE and Streamable HTTP transports, and tool, prompt and resource management.
WaaSuP - a Model Context Protocol server implementation for PHP is cataloged as an MCP server attributed to seolinkmap. A production-ready, SaaS-oriented Model Context Protocol server for PHP with OAuth 2.1 authentication, SSE and Streamable HTTP transports, and tool, prompt and resource management. It is categorized under developer tools. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
Catalog license label: MIT License. Check the source repository's current license and terms before using, modifying or distributing this software.
能力定义尚未审核。未核验的采集内容不会作为可信接口展示。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Reviews for WaaSuP - a Model Context Protocol server implementation for PHP are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
It supports database storage for production and in-memory storage for development and testing.
It supports 2025-11-25, 2025-06-18, 2025-03-26 and 2024-11-05, with feature gating by version.
README.md · bfe280b31fa9 · 采集于 2026-11-13 14:11:42 UTC
保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。
当前显示最后一次成功采集的文档快照,请以来源页面为准。
WaaSuP (Website as a Server using PHP) - A production-ready, SaaS-oriented Model Context Protocol (MCP) server implementation for PHP. Built with enterprise-grade features including OAuth 2.1 authentication, real-time Server-Sent Events (SSE), and comprehensive tool management.
Want to see WaaSuP in action? Connect to our live demo MCP server with your favorite LLM or agentic tool!
Get instant help with:
The MCP server has access to our entire repository, documentation, and examples. Ask it anything!
https://seolinkmap.com/mcp-repo
This public MCP endpoint showcases the server's capabilities with a complete Website-as-a-Server implementation (authless).
New to MCP servers? Learn how to connect: How to Connect to MCP Servers
Once connected, you can explore our entire repository through chat and get real-time help with WaaSuP installation and configuration.
Built by SEOLinkMap - This is our production "web server for chat and agentics" powering AI access to our entire SEO intelligence platform.
tools/list, prompts/list, resources/list and resources/templates/listLast-Event-ID replay after a dropped connectionresources/subscribe and logging/setLevel with server-side delivery gatingtasks/get, tasks/result, tasks/cancel and tasks/list (MCP 2025-11-25, experimental)WaaSuP implements the complete MCP specification across multiple protocol versions with automatic feature gating:
| Feature | 2024-11-05 | 2025-03-26 | 2025-06-18 | 2025-11-25 |
|---|---|---|---|---|
| Tools | ✅ | ✅ | ✅ | ✅ |
| Prompts | ✅ | ✅ | ✅ | ✅ |
| Resources | ✅ | ✅ | ✅ | ✅ |
| Resource Subscriptions | ✅ | ✅ | ✅ | ✅ |
| Logging | ✅ | ✅ | ✅ | ✅ |
| Sampling | ✅ | ✅ | ✅ | ✅ |
| Roots | ✅ | ✅ | ✅ | ✅ |
| Ping | ✅ | ✅ | ✅ | ✅ |
| Progress Notifications | ✅ | ✅ | ✅ | ✅ |
| Tool Annotations | ❌ | ✅ | ✅ | ✅ |
| Audio Content | ❌ | ✅ | ✅ | ✅ |
| Completions | ❌ | ✅ | ✅ | ✅ |
| JSON-RPC Batching | ❌ | ✅ | ❌ | ❌ |
| OAuth 2.1 | ❌ | ❌ | ✅ | ✅ |
| Elicitation | ❌ | ❌ | ✅ | ✅ |
| Structured Outputs | ❌ | ❌ | ✅ | ✅ |
| Resource Links | ❌ | ❌ | ✅ | ✅ |
| Resource Indicators (RFC 8707) | ❌ | ❌ | ✅ | ✅ |
| Icons | ❌ | ❌ | ❌ | ✅ |
| URL Mode Elicitation | ❌ | ❌ | ❌ | ✅ |
| Tool Calling in Sampling | ❌ | ❌ | ❌ | ✅ |
| Tasks (experimental) | ❌ | ❌ | ❌ | ✅ |
2026-07-28 is served alongside these. It replaces the initialize handshake and sessions with per-request metadata, so it is selected per request rather than negotiated, and is not shown in the matrix above.
composer require seolinkmap/waasup
# For PSR-3 logging support
composer require monolog/monolog
# For Slim Framework integration
composer require slim/slim slim/psr7
1. Open `examples/database/database-schema.sql`
2. Use either MySQL section OR PostgreSQL section (not both)
3. Customize table names/prefixes as needed
4. Create only the tables you need (if using your own table mapping)
INSERT INTO mcp_agencies (uuid, name, active)
VALUES ('550e8400-e29b-41d4-a716-446655440000', 'My Company', 1);
INSERT INTO mcp_oauth_tokens (
access_token, scope, expires_at, agency_id
) VALUES (
'your-secret-token-here',
'mcp:read mcp:write',
DATE_ADD(NOW(), INTERVAL 1 YEAR),
1
);
<?php
require_once __DIR__ . '/vendor/autoload.php';
use Slim\Factory\AppFactory;
use Slim\Psr7\Factory\{ResponseFactory, StreamFactory};
use Seolinkmap\Waasup\Storage\DatabaseStorage;
use Seolinkmap\Waasup\Tools\Registry\ToolRegistry;
use Seolinkmap\Waasup\Prompts\Registry\PromptRegistry;
use Seolinkmap\Waasup\Resources\Registry\ResourceRegistry;
use Seolinkmap\Waasup\Integration\Slim\SlimMCPProvider;
// Database connection
$pdo = new PDO('mysql:host=localhost;dbname=mcp_server', $user, $pass, [
PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION,
PDO::ATTR_DEFAULT_FETCH_MODE => PDO::FETCH_ASSOC,
]);
// Initialize components
$storage = new DatabaseStorage($pdo, ['table_prefix' => 'mcp_']);
$toolRegistry = new ToolRegistry();
$promptRegistry = new PromptRegistry();
$resourceRegistry = new ResourceRegistry();
$responseFactory = new ResponseFactory();
$streamFactory = new StreamFactory();
// Configuration
$config = [
'server_info' => [
'name' => 'My MCP Server',
'version' => '0.0.7'
],
'auth' => [
'context_types' => ['agency'],
'base_url' => 'https://your-domain.com'
]
];
// Create MCP provider
$mcpProvider = new SlimMCPProvider(
$storage, $toolRegistry, $promptRegistry, $resourceRegistry,
$responseFactory, $streamFactory, $config
);
// Setup Slim app
$app = AppFactory::create();
$app->addErrorMiddleware(true, true, true);
// OAuth discovery endpoints
$app->get('/.well-known/oauth-authorization-server',
[$mcpProvider, 'handleAuthDiscovery']);
// Main MCP endpoint
$app->map(['GET', 'POST', 'OPTIONS'], '/mcp/{agencyUuid}[/{sessID}]',
[$mcpProvider, 'handleMCP'])
->add($mcpProvider->getAuthMiddleware());
$app->run();
$toolRegistry->register('get_weather', function($params, $context) {
$location = $params['location'] ?? 'Unknown';
return [
'location' => $location,
'temperature' => '22°C',
'condition' => 'Sunny'
];
}, [
'description' => 'Get weather information for a location',
'inputSchema' => [
'type' => 'object',
'properties' => [
'location' => ['type' => 'string', 'description' => 'Location name']
],
'required' => ['location']
]
]);
use Seolinkmap\Waasup\Tools\Built\{PingTool, ServerInfoTool};
$toolRegistry->registerTool(new PingTool());
$toolRegistry->registerTool(new ServerInfoTool($config));
// Register a prompt
$promptRegistry->register('greeting', function($arguments, $context) {
$name = $arguments['name'] ?? 'there';
return [
'description' => 'A friendly greeting prompt',
'messages' => [[
'role' => 'user',
'content' => [['type' => 'text', 'text' => "Please greet {$name}."]]
]]
];
});
// Register a resource
$resourceRegistry->register('server://status', function($uri, $context) {
return [
'contents' => [[
'uri' => $uri,
'mimeType' => 'application/json',
'text' => json_encode(['status' => 'healthy', 'timestamp' => date('c')])
]]
];
});
Add the service provider to your Laravel application:
// config/app.php
'providers' => [
Seolinkmap\Waasup\Integration\Laravel\LaravelServiceProvider::class,
],
Register routes and use the provided controller pattern. See the full Laravel integration example in the /examples directory.
use Seolinkmap\Waasup\MCPSaaSServer;
$server = new MCPSaaSServer($storage, $toolRegistry, $promptRegistry, $resourceRegistry, $config, $logger);
$response = $server->handle($request, $response);
$config = [
'supported_versions' => ['2025-11-25', '2025-06-18', '2025-03-26', '2024-11-05'],
'server_info' => [
'name' => 'Your MCP Server',
'version' => '0.0.7'
],
'auth' => [
'context_types' => ['agency', 'user'],
'validate_scope' => true,
'required_scopes' => ['mcp:read'],
'base_url' => 'https://your-domain.com'
],
'sse' => [
'keepalive_interval' => 1,
'max_connection_time' => 1800,
'switch_interval_after' => 60
]
];
Database Storage (Production)
$storage = new DatabaseStorage($pdo, [
'table_prefix' => 'mcp_',
'cleanup_interval' => 3600
]);
Memory Storage (Development/Testing)
$storage = new MemoryStorage();
// Add test data
$storage->addContext('550e8400-e29b-41d4-a716-446655440000', 'agency', [
'id' => 1, 'name' => 'Test Agency', 'active' => true
]);
WaaSuP implements complete OAuth 2.1 with RFC 8707 Resource Indicators for MCP 2025-06-18:
Social authentication can be configured for each provider:
$config['google'] = [
'client_id' => 'your-google-client-id',
'client_secret' => 'your-google-client-secret',
'redirect_uri' => 'https://your-domain.com/oauth/google/callback'
];
use Seolinkmap\Waasup\Content\AudioContentHandler;
// In your tool
return [
'content' => [
['type' => 'text', 'text' => 'Here is the audio file:'],
AudioContentHandler::createFromFile('/path/to/audio.mp3', 'example.mp3')
]
];
// Request structured input from user
$requestId = $server->requestElicitation(
$sessionId,
'Please provide your contact information',
[
'type' => 'object',
'properties' => [
'name' => ['type' => 'string'],
'email' => ['type' => 'string', 'format' => 'email']
]
]
);
// Send progress updates during long-running operations
$server->sendProgressNotification($sessionId, 50, 'Processing data...');
| Method | Description | Supported Versions |
|---|---|---|
initialize | Initialize MCP session | All |
ping | Health check | All |
tools/list | List available tools | All |
tools/call | Execute a tool | All |
prompts/list | List available prompts | All |
prompts/get | Get a prompt | All |
resources/list | List available resources | All |
resources/read | Read a resource | All |
completion/complete | Get completions for arguments | All |
sampling/createMessage | Request LLM sampling | All |
roots/list | List available root directories | All |
elicitation/create | Request user input | 2025-06-18 |
| Code | Description |
|---|---|
-32000 | Authentication required |
-32001 | Session required |
-32600 | Invalid Request |
-32601 | Method not found |
-32602 | Invalid params |
-32603 | Internal error |
-32700 | Parse error |
# Run tests
composer test
# Static analysis
composer analyse
# Code formatting
composer format
FROM php:8.1-fpm-alpine
RUN docker-php-ext-install pdo pdo_mysql
COPY . /var/www/html
WORKDIR /var/www/html
RUN composer install --no-dev --optimize-autoloader
EXPOSE 9000
CMD ["php-fpm"]
server {
listen 80;
server_name your-mcp-server.com;
root /var/www/html/public;
index index.php;
location / {
try_files $uri $uri/ /index.php?$query_string;
}
location ~ \.php$ {
fastcgi_pass php:9000;
fastcgi_index index.php;
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
}
# SSE connection timeout
location /mcp/ {
proxy_read_timeout 1800s;
proxy_send_timeout 1800s;
}
}
We welcome contributions! This server is actively used in production at SEOLinkMap where it powers our SEO intelligence platform.
git checkout -b feature/amazing-feature)composer test)git commit -m 'Add amazing feature')git push origin feature/amazing-feature)git clone https://github.com/seolinkmap/waasup.git
cd waasup
composer install
cp .env.example .env
# Configure your .env file
php -S localhost:8000 -t examples/slim-framework/
This project is licensed under the MIT License - see the LICENSE file for details.
Built with ❤️ by SEOLinkMap for the MCP community.
Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for WaaSuP - a Model Context Protocol server implementation for PHP from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/waasup)Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。
尚无已审核的包 / 镜像标识,暂不展示下载统计。
Alternative and complementary servers in the same category

A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

A hosted MCP service for browsing and searching through Singapore mobile-network proxies.

A directory listing describing a Markdown-to-PDF service. The configured public GitHub repository returned 404 during source verification.