Skip to main content
Glama

Optimized Memory MCP Server V2

by AgentWong
no-fastapi.xml1.63 kB
<?xml version="1.0" encoding="UTF-8"?> <noFastAPIConstraint> <overview> <description>This constraint enforces strict avoidance of FastAPI and general API frameworks in MCP server implementations.</description> </overview> <rules> <rule id="no-fastapi-imports"> <description>Do not import FastAPI or related packages</description> <rationale>MCP servers use the MCP protocol directly, not HTTP/REST APIs</rationale> </rule> <rule id="no-api-patterns"> <description>Avoid API-centric patterns and terminology</description> <rationale>MCP uses resources and tools, not endpoints or routes</rationale> <examples> <incorrect>API endpoints, routes, FastAPI dependencies</incorrect> <correct>MCP resources, MCP tools, MCP context</correct> </examples> </rule> <rule id="mcp-native-patterns"> <description>Use MCP-native patterns exclusively</description> <patterns> <pattern>@mcp.resource("resource://path")</pattern> <pattern>@mcp.tool()</pattern> <pattern>Context object for MCP capabilities</pattern> </patterns> </rule> </rules> <implementation> <requirements> <requirement>Use only MCP SDK for server implementation</requirement> <requirement>Follow MCP protocol specifications</requirement> <requirement>Use resource:// and tool patterns</requirement> </requirements> </implementation> </noFastAPIConstraint>

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/AgentWong/optimized-memory-mcp-serverv2'

If you have feedback or need assistance with the MCP directory API, please join our Discord server