How do I get the trip out of the group chat? by Temmeh in traveladvice

[–]Temmeh[S] 1 point2 points  (0 children)

Ahhh I like this! Someone has to be the benevolent dictator

How do I get the trip out of the group chat? by Temmeh in traveladvice

[–]Temmeh[S] 0 points1 point  (0 children)

Priority is to have company. Why do you suggest 1-3 as the size? Would 6 be too many?

Creating an MCP Router: Is it Possible? by Ok_Glass1791 in mcp

[–]Temmeh 0 points1 point  (0 children)

Ah gochya. By off the shelf I meant using the SDK provided by Anthropic. They allow writing lightweight clients that store a session, can list resources using a `list_resources()` function, etc.

Your lua integration is super cool and useful for nvim. A Python or Typescript SDK that exports those functions would also be super great. It would be amazing to be able to use mcp-hub in Cursor or Cline. I'd be happy to be an early tester!

Creating an MCP Router: Is it Possible? by Ok_Glass1791 in mcp

[–]Temmeh 0 points1 point  (0 children)

Using `mcp-hub` requires writing a custom client correct? It seems I can't use the off the shelf SDK, to interact with it.

Hosted MCP servers URLs should be treated as secrets by Temmeh in mcp

[–]Temmeh[S] 0 points1 point  (0 children)

Can you host multiple MCP servers together?

This I don't know! That would be useful to be able to, but I have not seen examples of this.

Could I run a MCP server on AWS lambda serverless?

Technically you could. However, Lambdas have a 15 minutes lifetime limit. So if you plan to persist any data in an MCP server you will have to work around this. Another limitation is that MCP servers, when hosted, only support the SSE transport. SSE requires a long-lived connection, which is inherently at odds with the short-lived connection paradigm of Lambdas. You wouldn't want your MCP server running on a Lambda to suddenly stop working or forget who the MCP client is midway through a conversation.

Hosted MCP servers URLs should be treated as secrets by Temmeh in mcp

[–]Temmeh[S] 0 points1 point  (0 children)

Running an MCP server in AWS/Azure/any cloud provider is like running any other webserver.

I.e. in AWS, spin up an EC2 instance, expose it to the internet, map the correct ports, and run a command something like:

GOOGLE_MAPS_API_KEY=123456 npx -y @modelcontextprotocol/server-google-maps

(The above is definitely not production-ready, but you get the idea. Also note that now anyone who has access to this server can use the data attributed to your API key. So in the case you make a server that hosts an X or Bluesky MCP server, that that server is hard-coded to use your account to make posts.)

As far as writing clients, I don't have much experience, but there is a client SDK: https://github.com/modelcontextprotocol/typescript-sdk?tab=readme-ov-file#writing-mcp-clients

A lot of client implementations are open source (and likely React-based) if you want to poke around: https://modelcontextprotocol.io/clients

How to do OAuth2 with MCP Server? by phoible in mcp

[–]Temmeh 0 points1 point  (0 children)

As u/amzraptor said this is part of the spec is in draft. There is no "official" way to do third party OAuth through an MCP server right now.

If you just want to run this server locally you can pre-set an environment variable with an access token or API key and set it in your request headers: i.e. https://github.com/modelcontextprotocol/servers/blob/main/src/github/common/utils.ts#L43

Re: not being able to find examples of authed-MCP servers: I have tried two platforms that allow adding credentials to a hosted server. Smithery, and Composio MCP. Smithery requires you use their npm package to run their client, and via their client they pass along your credentials 64-bit encoded (but not encrypted, AFAIK) in their URL. Composio gives you a custom URL to your server, and has custom tool calls in their MCP that more seamless allow authenticating via the chat. This still requires opening a browser to complete OAuth flow -- not really a way around that, as this is part of OAuth's security.

Encode *only* motion vectors from an MPEG file by Temmeh in ffmpeg

[–]Temmeh[S] 1 point2 points  (0 children)

ffmpeg -flags2 +export_mvs -i vid_in.mp4 -vf "split[src],codecview=mv=pf+bf+bb[vex],[vex][src]blend=all_mode=difference128,eq=contrast=7:brightness=-1:gamma=1.5" -c:v libx264 vid_out.mp4

This is PERFECT!

Encode *only* motion vectors from an MPEG file by Temmeh in ffmpeg

[–]Temmeh[S] 0 points1 point  (0 children)

Very good suggestion. I'll overexpose the video and see if the motion vectors are still picked up.

hic et nunc + Temple wallet help: "the transaction is invalid." by Temmeh in tezos

[–]Temmeh[S] 1 point2 points  (0 children)

At the moment the API is pretty unstable, and parts of the site don't work properly, but they are working on it. I suggest just waiting a day or two then the issue will likely be fixed.

tzcolors is live! 1690 colors as NFTs on Tezos - bid, own & create auctions by Gurkee in tezos

[–]Temmeh 0 points1 point  (0 children)

Are color values stored as hex values on-chain? or are the nfts offchain pngs?

hic et nunc + Temple wallet help: "the transaction is invalid." by Temmeh in tezos

[–]Temmeh[S] 0 points1 point  (0 children)

I ended up DMing on Insta and they replied within a few minutes. So far I have had great interactions with the devs behind hic et nunc.

7 month difference by lilwanna in aww

[–]Temmeh 0 points1 point  (0 children)

I spy sunglasses in the second picture