Skip to main content
Glama
2389-research

MCP Agent Social Media Server

14-14-48-592861.embedding11.5 kB
{ "embedding": [ -0.07314368337392807, -0.006236043758690357, -0.09296363592147827, 0.024483900517225266, 0.04352414235472679, -0.056880369782447815, 0.0005464355344884098, 0.009596333838999271, 0.022191252559423447, 0.08191844075918198, 0.018733128905296326, -0.037667032331228256, 0.04890996590256691, 0.03317822515964508, 0.07212674617767334, -0.0007254789816215634, 0.05325265973806381, -0.051287658512592316, 0.04138348251581192, -0.047243278473615646, -0.06141867861151695, -0.003922803793102503, -0.03502956032752991, 0.04206552729010582, -0.0355752669274807, -0.03977014869451523, -0.032335877418518066, -0.029236778616905212, -0.031968213617801666, 0.04634078964591026, 0.003688208758831024, -0.00396618340164423, -0.051555465906858444, -0.001776896882802248, 0.0446368008852005, 0.049235302954912186, 0.028770241886377335, -0.04594370722770691, -0.04057310149073601, -0.06382914632558823, -0.006812081206589937, -0.056131765246391296, -0.034202057868242264, 0.02123255468904972, -0.05571819841861725, -0.02924213372170925, -0.051674939692020416, -0.03861227631568909, -0.10001595318317413, -0.005852116271853447, -0.10665011405944824, 0.007909739390015602, -0.0360649935901165, 0.07969057559967041, 0.0224306620657444, 0.039677780121564865, -0.09773363173007965, 0.06777279824018478, -0.008487258106470108, 0.034245170652866364, 0.005076659377664328, -0.0631781741976738, -0.007763249799609184, 0.007640167139470577, 0.038088273257017136, 0.03159839287400246, -0.01093448605388403, -0.0031279181130230427, 0.11010976135730743, -0.011905288323760033, -0.08185649663209915, 0.02451568841934204, -0.08637215197086334, -0.013173570856451988, -0.04852800816297531, -0.019999690353870392, 0.0063224537298083305, -0.040538422763347626, -0.011970598250627518, -0.12116566300392151, 0.036893732845783234, 0.04905320703983307, -0.004693681374192238, 0.02622811682522297, -0.025864707306027412, -0.029795397073030472, 0.010542409494519234, -0.0019085489911958575, -0.03605755418539047, 0.09554567188024521, 0.05862504616379738, 0.07393745332956314, -0.061892539262771606, -0.03609996661543846, 0.05602942407131195, 0.04575594887137413, -0.05870922654867172, 0.03250448778271675, -0.04132440313696861, 0.06431504338979721, -0.01969771459698677, 0.020838547497987747, 0.015457789413630962, 0.02821367420256138, 0.05751843377947807, -0.037499718368053436, 0.019858112558722496, 0.007129470352083445, 0.0006042102468200028, 0.07801362127065659, -0.03919963538646698, 0.10600543022155762, -0.07732819765806198, -0.017585812136530876, 0.07405828684568405, 0.06840651482343674, 0.01336775440722704, 0.0013513952726498246, 0.0705622062087059, 0.08879291266202927, 0.034623242914676666, -0.025049615651369095, -0.007716007996350527, 0.008809844963252544, 0.009974599815905094, 0.01372414082288742, 0.039343830198049545, 7.536080324126269e-33, 0.029643576592206955, 0.044085778295993805, -0.007743111811578274, 0.025623084977269173, 0.008236497640609741, 0.06061713397502899, 0.017054611817002296, -0.0731075182557106, -0.06945447623729706, -0.040116216987371445, -0.05840634927153587, 0.024487623944878578, -0.008013002574443817, -0.003254055278375745, 0.08420013636350632, -0.09989460557699203, -0.0502132847905159, 0.10677219182252884, 0.1458621323108673, 0.048779141157865524, 0.028038954362273216, -0.01438653189688921, -0.012911011464893818, 0.053182292729616165, 0.07962660491466522, 0.04959443584084511, -0.011064806021749973, 0.0031602235976606607, 0.017379865050315857, 0.02555312030017376, 0.028431251645088196, 0.0718417763710022, -0.06579570472240448, 0.0028551749419420958, 0.0787636935710907, -0.0620575025677681, -0.04329943284392357, -0.09357526898384094, -0.051342930644750595, -0.0765179693698883, -0.06347787380218506, 0.03405580297112465, -0.12600304186344147, 0.011707841418683529, -0.1291946917772293, -0.05910152941942215, -0.11227267235517502, -0.01916416361927986, 0.028521493077278137, -0.01684175431728363, -0.02178753912448883, 0.04285223409533501, -0.03191042318940163, -0.00868991483002901, 0.020705129951238632, -0.04559752345085144, 0.03987560421228409, 0.009452051483094692, 0.018111497163772583, 0.02929018810391426, 0.04721515253186226, -0.021208694204688072, 0.005597104784101248, -0.10157356411218643, 0.11528317630290985, 0.04158198833465576, -0.08531112223863602, 0.01981906220316887, 0.08796659857034683, -0.0638275146484375, -0.0076342299580574036, 0.025636548176407814, 0.02847050130367279, -0.002402179641649127, 0.014068721793591976, -0.05502581596374512, 0.007943595759570599, 0.06459422409534454, -0.05118825286626816, 0.010055896826088428, -0.027421068400144577, -0.03778605908155441, -0.06563501060009003, 0.02369830012321472, -0.029007671400904655, -0.00780842499807477, -0.01290824543684721, 0.0011671609245240688, -0.040788814425468445, 0.0320083387196064, -0.0033277347683906555, 0.012170898728072643, 0.05665377900004387, 0.029009563848376274, -0.1538459211587906, -8.006400021994082e-33, -0.051163721829652786, -0.040876470506191254, -0.02898308075964451, 0.031740862876176834, 0.0033080563880503178, -0.05744526535272598, -0.0023304729256778955, 0.0006671124137938023, -0.014092382974922657, -0.01330556906759739, 0.03301767259836197, -0.07330499589443207, 0.007415092550218105, -0.048208869993686676, 0.03164813295006752, -0.0014483737759292126, -0.020097505301237106, -0.08965274691581726, 0.0008163456222973764, 0.02326618693768978, -0.029118822887539864, 0.1058865338563919, -0.012738320976495743, 0.06275162845849991, 0.015156788751482964, 0.031470127403736115, 0.018414273858070374, 0.022350221872329712, -0.02550087869167328, -0.07947823405265808, 0.07975079864263535, 0.021905751898884773, -0.07638818770647049, -0.010320281609892845, -0.008870691061019897, -0.06872580945491791, 0.024840541183948517, 0.0743880346417427, 0.0017821245128288865, 0.010506512597203255, 0.17536599934101105, 0.006871161982417107, -0.10368169844150543, 0.011155150830745697, -0.04491383582353592, -0.0064576477743685246, -0.05927172303199768, 0.057396575808525085, -0.09260963648557663, 0.028401518240571022, -0.011025715619325638, -0.07918570190668106, -0.0028558741323649883, -0.07313928753137589, -0.021335281431674957, -0.02092885412275791, 0.06713369488716125, -0.007797774858772755, -0.006748342886567116, -0.034188687801361084, 0.08666456490755081, -0.01404468435794115, -0.03087889961898327, 0.09547893702983856, 0.04412573203444481, -0.019622724503278732, 0.00036555578117258847, 0.028743509203195572, -0.03354674205183983, 0.06952649354934692, -0.027045220136642456, -0.00782846100628376, 0.048550788313150406, 0.017508747056126595, 0.10227567702531815, -0.0004569540324155241, -0.02288747765123844, -0.06140643730759621, 0.019753411412239075, 0.03391700237989426, -0.14054173231124878, 0.101386159658432, 0.018902750685811043, 0.01994360238313675, 0.010844743810594082, -0.05598321929574013, 0.002466393867507577, 0.10400361567735672, 0.02164255641400814, -0.03332449495792389, -0.03803340718150139, -0.009016172960400581, -0.08660811930894852, 0.060844480991363525, 0.07173541188240051, -6.051314471733349e-8, -0.04309689998626709, -0.0697217658162117, -0.023132750764489174, 0.08100727945566177, 0.0072897435165941715, 0.04441109299659729, 0.015320281498134136, -0.06081931293010712, 0.07068837434053421, 0.022921573370695114, 0.015544920228421688, -0.003944032825529575, -0.06590142101049423, -0.06460177153348923, -0.021359408274292946, -0.04564347863197327, -0.01081779133528471, -0.024148214608430862, -0.014779032208025455, -0.10283245891332626, -0.040774066001176834, -0.04138898104429245, -0.023138070479035378, -0.012902036309242249, 0.04999075457453728, 0.038370970636606216, 0.015298062935471535, 0.05876147001981735, -0.06385524570941925, -0.05459856241941452, 0.014050488360226154, -0.04096405580639839, -0.0041790311224758625, -0.02466764487326145, 0.023535579442977905, 0.08191680163145065, -0.07768689841032028, -0.03877517580986023, -0.0030845538713037968, 0.016082141548395157, -0.015332224778831005, 0.004359401762485504, 0.03267752751708031, -0.004892041906714439, 0.0400409996509552, 0.058382950723171234, -0.055105943232774734, 0.0892142802476883, -0.004267160315066576, 0.016318028792738914, -0.08204563707113266, -0.0052400752902030945, -0.05158495903015137, 0.08361715078353882, 0.062016550451517105, -0.0011849942384287715, 0.06590136885643005, -0.0003461230080574751, 0.1039837971329689, -0.030831290408968925, 0.04025905206799507, 0.03158066049218178, -0.046028874814510345, -0.026444099843502045 ], "text": "MCP Social Media Server Analysis:\n\n**Architecture Overview:**\n- Main entry: src/index.ts - registers 3 tools (login, read_posts, create_post)\n- Uses StdioServerTransport for MCP communication\n- Session management via global session ID per connection\n- API client adapts between MCP schema and external API schema\n\n**Key Components:**\n1. **Tools** (src/tools/):\n - login.ts: Authentication, creates/updates sessions\n - read-posts.ts: Fetches posts with filtering/pagination\n - create-post.ts: Creates posts, requires authentication\n\n2. **Core Services**:\n - SessionManager: In-memory session storage with async locking\n - ApiClient: HTTP client with retry, timeout, error handling\n - Logger: Structured logging with context\n - Metrics: Performance monitoring, operation tracking\n\n3. **Security/Validation**:\n - Zod schemas for tool inputs\n - Custom validation layer with detailed error messages\n - API key authentication for external API\n - Session validation for post creation\n\n**Configuration** (via env vars):\n- SOCIALMEDIA_API_BASE_URL\n- SOCIALMEDIA_API_KEY \n- SOCIALMEDIA_TEAM_ID\n- LOG_LEVEL, API_TIMEOUT\n\n**Not Implemented**:\n- MCP resources\n- MCP prompts\n- MCP sampling\n- Rate limiting (relies on external API)\n- Session persistence\n- Multi-team support", "sections": [ "Project Notes" ], "timestamp": 1749323688592, "path": "/Users/harper/Public/src/2389/mcp-socialmedia/.private-journal/2025-06-07/14-14-48-592861.md" }

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/2389-research/mcp-socialmedia'

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